[INFO] updating cached repository https://github.com/miguelraz/kessels [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 32b7ae72ce6836e8061923d18b716e849f25ff00 [INFO] checking miguelraz/kessels against master#bd0bacc694d7d8175804bb6f690cb846bfa4a9ee for pr-71665 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiguelraz%2Fkessels" "/workspace/builds/worker-1/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/miguelraz/kessels on toolchain bd0bacc694d7d8175804bb6f690cb846bfa4a9ee [INFO] running `"/workspace/cargo-home/bin/cargo" "+bd0bacc694d7d8175804bb6f690cb846bfa4a9ee" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/miguelraz/kessels [INFO] finished tweaking git repo https://github.com/miguelraz/kessels [INFO] tweaked toml for git repo https://github.com/miguelraz/kessels written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/miguelraz/kessels already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+bd0bacc694d7d8175804bb6f690cb846bfa4a9ee" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-1/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+bd0bacc694d7d8175804bb6f690cb846bfa4a9ee" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+bd0bacc694d7d8175804bb6f690cb846bfa4a9ee" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+bd0bacc694d7d8175804bb6f690cb846bfa4a9ee" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9bd42e172cf4293e7c4b116f25bebec67d795e50db5a5675a517767847944c0d [INFO] running `"docker" "start" "-a" "9bd42e172cf4293e7c4b116f25bebec67d795e50db5a5675a517767847944c0d"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Checking kessels v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: function is never used: `main` [INFO] [stderr] --> src/lib.rs:1:4 [INFO] [stderr] | [INFO] [stderr] 1 | fn main() {} [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `work` in this scope [INFO] [stderr] --> src/lib.rs:27:16 [INFO] [stderr] | [INFO] [stderr] 27 | assert_eq!(work::(), 55); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `work` in this scope [INFO] [stderr] --> src/lib.rs:28:16 [INFO] [stderr] | [INFO] [stderr] 28 | assert_eq!(work::(), 55); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0425`. [INFO] [stderr] error: could not compile `kessels`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: unused variable: `arc_edge` [INFO] [stderr] --> src/main.rs:34:9 [INFO] [stderr] | [INFO] [stderr] 34 | let arc_edge = Arc::new(edge); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arc_edge` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `arc_competing` [INFO] [stderr] --> src/main.rs:36:9 [INFO] [stderr] | [INFO] [stderr] 36 | let arc_competing = Arc::new(competing); [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arc_competing` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `arc_turn` [INFO] [stderr] --> src/main.rs:38:9 [INFO] [stderr] | [INFO] [stderr] 38 | let arc_turn = Arc::new(turn); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arc_turn` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `joinhandles` [INFO] [stderr] --> src/main.rs:39:9 [INFO] [stderr] | [INFO] [stderr] 39 | let mut joinhandles: Vec = Vec::new(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_joinhandles` [INFO] [stderr] [INFO] [stderr] error[E0434]: can't capture dynamic environment in a fn item [INFO] [stderr] --> src/main.rs:99:20 [INFO] [stderr] | [INFO] [stderr] 99 | assert_eq!(nThreads * 55, sum) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: use the `|| { ... }` closure form instead [INFO] [stderr] [INFO] [stderr] error[E0434]: can't capture dynamic environment in a fn item [INFO] [stderr] --> src/main.rs:99:35 [INFO] [stderr] | [INFO] [stderr] 99 | assert_eq!(nThreads * 55, sum) [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: use the `|| { ... }` closure form instead [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `work` in crate `kessels` [INFO] [stderr] --> tests/integration_test.rs:10:36 [INFO] [stderr] | [INFO] [stderr] 10 | assert_eq!(500500,kessels::work(1)); [INFO] [stderr] | ^^^^ not found in `kessels` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:39:9 [INFO] [stderr] | [INFO] [stderr] 39 | let mut joinhandles: Vec = Vec::new(); [INFO] [stderr] | ----^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0382]: use of moved value: `competing` [INFO] [stderr] --> src/main.rs:49:23 [INFO] [stderr] | [INFO] [stderr] 35 | let mut competing = vec![vec![0 as i64; once]; 2]; // should be a 2 x v size array [INFO] [stderr] | ------------- move occurs because `competing` has type `std::vec::Vec>`, which does not implement the `Copy` trait [INFO] [stderr] 36 | let arc_competing = Arc::new(competing); [INFO] [stderr] | --------- value moved here [INFO] [stderr] ... [INFO] [stderr] 49 | thread::spawn(move || { [INFO] [stderr] | ^^^^^^^ value moved into closure here, in previous iteration of loop [INFO] [stderr] ... [INFO] [stderr] 66 | competing[node][id] = 1; [INFO] [stderr] | --------- use occurs due to use in closure [INFO] [stderr] [INFO] [stderr] error[E0382]: use of moved value: `turn` [INFO] [stderr] --> src/main.rs:49:23 [INFO] [stderr] | [INFO] [stderr] 37 | let mut turn = vec![vec![0 as i64; once]; 2]; // should be a 2 x v size array : [INFO] [stderr] | -------- move occurs because `turn` has type `std::vec::Vec>`, which does not implement the `Copy` trait [INFO] [stderr] 38 | let arc_turn = Arc::new(turn); [INFO] [stderr] | ---- value moved here [INFO] [stderr] ... [INFO] [stderr] 49 | thread::spawn(move || { [INFO] [stderr] | ^^^^^^^ value moved into closure here, in previous iteration of loop [INFO] [stderr] ... [INFO] [stderr] 69 | let temp: i64 = turn[node][1 - id] as i64; [INFO] [stderr] | ---- use occurs due to use in closure [INFO] [stderr] [INFO] [stderr] error[E0382]: use of moved value: `edge` [INFO] [stderr] --> src/main.rs:49:23 [INFO] [stderr] | [INFO] [stderr] 33 | let mut edge = vec![0 as usize; once]; // Should be a 1 x v size vec [INFO] [stderr] | -------- move occurs because `edge` has type `std::vec::Vec`, which does not implement the `Copy` trait [INFO] [stderr] 34 | let arc_edge = Arc::new(edge); [INFO] [stderr] | ---- value moved here [INFO] [stderr] ... [INFO] [stderr] 49 | thread::spawn(move || { [INFO] [stderr] | ^^^^^^^ value moved into closure here, in previous iteration of loop [INFO] [stderr] ... [INFO] [stderr] 79 | edge[node] = id; [INFO] [stderr] | ---- use occurs due to use in closure [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors; 5 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0382`. [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0425`. [INFO] [stderr] error: could not compile `kessels`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `kessels`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0434`. [INFO] [stderr] error: could not compile `kessels`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "9bd42e172cf4293e7c4b116f25bebec67d795e50db5a5675a517767847944c0d"` [INFO] running `"docker" "rm" "-f" "9bd42e172cf4293e7c4b116f25bebec67d795e50db5a5675a517767847944c0d"` [INFO] [stdout] 9bd42e172cf4293e7c4b116f25bebec67d795e50db5a5675a517767847944c0d