[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] c69dca327568438bb884d96b12fabe378241700f [INFO] checking miguelraz/kessels against try#1a608893c03d7722effeb0058e82770bd36b4b3c for pr-66504-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiguelraz%2Fkessels" "/workspace/builds/worker-2/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/miguelraz/kessels on toolchain 1a608893c03d7722effeb0058e82770bd36b4b3c [INFO] running `"/workspace/cargo-home/bin/cargo" "+1a608893c03d7722effeb0058e82770bd36b4b3c" "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-2/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" "+1a608893c03d7722effeb0058e82770bd36b4b3c" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+1a608893c03d7722effeb0058e82770bd36b4b3c" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] dd5e9cc106de604e899fcc210834c873e717b1887eb2d28588a5354f9697aa5c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "dd5e9cc106de604e899fcc210834c873e717b1887eb2d28588a5354f9697aa5c"` [INFO] [stderr] Checking kessels v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0425]: cannot find function `work` in this scope [INFO] [stderr] --> src/lib.rs:25:16 [INFO] [stderr] | [INFO] [stderr] 25 | 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:26:16 [INFO] [stderr] | [INFO] [stderr] 26 | assert_eq!(work::(), 55); [INFO] [stderr] | ^^^^ not found in this scope [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] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0434]: can't capture dynamic environment in a fn item [INFO] [stderr] --> src/main.rs:95:20 [INFO] [stderr] | [INFO] [stderr] 95 | 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:95:35 [INFO] [stderr] | [INFO] [stderr] 95 | assert_eq!(nThreads * 55, sum) [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: use the `|| { ... }` closure form instead [INFO] [stderr] [INFO] [stderr] error[E0382]: use of moved value: `competing` [INFO] [stderr] --> src/main.rs:44:23 [INFO] [stderr] | [INFO] [stderr] 33 | 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] ... [INFO] [stderr] 44 | thread::spawn(move || { [INFO] [stderr] | ^^^^^^^ value moved into closure here, in previous iteration of loop [INFO] [stderr] ... [INFO] [stderr] 61 | unsafe {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:44:23 [INFO] [stderr] | [INFO] [stderr] 34 | 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] ... [INFO] [stderr] 44 | thread::spawn(move || { [INFO] [stderr] | ^^^^^^^ value moved into closure here, in previous iteration of loop [INFO] [stderr] ... [INFO] [stderr] 64 | 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:44:23 [INFO] [stderr] | [INFO] [stderr] 32 | 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] ... [INFO] [stderr] 44 | thread::spawn(move || { [INFO] [stderr] | ^^^^^^^ value moved into closure here, in previous iteration of loop [INFO] [stderr] ... [INFO] [stderr] 75 | edge[node] = id; [INFO] [stderr] | ---- use occurs due to use in closure [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/main.rs:61:17 [INFO] [stderr] | [INFO] [stderr] 61 | unsafe {competing[node][id] = 1;} [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/main.rs:67:17 [INFO] [stderr] | [INFO] [stderr] 67 | unsafe {turn[node][id] = local;} [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0382`. [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] error: could not compile `kessels`. [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: 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] 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] running `"docker" "inspect" "dd5e9cc106de604e899fcc210834c873e717b1887eb2d28588a5354f9697aa5c"` [INFO] running `"docker" "rm" "-f" "dd5e9cc106de604e899fcc210834c873e717b1887eb2d28588a5354f9697aa5c"` [INFO] [stdout] dd5e9cc106de604e899fcc210834c873e717b1887eb2d28588a5354f9697aa5c