[INFO] cloning repository https://github.com/yuizho/rust_tutorial [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yuizho/rust_tutorial" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuizho%2Frust_tutorial", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuizho%2Frust_tutorial'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2f11b8d7abe02e6d47fd24cb320467162026749a [INFO] checking yuizho/rust_tutorial against master#accc516128b21e960b1a7af45393e9acdd184890 for pr-122501 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuizho%2Frust_tutorial" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yuizho/rust_tutorial on toolchain accc516128b21e960b1a7af45393e9acdd184890 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+accc516128b21e960b1a7af45393e9acdd184890" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yuizho/rust_tutorial [INFO] finished tweaking git repo https://github.com/yuizho/rust_tutorial [INFO] tweaked toml for git repo https://github.com/yuizho/rust_tutorial written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/yuizho/rust_tutorial already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+accc516128b21e960b1a7af45393e9acdd184890" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking yuizho/rust_tutorial against try#32f93a5733992b29f321831b7e26c1f7d7205013 for pr-122501 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuizho%2Frust_tutorial" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yuizho/rust_tutorial on toolchain 32f93a5733992b29f321831b7e26c1f7d7205013 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+32f93a5733992b29f321831b7e26c1f7d7205013" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yuizho/rust_tutorial [INFO] finished tweaking git repo https://github.com/yuizho/rust_tutorial [INFO] tweaked toml for git repo https://github.com/yuizho/rust_tutorial written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/yuizho/rust_tutorial already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+32f93a5733992b29f321831b7e26c1f7d7205013" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+32f93a5733992b29f321831b7e26c1f7d7205013" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9978ea7887107fffd59007f9cf665491ef73576f25ff9f489e7da47d7286d9bf [INFO] running `Command { std: "docker" "start" "-a" "9978ea7887107fffd59007f9cf665491ef73576f25ff9f489e7da47d7286d9bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9978ea7887107fffd59007f9cf665491ef73576f25ff9f489e7da47d7286d9bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9978ea7887107fffd59007f9cf665491ef73576f25ff9f489e7da47d7286d9bf", kill_on_drop: false }` [INFO] [stdout] 9978ea7887107fffd59007f9cf665491ef73576f25ff9f489e7da47d7286d9bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+32f93a5733992b29f321831b7e26c1f7d7205013" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a3652e4ca6f76c2d4d109ceebc9a3fac0f42cc01e7b3b52f551e2702c7c89a53 [INFO] running `Command { std: "docker" "start" "-a" "a3652e4ca6f76c2d4d109ceebc9a3fac0f42cc01e7b3b52f551e2702c7c89a53", kill_on_drop: false }` [INFO] [stderr] Checking the_rust_programming_language v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | let (x, y, z) = (1, 2, 3); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> src/main.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | let (x, y, z) = (1, 2, 3); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let mut v = vec![1, 2, 3]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v1` [INFO] [stdout] --> src/main.rs:104:15 [INFO] [stdout] | [INFO] [stdout] 104 | fn borrowing2(v1: &Vec, v2: &Vec) -> i32 { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_v1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v2` [INFO] [stdout] --> src/main.rs:104:30 [INFO] [stdout] | [INFO] [stdout] 104 | fn borrowing2(v1: &Vec, v2: &Vec) -> i32 { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_v2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:87:11 [INFO] [stdout] | [INFO] [stdout] 87 | Write(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 87 | Write(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Quit`, `ChangeColor`, and `Move` are never constructed [INFO] [stdout] --> src/main.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 83 | enum Message { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 84 | Quit, [INFO] [stdout] | ^^^^ [INFO] [stdout] 85 | ChangeColor(i32, i32, i32), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 86 | Move { x: i32, y: i32 }, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `x` is never used [INFO] [stdout] --> src/main.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 94 | impl<'a> Foo<'a> { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 95 | fn x(&self) -> &'a i32 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `borrwoing1` is never used [INFO] [stdout] --> src/main.rs:100:4 [INFO] [stdout] | [INFO] [stdout] 100 | fn borrwoing1(v1: Vec, v2: Vec) -> (Vec, Vec, i32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `diverges` is never used [INFO] [stdout] --> src/main.rs:116:4 [INFO] [stdout] | [INFO] [stdout] 116 | fn diverges() -> ! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | let (x, y, z) = (1, 2, 3); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> src/main.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | let (x, y, z) = (1, 2, 3); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let mut v = vec![1, 2, 3]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v1` [INFO] [stdout] --> src/main.rs:104:15 [INFO] [stdout] | [INFO] [stdout] 104 | fn borrowing2(v1: &Vec, v2: &Vec) -> i32 { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_v1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v2` [INFO] [stdout] --> src/main.rs:104:30 [INFO] [stdout] | [INFO] [stdout] 104 | fn borrowing2(v1: &Vec, v2: &Vec) -> i32 { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_v2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:87:11 [INFO] [stdout] | [INFO] [stdout] 87 | Write(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 87 | Write(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Quit`, `ChangeColor`, and `Move` are never constructed [INFO] [stdout] --> src/main.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 83 | enum Message { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 84 | Quit, [INFO] [stdout] | ^^^^ [INFO] [stdout] 85 | ChangeColor(i32, i32, i32), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 86 | Move { x: i32, y: i32 }, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `x` is never used [INFO] [stdout] --> src/main.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 94 | impl<'a> Foo<'a> { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 95 | fn x(&self) -> &'a i32 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `borrwoing1` is never used [INFO] [stdout] --> src/main.rs:100:4 [INFO] [stdout] | [INFO] [stdout] 100 | fn borrwoing1(v1: Vec, v2: Vec) -> (Vec, Vec, i32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `diverges` is never used [INFO] [stdout] --> src/main.rs:116:4 [INFO] [stdout] | [INFO] [stdout] 116 | fn diverges() -> ! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] running `Command { std: "docker" "inspect" "a3652e4ca6f76c2d4d109ceebc9a3fac0f42cc01e7b3b52f551e2702c7c89a53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3652e4ca6f76c2d4d109ceebc9a3fac0f42cc01e7b3b52f551e2702c7c89a53", kill_on_drop: false }` [INFO] [stdout] a3652e4ca6f76c2d4d109ceebc9a3fac0f42cc01e7b3b52f551e2702c7c89a53