Created
July 3, 2016 20:40
-
-
Save mackwic/676c8ab453b60dc6567f21b12fa763d5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Compiling rspec v0.1.0 (file:///Users/thomas/Documents/projects/rust/rspec) | |
src/runner.rs:60:95: 60:102 error: use of moved value: `befores` [E0382] | |
src/runner.rs:60 &mut Testable::Test(ref mut test_function) => Runner::run_test(test_function, befores, &mut child_ctx.after_each), | |
^~~~~~~ | |
src/runner.rs:60:95: 60:102 help: run `rustc --explain E0382` to see a detailed explanation | |
src/runner.rs:60:95: 60:102 note: move occurs because `befores` has type `It`, which does not implement the `Copy` trait | |
src/runner.rs:60:109: 60:129 error: cannot borrow `child_ctx.after_each` as mutable more than once at a time [E0499] | |
src/runner.rs:60 &mut Testable::Test(ref mut test_function) => Runner::run_test(test_function, befores, &mut child_ctx.after_each), | |
^~~~~~~~~~~~~~~~~~~~ | |
src/runner.rs:60 &mut Testable::Test(ref mut test_function) => Runner::run_test(test_function, befores, &mut child_ctx.after_each), | |
^~~~~~~~~~~~~~~~~~~~ | |
src/runner.rs:78:5: 78:6 note: first borrow ends here | |
src/runner.rs:78 } | |
^ | |
src/runner.rs:60:109: 60:129 help: run `rustc --explain E0499` to see a detailed explanation | |
src/runner.rs:62:21: 62:27 error: cannot borrow `*report` as mutable more than once at a time [E0499] | |
src/runner.rs:62 report, | |
^~~~~~ | |
src/runner.rs:62 report, | |
^~~~~~ | |
src/runner.rs:78:5: 78:6 note: first borrow ends here | |
src/runner.rs:78 } | |
^ | |
src/runner.rs:62:21: 62:27 help: run `rustc --explain E0499` to see a detailed explanation | |
src/runner.rs:65:21: 65:28 error: use of moved value: `befores` [E0382] | |
src/runner.rs:65 befores.chain(child_ctx.before_each.iter_mut()) | |
^~~~~~~ | |
src/runner.rs:60:95: 60:102 note: value moved here | |
src/runner.rs:60 &mut Testable::Test(ref mut test_function) => Runner::run_test(test_function, befores, &mut child_ctx.after_each), | |
^~~~~~~ | |
src/runner.rs:65:21: 65:28 help: run `rustc --explain E0382` to see a detailed explanation | |
src/runner.rs:65:21: 65:28 note: move occurs because `befores` has type `It`, which does not implement the `Copy` trait | |
src/runner.rs:65:35: 65:56 error: cannot borrow `child_ctx.before_each` as mutable more than once at a time [E0499] | |
src/runner.rs:65 befores.chain(child_ctx.before_each.iter_mut()) | |
^~~~~~~~~~~~~~~~~~~~~ | |
src/runner.rs:65 befores.chain(child_ctx.before_each.iter_mut()) | |
^~~~~~~~~~~~~~~~~~~~~ | |
src/runner.rs:78:5: 78:6 note: first borrow ends here | |
src/runner.rs:78 } | |
^ | |
src/runner.rs:65:35: 65:56 help: run `rustc --explain E0499` to see a detailed explanation | |
src/runner.rs:65:35: 65:56 error: cannot borrow `child_ctx.before_each` as mutable more than once at a time [E0499] | |
src/runner.rs:65 befores.chain(child_ctx.before_each.iter_mut()) | |
^~~~~~~~~~~~~~~~~~~~~ | |
src/runner.rs:65 befores.chain(child_ctx.before_each.iter_mut()) | |
^~~~~~~~~~~~~~~~~~~~~ | |
src/runner.rs:78:5: 78:6 note: first borrow ends here | |
src/runner.rs:78 } | |
^ | |
src/runner.rs:65:35: 65:56 help: run `rustc --explain E0499` to see a detailed explanation | |
src/runner.rs:70:29: 70:54 error: cannot assign to `report.success_count` because it is borrowed [E0506] | |
src/runner.rs:70 Ok(()) => { report.success_count += 1; res }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
src/runner.rs:62:21: 62:27 note: borrow of `report.success_count` occurs here | |
src/runner.rs:62 report, | |
^~~~~~ | |
src/runner.rs:70:29: 70:54 help: run `rustc --explain E0506` to see a detailed explanation | |
src/runner.rs:71:30: 71:53 error: cannot assign to `report.error_count` because it is borrowed [E0506] | |
src/runner.rs:71 old @ _ => { report.error_count += 1; old } | |
^~~~~~~~~~~~~~~~~~~~~~~ | |
src/runner.rs:62:21: 62:27 note: borrow of `report.error_count` occurs here | |
src/runner.rs:62 report, | |
^~~~~~ | |
src/runner.rs:71:30: 71:53 help: run `rustc --explain E0506` to see a detailed explanation | |
src/runner.rs:74:13: 74:36 error: cannot assign to `report.total_tests` because it is borrowed [E0506] | |
src/runner.rs:74 report.total_tests += 1; | |
^~~~~~~~~~~~~~~~~~~~~~~ | |
src/runner.rs:62:21: 62:27 note: borrow of `report.total_tests` occurs here | |
src/runner.rs:62 report, | |
^~~~~~ | |
src/runner.rs:74:13: 74:36 help: run `rustc --explain E0506` to see a detailed explanation | |
error: aborting due to 9 previous errors | |
Build failed, waiting for other jobs to finish... | |
src/runner.rs:60:95: 60:102 error: use of moved value: `befores` [E0382] | |
src/runner.rs:60 &mut Testable::Test(ref mut test_function) => Runner::run_test(test_function, befores, &mut child_ctx.after_each), | |
^~~~~~~ | |
src/runner.rs:60:95: 60:102 help: run `rustc --explain E0382` to see a detailed explanation | |
src/runner.rs:60:95: 60:102 note: move occurs because `befores` has type `It`, which does not implement the `Copy` trait | |
src/runner.rs:60:109: 60:129 error: cannot borrow `child_ctx.after_each` as mutable more than once at a time [E0499] | |
src/runner.rs:60 &mut Testable::Test(ref mut test_function) => Runner::run_test(test_function, befores, &mut child_ctx.after_each), | |
^~~~~~~~~~~~~~~~~~~~ | |
src/runner.rs:60 &mut Testable::Test(ref mut test_function) => Runner::run_test(test_function, befores, &mut child_ctx.after_each), | |
^~~~~~~~~~~~~~~~~~~~ | |
src/runner.rs:78:5: 78:6 note: first borrow ends here | |
src/runner.rs:78 } | |
^ | |
src/runner.rs:60:109: 60:129 help: run `rustc --explain E0499` to see a detailed explanation | |
src/runner.rs:62:21: 62:27 error: cannot borrow `*report` as mutable more than once at a time [E0499] | |
src/runner.rs:62 report, | |
^~~~~~ | |
src/runner.rs:62 report, | |
^~~~~~ | |
src/runner.rs:78:5: 78:6 note: first borrow ends here | |
src/runner.rs:78 } | |
^ | |
src/runner.rs:62:21: 62:27 help: run `rustc --explain E0499` to see a detailed explanation | |
src/runner.rs:65:21: 65:28 error: use of moved value: `befores` [E0382] | |
src/runner.rs:65 befores.chain(child_ctx.before_each.iter_mut()) | |
^~~~~~~ | |
src/runner.rs:60:95: 60:102 note: value moved here | |
src/runner.rs:60 &mut Testable::Test(ref mut test_function) => Runner::run_test(test_function, befores, &mut child_ctx.after_each), | |
^~~~~~~ | |
src/runner.rs:65:21: 65:28 help: run `rustc --explain E0382` to see a detailed explanation | |
src/runner.rs:65:21: 65:28 note: move occurs because `befores` has type `It`, which does not implement the `Copy` trait | |
src/runner.rs:65:35: 65:56 error: cannot borrow `child_ctx.before_each` as mutable more than once at a time [E0499] | |
src/runner.rs:65 befores.chain(child_ctx.before_each.iter_mut()) | |
^~~~~~~~~~~~~~~~~~~~~ | |
src/runner.rs:65 befores.chain(child_ctx.before_each.iter_mut()) | |
^~~~~~~~~~~~~~~~~~~~~ | |
src/runner.rs:78:5: 78:6 note: first borrow ends here | |
src/runner.rs:78 } | |
^ | |
src/runner.rs:65:35: 65:56 help: run `rustc --explain E0499` to see a detailed explanation | |
src/runner.rs:65:35: 65:56 error: cannot borrow `child_ctx.before_each` as mutable more than once at a time [E0499] | |
src/runner.rs:65 befores.chain(child_ctx.before_each.iter_mut()) | |
^~~~~~~~~~~~~~~~~~~~~ | |
src/runner.rs:65 befores.chain(child_ctx.before_each.iter_mut()) | |
^~~~~~~~~~~~~~~~~~~~~ | |
src/runner.rs:78:5: 78:6 note: first borrow ends here | |
src/runner.rs:78 } | |
^ | |
src/runner.rs:65:35: 65:56 help: run `rustc --explain E0499` to see a detailed explanation | |
src/runner.rs:70:29: 70:54 error: cannot assign to `report.success_count` because it is borrowed [E0506] | |
src/runner.rs:70 Ok(()) => { report.success_count += 1; res }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
src/runner.rs:62:21: 62:27 note: borrow of `report.success_count` occurs here | |
src/runner.rs:62 report, | |
^~~~~~ | |
src/runner.rs:70:29: 70:54 help: run `rustc --explain E0506` to see a detailed explanation | |
src/runner.rs:71:30: 71:53 error: cannot assign to `report.error_count` because it is borrowed [E0506] | |
src/runner.rs:71 old @ _ => { report.error_count += 1; old } | |
^~~~~~~~~~~~~~~~~~~~~~~ | |
src/runner.rs:62:21: 62:27 note: borrow of `report.error_count` occurs here | |
src/runner.rs:62 report, | |
^~~~~~ | |
src/runner.rs:71:30: 71:53 help: run `rustc --explain E0506` to see a detailed explanation | |
src/runner.rs:74:13: 74:36 error: cannot assign to `report.total_tests` because it is borrowed [E0506] | |
src/runner.rs:74 report.total_tests += 1; | |
^~~~~~~~~~~~~~~~~~~~~~~ | |
src/runner.rs:62:21: 62:27 note: borrow of `report.total_tests` occurs here | |
src/runner.rs:62 report, | |
^~~~~~ | |
src/runner.rs:74:13: 74:36 help: run `rustc --explain E0506` to see a detailed explanation | |
error: aborting due to 9 previous errors | |
error: Could not compile `rspec`. | |
To learn more, run the command again with --verbose. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment