[INFO] cloning repository https://github.com/techyangj/rust-data-structs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/techyangj/rust-data-structs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftechyangj%2Frust-data-structs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftechyangj%2Frust-data-structs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 09a6e79446eb06d2981498927163f3f5f723d1e8 [INFO] building techyangj/rust-data-structs against try#9a3ef2cd3ecaae3c6ef59768612837d797602a6d for pr-137044-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftechyangj%2Frust-data-structs" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/techyangj/rust-data-structs on toolchain 9a3ef2cd3ecaae3c6ef59768612837d797602a6d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/techyangj/rust-data-structs [INFO] finished tweaking git repo https://github.com/techyangj/rust-data-structs [INFO] tweaked toml for git repo https://github.com/techyangj/rust-data-structs written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/techyangj/rust-data-structs 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" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 258602a622ff072936ea2c009b1ed9f65e4c944380085e1399cda4157d5e54fd [INFO] running `Command { std: "docker" "start" "-a" "258602a622ff072936ea2c009b1ed9f65e4c944380085e1399cda4157d5e54fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "258602a622ff072936ea2c009b1ed9f65e4c944380085e1399cda4157d5e54fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "258602a622ff072936ea2c009b1ed9f65e4c944380085e1399cda4157d5e54fd", kill_on_drop: false }` [INFO] [stdout] 258602a622ff072936ea2c009b1ed9f65e4c944380085e1399cda4157d5e54fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b1efc52f5c950e6e9314ede28b4f03f457957ecf1c73c4924c9126fded16c69a [INFO] running `Command { std: "docker" "start" "-a" "b1efc52f5c950e6e9314ede28b4f03f457957ecf1c73c4924c9126fded16c69a", kill_on_drop: false }` [INFO] [stderr] Compiling rust-data-structs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/myloop.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | for i in 0..10 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LinkedList` is never constructed [INFO] [stdout] --> src/mybox.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct LinkedList { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LinkedList` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_up` is never used [INFO] [stdout] --> src/mybox.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl LinkedList { [INFO] [stdout] | ------------------------------------------ method in this implementation [INFO] [stdout] 8 | pub fn add_up(&mut self, n: T) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Person` is never constructed [INFO] [stdout] --> src/mycloneandcopy.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Person { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Person` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Color` is never used [INFO] [stdout] --> src/myenum.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Color` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `my_loop` is never used [INFO] [stdout] --> src/myloop.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn my_loop() -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `my_while` is never used [INFO] [stdout] --> src/myloop.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn my_while() -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `my_for` is never used [INFO] [stdout] --> src/myloop.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn my_for() -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Res` is never used [INFO] [stdout] --> src/myresult.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum Res { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `divide` is never used [INFO] [stdout] --> src/myresult.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn divide(a: i32, b: i32) -> Res { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bubble_sort` is never used [INFO] [stdout] --> src/mysort.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn bubble_sort(v: &mut [T]) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `merge_sort` is never used [INFO] [stdout] --> src/mysort.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn merge_sort(mut v: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Person` is never constructed [INFO] [stdout] --> src/mystruct.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Person { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Person` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print` is never used [INFO] [stdout] --> src/mystruct.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Person { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 9 | pub fn print(self) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.35s [INFO] running `Command { std: "docker" "inspect" "b1efc52f5c950e6e9314ede28b4f03f457957ecf1c73c4924c9126fded16c69a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1efc52f5c950e6e9314ede28b4f03f457957ecf1c73c4924c9126fded16c69a", kill_on_drop: false }` [INFO] [stdout] b1efc52f5c950e6e9314ede28b4f03f457957ecf1c73c4924c9126fded16c69a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed64a46af502a94f0d178453490ae8640643bbc77bb4ac2a0cc6bd5265b7b79a [INFO] running `Command { std: "docker" "start" "-a" "ed64a46af502a94f0d178453490ae8640643bbc77bb4ac2a0cc6bd5265b7b79a", kill_on_drop: false }` [INFO] [stderr] Compiling rust-data-structs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mybox.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let mut list = LinkedList { [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: `a` [INFO] [stdout] --> src/mycloneandcopy.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | let a = 2; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/myloop.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | for i in 0..10 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/mycloneandcopy.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Person { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 3 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Person` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Blue` and `Green` are never constructed [INFO] [stdout] --> src/myenum.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Color { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 3 | Red(i32), [INFO] [stdout] 4 | Blue(i32), [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | Green(i32), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Color` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.55s [INFO] running `Command { std: "docker" "inspect" "ed64a46af502a94f0d178453490ae8640643bbc77bb4ac2a0cc6bd5265b7b79a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed64a46af502a94f0d178453490ae8640643bbc77bb4ac2a0cc6bd5265b7b79a", kill_on_drop: false }` [INFO] [stdout] ed64a46af502a94f0d178453490ae8640643bbc77bb4ac2a0cc6bd5265b7b79a