[INFO] cloning repository https://github.com/tyrchen/rust-training [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tyrchen/rust-training" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftyrchen%2Frust-training", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftyrchen%2Frust-training'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3014340a0f6da8d60e6a2f5912a5ae1af466c830 [INFO] testing tyrchen/rust-training against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftyrchen%2Frust-training" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tyrchen/rust-training on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tyrchen/rust-training [INFO] finished tweaking git repo https://github.com/tyrchen/rust-training [INFO] tweaked toml for git repo https://github.com/tyrchen/rust-training written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/tyrchen/rust-training already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded chacha20 v0.7.1 [INFO] [stderr] Downloaded aead v0.4.1 [INFO] [stderr] Downloaded ghash v0.4.1 [INFO] [stderr] Downloaded tower v0.4.7 [INFO] [stderr] Downloaded polyval v0.5.0 [INFO] [stderr] Downloaded aes-gcm v0.9.1 [INFO] [stderr] Downloaded aes v0.7.3 [INFO] [stderr] Downloaded poly1305 v0.7.0 [INFO] [stderr] Downloaded snow v0.8.0 [INFO] [stderr] Downloaded chacha20poly1305 v0.8.0 [INFO] [stderr] Downloaded prost-serde v0.2.0 [INFO] [stderr] Downloaded async-prost v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7a08952f9667a365b3e368953cc9c1cde62e1e33d23c86e082abc1947f4ebd66 [INFO] running `Command { std: "docker" "start" "-a" "7a08952f9667a365b3e368953cc9c1cde62e1e33d23c86e082abc1947f4ebd66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7a08952f9667a365b3e368953cc9c1cde62e1e33d23c86e082abc1947f4ebd66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a08952f9667a365b3e368953cc9c1cde62e1e33d23c86e082abc1947f4ebd66", kill_on_drop: false }` [INFO] [stdout] 7a08952f9667a365b3e368953cc9c1cde62e1e33d23c86e082abc1947f4ebd66 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2774e00a6b0dbf3bfd5e90736aa7fa32d1c41d05abde7048b00f7daf3b2ad307 [INFO] running `Command { std: "docker" "start" "-a" "2774e00a6b0dbf3bfd5e90736aa7fa32d1c41d05abde7048b00f7daf3b2ad307", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling futures-sink v0.3.15 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling pin-project-internal v0.4.28 [INFO] [stderr] Compiling cpufeatures v0.1.4 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling openssl v0.10.34 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling httpdate v1.0.0 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling tower-layer v0.3.1 [INFO] [stderr] Compiling lifetime v0.1.0 (/opt/rustwide/workdir/code/lifetime) [INFO] [stderr] Compiling hello_world v0.1.0 (/opt/rustwide/workdir/live_coding/hello_world) [INFO] [stderr] Compiling strtok v0.1.0 (/opt/rustwide/workdir/code/strtok) [INFO] [stderr] Compiling gp v0.1.0 (/opt/rustwide/workdir/code/gp) [INFO] [stderr] Compiling simple_asm v0.1.0 (/opt/rustwide/workdir/code/simple_asm) [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> code/lifetime/src/lib.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(name: &'a str, age: u8) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `authenticated` [INFO] [stdout] --> live_coding/hello_world/src/value_tour.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let authenticated = true; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_authenticated` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `total` is assigned to, but never used [INFO] [stdout] --> live_coding/hello_world/src/value_tour.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | let mut total = 0usize; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_total` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `total` is never read [INFO] [stdout] --> live_coding/hello_world/src/value_tour.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | total += 1; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_map` [INFO] [stdout] --> live_coding/hello_world/src/value_tour.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let my_map = &mut map; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> live_coding/hello_world/src/value_tour.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 42 | fn print_map(map: &HashMap) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> live_coding/hello_world/src/value_tour.rs:46:15 [INFO] [stdout] | [INFO] [stdout] 46 | fn insert_map(map: &mut HashMap) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `data` [INFO] [stdout] --> live_coding/hello_world/src/value_tour.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 29 | let mut data = vec![1, 2, 3]; [INFO] [stdout] | -------- move occurs because `data` has type `Vec`, which does not implement the `Copy` trait [INFO] [stdout] 30 | [INFO] [stdout] 31 | thread::spawn(move || { [INFO] [stdout] | ------- value moved into closure here [INFO] [stdout] 32 | data.push(5); [INFO] [stdout] | ---- variable moved due to use in closure [INFO] [stdout] ... [INFO] [stdout] 35 | data.push(4); [INFO] [stdout] | ^^^^ value borrowed here after move [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stdout] error: aborting due to previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hello_world` [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] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "2774e00a6b0dbf3bfd5e90736aa7fa32d1c41d05abde7048b00f7daf3b2ad307", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2774e00a6b0dbf3bfd5e90736aa7fa32d1c41d05abde7048b00f7daf3b2ad307", kill_on_drop: false }` [INFO] [stdout] 2774e00a6b0dbf3bfd5e90736aa7fa32d1c41d05abde7048b00f7daf3b2ad307