[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 master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftyrchen%2Frust-training" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tyrchen/rust-training on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "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-13/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 47f259d59b5963be6d4f9c802371aae60b9d46a8d1a58a70deb74ed92ebc97d0 [INFO] running `Command { std: "docker" "start" "-a" "47f259d59b5963be6d4f9c802371aae60b9d46a8d1a58a70deb74ed92ebc97d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "47f259d59b5963be6d4f9c802371aae60b9d46a8d1a58a70deb74ed92ebc97d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47f259d59b5963be6d4f9c802371aae60b9d46a8d1a58a70deb74ed92ebc97d0", kill_on_drop: false }` [INFO] [stdout] 47f259d59b5963be6d4f9c802371aae60b9d46a8d1a58a70deb74ed92ebc97d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 704bcd1d82c57d53b0380b3304f4ebabcf869f9a6950c213841f9543052e7139 [INFO] running `Command { std: "docker" "start" "-a" "704bcd1d82c57d53b0380b3304f4ebabcf869f9a6950c213841f9543052e7139", kill_on_drop: false }` [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 log v0.4.14 [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 proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-sink v0.3.15 [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 either v1.6.1 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling pin-project-internal v0.4.28 [INFO] [stderr] Compiling cpufeatures v0.1.4 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling openssl v0.10.34 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling httpdate v1.0.0 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling tower-layer v0.3.1 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling hello_world v0.1.0 (/opt/rustwide/workdir/live_coding/hello_world) [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] [stderr] Compiling strtok v0.1.0 (/opt/rustwide/workdir/code/strtok) [INFO] [stderr] Compiling lifetime v0.1.0 (/opt/rustwide/workdir/code/lifetime) [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling tokio v1.5.0 [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 tracing-core v0.1.18 [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: 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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "704bcd1d82c57d53b0380b3304f4ebabcf869f9a6950c213841f9543052e7139", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "704bcd1d82c57d53b0380b3304f4ebabcf869f9a6950c213841f9543052e7139", kill_on_drop: false }` [INFO] [stdout] 704bcd1d82c57d53b0380b3304f4ebabcf869f9a6950c213841f9543052e7139