[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] testing garyyu/rust-dag against master#2fd6efc32704647e64d3d646d21c4c68eae100e4 for pr-149852-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgaryyu%2Frust-dag" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[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-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/garyyu/rust-dag on toolchain 2fd6efc32704647e64d3d646d21c4c68eae100e4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: /workspace/builds/worker-0-tc1/source/godag/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr] warning: /workspace/builds/worker-0-tc1/source/blockdag/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[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 time v0.1.39
[INFO] [stderr]   Downloaded cfg-if v0.1.2
[INFO] [stderr]   Downloaded env_logger v0.5.9
[INFO] [stderr]   Downloaded bitflags v1.0.1
[INFO] [stderr]   Downloaded redox_syscall v0.1.37
[INFO] [stderr]   Downloaded log v0.4.1
[INFO] [stderr]   Downloaded termcolor v0.3.6
[INFO] [stderr]   Downloaded memchr v2.0.1
[INFO] [stderr]   Downloaded redox_termios v0.1.1
[INFO] [stderr]   Downloaded termion v1.5.1
[INFO] [stderr]   Downloaded aho-corasick v0.6.4
[INFO] [stderr]   Downloaded rand v0.4.2
[INFO] [stderr]   Downloaded quick-error v1.2.1
[INFO] [stderr]   Downloaded humantime v1.1.1
[INFO] [stderr]   Downloaded ucd-util v0.1.1
[INFO] [stderr]   Downloaded thread_local v0.3.5
[INFO] [stderr]   Downloaded wincolor v0.1.6
[INFO] [stderr]   Downloaded atty v0.2.9
[INFO] [stderr]   Downloaded lazy_static v1.0.0
[INFO] [stderr]   Downloaded libc v0.2.40
[INFO] [stderr]   Downloaded regex-syntax v0.5.5
[INFO] [stderr]   Downloaded regex v0.2.10
[INFO] [stderr]   Downloaded winapi v0.3.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1e8d9ac1be0ff7343cb0899a52814be9de379d1e0f168d3ac4c0421c9058d3f6
[INFO] running `Command { std: "docker" "start" "-a" "1e8d9ac1be0ff7343cb0899a52814be9de379d1e0f168d3ac4c0421c9058d3f6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1e8d9ac1be0ff7343cb0899a52814be9de379d1e0f168d3ac4c0421c9058d3f6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1e8d9ac1be0ff7343cb0899a52814be9de379d1e0f168d3ac4c0421c9058d3f6", kill_on_drop: false }`
[INFO] [stdout] 1e8d9ac1be0ff7343cb0899a52814be9de379d1e0f168d3ac4c0421c9058d3f6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b3af6460b52045e45ae82c7760c7e6c5a82a025be7f605d4ae7ccc16e8622ae1
[INFO] running `Command { std: "docker" "start" "-a" "b3af6460b52045e45ae82c7760c7e6c5a82a025be7f605d4ae7ccc16e8622ae1", kill_on_drop: false }`
[INFO] [stderr] warning: /opt/rustwide/workdir/blockdag/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr] warning: /opt/rustwide/workdir/godag/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling libc v0.2.40
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling lazy_static v1.0.0
[INFO] [stderr]    Compiling ucd-util v0.1.1
[INFO] [stderr]    Compiling regex v0.2.10
[INFO] [stderr]    Compiling utf8-ranges v1.0.0
[INFO] [stderr]    Compiling cfg-if v0.1.2
[INFO] [stderr]    Compiling quick-error v1.2.1
[INFO] [stderr]    Compiling termcolor v0.3.6
[INFO] [stderr]    Compiling humantime v1.1.1
[INFO] [stderr]    Compiling log v0.4.1
[INFO] [stderr]    Compiling unreachable v1.0.0
[INFO] [stderr]    Compiling thread_local v0.3.5
[INFO] [stderr]    Compiling regex-syntax v0.5.5
[INFO] [stderr]    Compiling memchr v2.0.1
[INFO] [stderr]    Compiling atty v0.2.9
[INFO] [stderr]    Compiling time v0.1.39
[INFO] [stderr]    Compiling rand v0.4.2
[INFO] [stderr]    Compiling aho-corasick v0.6.4
[INFO] [stderr]    Compiling env_logger v0.5.9
[INFO] [stderr]    Compiling 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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 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]     |                                                                                            ^^^^^^^^ help: remove this redundant 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: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 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]     |                                                 ^^^^^^^^ help: remove this redundant 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: 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]    |                                ^^^^^^^^ help: remove this redundant 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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) 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] warning: 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]    |                                                              ^^^^^^^^ help: remove this redundant 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: 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]    |                                 ^^^^^^^^ help: remove this redundant 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] [stderr]    Compiling godag v0.1.0 (/opt/rustwide/workdir/godag)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.39s
[INFO] running `Command { std: "docker" "inspect" "b3af6460b52045e45ae82c7760c7e6c5a82a025be7f605d4ae7ccc16e8622ae1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b3af6460b52045e45ae82c7760c7e6c5a82a025be7f605d4ae7ccc16e8622ae1", kill_on_drop: false }`
[INFO] [stdout] b3af6460b52045e45ae82c7760c7e6c5a82a025be7f605d4ae7ccc16e8622ae1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8edcefdbc37ce96aa336418c01e50621a70c9e66b2cd5797c87dd62c17419bcb
[INFO] running `Command { std: "docker" "start" "-a" "8edcefdbc37ce96aa336418c01e50621a70c9e66b2cd5797c87dd62c17419bcb", kill_on_drop: false }`
[INFO] [stderr] warning: /opt/rustwide/workdir/godag/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr] warning: /opt/rustwide/workdir/blockdag/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling libc v0.2.40
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling lazy_static v1.0.0
[INFO] [stderr]    Compiling ucd-util v0.1.1
[INFO] [stderr]    Compiling cfg-if v0.1.2
[INFO] [stderr]    Compiling utf8-ranges v1.0.0
[INFO] [stderr]    Compiling quick-error v1.2.1
[INFO] [stderr]    Compiling termcolor v0.3.6
[INFO] [stderr]    Compiling regex v0.2.10
[INFO] [stderr]    Compiling log v0.4.1
[INFO] [stderr]    Compiling unreachable v1.0.0
[INFO] [stderr]    Compiling humantime v1.1.1
[INFO] [stderr]    Compiling thread_local v0.3.5
[INFO] [stderr]    Compiling regex-syntax v0.5.5
[INFO] [stderr]    Compiling memchr v2.0.1
[INFO] [stderr]    Compiling atty v0.2.9
[INFO] [stderr]    Compiling time v0.1.39
[INFO] [stderr]    Compiling rand v0.4.2
[INFO] [stderr]    Compiling aho-corasick v0.6.4
[INFO] [stderr]    Compiling env_logger v0.5.9
[INFO] [stderr]    Compiling 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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 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]     |                                                                                            ^^^^^^^^ help: remove this redundant 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: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 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]     |                                                 ^^^^^^^^ help: remove this redundant 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: 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]    |                                ^^^^^^^^ help: remove this redundant 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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) 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] warning: 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]    |                                                              ^^^^^^^^ help: remove this redundant 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: 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]    |                                 ^^^^^^^^ help: remove this redundant 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] [stderr]    Compiling godag v0.1.0 (/opt/rustwide/workdir/godag)
[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)]` (part of `#[warn(unused)]`) 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] warning: 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]     |                                                                                            ^^^^^^^^ help: remove this redundant 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: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 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]     |                                                 ^^^^^^^^ help: remove this redundant 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: 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]    |                                ^^^^^^^^ help: remove this redundant 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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) 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] warning: 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]    |                                                              ^^^^^^^^ help: remove this redundant 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: 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]    |                                 ^^^^^^^^ help: remove this redundant 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] [stderr]     Finished `test` profile [optimized + debuginfo] target(s) in 19.41s
[INFO] running `Command { std: "docker" "inspect" "8edcefdbc37ce96aa336418c01e50621a70c9e66b2cd5797c87dd62c17419bcb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8edcefdbc37ce96aa336418c01e50621a70c9e66b2cd5797c87dd62c17419bcb", kill_on_drop: false }`
[INFO] [stdout] 8edcefdbc37ce96aa336418c01e50621a70c9e66b2cd5797c87dd62c17419bcb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] a8457e38f2024ee532428f23237ef0baed643f639ce375de549227536d46e52c
[INFO] running `Command { std: "docker" "start" "-a" "a8457e38f2024ee532428f23237ef0baed643f639ce375de549227536d46e52c", kill_on_drop: false }`
[INFO] [stderr] warning: /opt/rustwide/workdir/godag/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr] warning: /opt/rustwide/workdir/blockdag/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr] warning: unused label
[INFO] [stderr]   --> blockdag/src/blockdag/dagsim.rs:39:5
[INFO] [stderr]    |
[INFO] [stderr] 39 |     'outer: for reference in references {
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_labels)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stderr]    --> blockdag/src/blockdag/node.rs:164:92
[INFO] [stderr]     |
[INFO] [stderr] 164 |             let classmate = classmates.entry(block.height).or_insert(vec![name_of_new_block.clone().into()]);
[INFO] [stderr]     |                                                                                            ^^^^^^^^ help: remove this redundant call
[INFO] [stderr]     |
[INFO] [stderr]     = 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] [stderr]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stderr]    --> blockdag/src/blockdag/node.rs:166:49
[INFO] [stderr]     |
[INFO] [stderr] 166 |                 classmate.push(name_of_new_block.clone().into());
[INFO] [stderr]     |                                                 ^^^^^^^^ help: remove this redundant call
[INFO] [stderr]     |
[INFO] [stderr]     = 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] [stderr] 
[INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stderr]   --> blockdag/src/blockdag/dagsim.rs:27:32
[INFO] [stderr]    |
[INFO] [stderr] 27 |         name: String::from(name.clone()),
[INFO] [stderr]    |                                ^^^^^^^^ help: remove this redundant call
[INFO] [stderr]    |
[INFO] [stderr]    = 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] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]   --> blockdag/src/blockdag/dagsim.rs:44:24
[INFO] [stderr]    |
[INFO] [stderr] 44 |                 panic!(except_message);
[INFO] [stderr]    |                        ^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]    = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]    = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stderr] help: add a "{}" format string to `Display` the message
[INFO] [stderr]    |
[INFO] [stderr] 44 |                 panic!("{}", except_message);
[INFO] [stderr]    |                        +++++
[INFO] [stderr] 
[INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stderr]   --> blockdag/src/blockdag/dagsim.rs:68:62
[INFO] [stderr]    |
[INFO] [stderr] 68 |                 reference_block.next.insert(String::from(name.clone()), Arc::clone(&this_block));
[INFO] [stderr]    |                                                              ^^^^^^^^ help: remove this redundant call
[INFO] [stderr]    |
[INFO] [stderr]    = 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] [stderr] 
[INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stderr]   --> blockdag/src/blockdag/dagsim.rs:81:33
[INFO] [stderr]    |
[INFO] [stderr] 81 |     dag.insert(String::from(name.clone()), this_block);
[INFO] [stderr]    |                                 ^^^^^^^^ help: remove this redundant call
[INFO] [stderr]    |
[INFO] [stderr]    = 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] [stderr] 
[INFO] [stderr] warning: unused label
[INFO] [stderr]    --> blockdag/src/lib.rs:789:13
[INFO] [stderr]     |
[INFO] [stderr] 789 |             'dis_outer: loop {
[INFO] [stderr]     |             ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `blockdag` (lib) generated 7 warnings (run `cargo fix --lib -p blockdag` to apply 6 suggestions)
[INFO] [stderr] warning: `blockdag` (lib test) generated 8 warnings (7 duplicates)
[INFO] [stderr]     Finished `test` profile [optimized + debuginfo] target(s) in 0.02s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/blockdag-5e563c8d613d4923)
[INFO] [stdout] 
[INFO] [stdout] running 8 tests
[INFO] [stdout] test tests::test_anticone ... ok
[INFO] [stdout] test tests::test_fig3 ... ok
[INFO] [stdout] test tests::test_fig4 ... ok
[INFO] [stdout] test tests::test_fig_x2 ... ok
[INFO] [stdout] test tests::test_fig_x1 ... ok
[INFO] [stdout] test tests::test_fig_x3 ... ok
[INFO] [stdout] test tests::test_nodes_sync ... ok
[INFO] [stdout] test tests::test_add_block ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 20.11s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/godag-b9b852689ef4fd83)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests blockdag
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test blockdag/src/blockdag/block.rs - blockdag::block::get_stpq (line 180) ... FAILED
[INFO] [stdout] test blockdag/src/blockdag/calcblue.rs - blockdag::calcblue::calc_blue (line 24) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- blockdag/src/blockdag/block.rs - blockdag::block::get_stpq (line 180) stdout ----
[INFO] [stdout] error: expected item, found keyword `where`
[INFO] [stdout]    --> blockdag/src/blockdag/block.rs:181:1
[INFO] [stdout]     |
[INFO] [stdout] 181 | where the score of a block is defined as the number of blue blocks in its past: score(B) := |BLUEk (past(B))|.
[INFO] [stdout]     | ^^^^^ expected item
[INFO] [stdout]     |
[INFO] [stdout]     = note: for a full list of items that can appear in modules, see <https://doc.rust-lang.org/reference/items.html>
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- blockdag/src/blockdag/calcblue.rs - blockdag::calcblue::calc_blue (line 24) stdout ----
[INFO] [stdout] error: character literal may only contain one codepoint
[INFO] [stdout]   --> blockdag/src/blockdag/calcblue.rs:25:7
[INFO] [stdout]    |
[INFO] [stdout] 25 | input 'block': a new added block to be calculated. before call this function, tips must have been updated for this new block.
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if you meant to write a string literal, use double quotes
[INFO] [stdout]    |
[INFO] [stdout] 25 - input 'block': a new added block to be calculated. before call this function, tips must have been updated for this new block.
[INFO] [stdout] 25 + input "block": a new added block to be calculated. before call this function, tips must have been updated for this new block.
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `!` or `::`, found `'block'`
[INFO] [stdout]   --> blockdag/src/blockdag/calcblue.rs:25:7
[INFO] [stdout]    |
[INFO] [stdout] 25 | input 'block': a new added block to be calculated. before call this function, tips must have been updated for this new block.
[INFO] [stdout]    |       ^^^^^^^ expected one of `!` or `::`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     blockdag/src/blockdag/block.rs - blockdag::block::get_stpq (line 180)
[INFO] [stdout]     blockdag/src/blockdag/calcblue.rs - blockdag::calcblue::calc_blue (line 24)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `-p blockdag --doc`
[INFO] running `Command { std: "docker" "inspect" "a8457e38f2024ee532428f23237ef0baed643f639ce375de549227536d46e52c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a8457e38f2024ee532428f23237ef0baed643f639ce375de549227536d46e52c", kill_on_drop: false }`
[INFO] [stdout] a8457e38f2024ee532428f23237ef0baed643f639ce375de549227536d46e52c
