[INFO] cloning repository https://github.com/garyyu/rust-dag [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/garyyu/rust-dag" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgaryyu%2Frust-dag", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgaryyu%2Frust-dag'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d1e427807a0cf5a8ad4163bcf7fffab1da1d15bb [INFO] checking garyyu/rust-dag against try#024378d9203a4009ed73d6db2681b88a8d74ce7a for pr-112160 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgaryyu%2Frust-dag" "/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/garyyu/rust-dag on toolchain 024378d9203a4009ed73d6db2681b88a8d74ce7a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/garyyu/rust-dag [INFO] finished tweaking git repo https://github.com/garyyu/rust-dag [INFO] tweaked toml for git repo https://github.com/garyyu/rust-dag written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/garyyu/rust-dag 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" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f3cb2fc2eacd0cc89f9e20b4ad04c4913e519cb729fcd3f3a2a4b9cdd8590fd1 [INFO] running `Command { std: "docker" "start" "-a" "f3cb2fc2eacd0cc89f9e20b4ad04c4913e519cb729fcd3f3a2a4b9cdd8590fd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f3cb2fc2eacd0cc89f9e20b4ad04c4913e519cb729fcd3f3a2a4b9cdd8590fd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3cb2fc2eacd0cc89f9e20b4ad04c4913e519cb729fcd3f3a2a4b9cdd8590fd1", kill_on_drop: false }` [INFO] [stdout] f3cb2fc2eacd0cc89f9e20b4ad04c4913e519cb729fcd3f3a2a4b9cdd8590fd1 [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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e3d4f958b606d36300d78ac9b08045e7af1b45ec1ec1b6613db3e98af2e927d [INFO] running `Command { std: "docker" "start" "-a" "4e3d4f958b606d36300d78ac9b08045e7af1b45ec1ec1b6613db3e98af2e927d", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.40 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking lazy_static v1.0.0 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Compiling regex v0.2.10 [INFO] [stderr] Checking quick-error v1.2.1 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking termcolor v0.3.6 [INFO] [stderr] Checking log v0.4.1 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking humantime v1.1.1 [INFO] [stderr] Checking regex-syntax v0.5.5 [INFO] [stderr] Checking thread_local v0.3.5 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking atty v0.2.9 [INFO] [stderr] Checking time v0.1.39 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking aho-corasick v0.6.4 [INFO] [stderr] Checking env_logger v0.5.9 [INFO] [stderr] Checking blockdag v0.1.0 (/opt/rustwide/workdir/blockdag) [INFO] [stdout] warning: unused label [INFO] [stdout] --> blockdag/src/blockdag/dagsim.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | 'outer: for reference in references { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> blockdag/src/blockdag/dagsim.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | 'outer: for reference in references { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> blockdag/src/lib.rs:789:13 [INFO] [stdout] | [INFO] [stdout] 789 | 'dis_outer: loop { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> blockdag/src/blockdag/node.rs:164:92 [INFO] [stdout] | [INFO] [stdout] 164 | let classmate = classmates.entry(block.height).or_insert(vec![name_of_new_block.clone().into()]); [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> blockdag/src/blockdag/node.rs:166:49 [INFO] [stdout] | [INFO] [stdout] 166 | classmate.push(name_of_new_block.clone().into()); [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> blockdag/src/blockdag/dagsim.rs:27:32 [INFO] [stdout] | [INFO] [stdout] 27 | name: String::from(name.clone()), [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> blockdag/src/blockdag/dagsim.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | panic!(except_message); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 44 | panic!("{}", except_message); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> blockdag/src/blockdag/dagsim.rs:68:62 [INFO] [stdout] | [INFO] [stdout] 68 | reference_block.next.insert(String::from(name.clone()), Arc::clone(&this_block)); [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> blockdag/src/blockdag/dagsim.rs:81:33 [INFO] [stdout] | [INFO] [stdout] 81 | dag.insert(String::from(name.clone()), this_block); [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `blockdag` (lib) due to 6 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> blockdag/src/blockdag/node.rs:164:92 [INFO] [stdout] | [INFO] [stdout] 164 | let classmate = classmates.entry(block.height).or_insert(vec![name_of_new_block.clone().into()]); [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> blockdag/src/blockdag/node.rs:166:49 [INFO] [stdout] | [INFO] [stdout] 166 | classmate.push(name_of_new_block.clone().into()); [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> blockdag/src/blockdag/dagsim.rs:27:32 [INFO] [stdout] | [INFO] [stdout] 27 | name: String::from(name.clone()), [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> blockdag/src/blockdag/dagsim.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | panic!(except_message); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 44 | panic!("{}", except_message); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> blockdag/src/blockdag/dagsim.rs:68:62 [INFO] [stdout] | [INFO] [stdout] 68 | reference_block.next.insert(String::from(name.clone()), Arc::clone(&this_block)); [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> blockdag/src/blockdag/dagsim.rs:81:33 [INFO] [stdout] | [INFO] [stdout] 81 | dag.insert(String::from(name.clone()), this_block); [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `blockdag` (lib test) due to 6 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4e3d4f958b606d36300d78ac9b08045e7af1b45ec1ec1b6613db3e98af2e927d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e3d4f958b606d36300d78ac9b08045e7af1b45ec1ec1b6613db3e98af2e927d", kill_on_drop: false }` [INFO] [stdout] 4e3d4f958b606d36300d78ac9b08045e7af1b45ec1ec1b6613db3e98af2e927d