[INFO] cloning repository https://github.com/soderstroff/defunct [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/soderstroff/defunct" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoderstroff%2Fdefunct", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoderstroff%2Fdefunct'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a794b004ebac09034530bf6fc57da1bdbf33de42 [INFO] checking soderstroff/defunct against try#8c500c7cefd54fd11d57295f3771d576be9ee415 for pr-145113 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoderstroff%2Fdefunct" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/soderstroff/defunct [INFO] finished tweaking git repo https://github.com/soderstroff/defunct [INFO] tweaked toml for git repo https://github.com/soderstroff/defunct written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/soderstroff/defunct on toolchain 8c500c7cefd54fd11d57295f3771d576be9ee415 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c500c7cefd54fd11d57295f3771d576be9ee415" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/soderstroff/defunct 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" "+8c500c7cefd54fd11d57295f3771d576be9ee415" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+8c500c7cefd54fd11d57295f3771d576be9ee415" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2723653832f33efa8a3347c16fc0d7faaa4dfb35e3a3e11e6cf0171e7d46c44a [INFO] running `Command { std: "docker" "start" "-a" "2723653832f33efa8a3347c16fc0d7faaa4dfb35e3a3e11e6cf0171e7d46c44a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2723653832f33efa8a3347c16fc0d7faaa4dfb35e3a3e11e6cf0171e7d46c44a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2723653832f33efa8a3347c16fc0d7faaa4dfb35e3a3e11e6cf0171e7d46c44a", kill_on_drop: false }` [INFO] [stdout] 2723653832f33efa8a3347c16fc0d7faaa4dfb35e3a3e11e6cf0171e7d46c44a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+8c500c7cefd54fd11d57295f3771d576be9ee415" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 34f955cad63ecb740f6657489c3d803bc13b11f51b552f40032666c216ca0c1d [INFO] running `Command { std: "docker" "start" "-a" "34f955cad63ecb740f6657489c3d803bc13b11f51b552f40032666c216ca0c1d", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking lazy_static v0.1.11 [INFO] [stderr] Checking defunct v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/data.rs:288:26 [INFO] [stdout] | [INFO] [stdout] 288 | parent: Some((parent.clone())), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 288 - parent: Some((parent.clone())), [INFO] [stdout] 288 + parent: Some(parent.clone()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/main.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | _ => {;} [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/data.rs:288:26 [INFO] [stdout] | [INFO] [stdout] 288 | parent: Some((parent.clone())), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 288 - parent: Some((parent.clone())), [INFO] [stdout] 288 + parent: Some(parent.clone()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/main.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | _ => {;} [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/data.rs:272:1 [INFO] [stdout] | [INFO] [stdout] 272 | / lazy_static! { [INFO] [stdout] 273 | | static ref PRIMITIVES: HashMap Data> = { [INFO] [stdout] 274 | | let mut p: HashMap Data> = HashMap::new(); [INFO] [stdout] 275 | | for (ident, op) in vec!(("*", multiply as fn(&Data)->Data), ("+", add), ("exit", quit), ("<", lt), [INFO] [stdout] ... | [INFO] [stdout] 281 | | }; [INFO] [stdout] 282 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/data.rs:272:1 [INFO] [stdout] | [INFO] [stdout] 272 | / lazy_static! { [INFO] [stdout] 273 | | static ref PRIMITIVES: HashMap Data> = { [INFO] [stdout] 274 | | let mut p: HashMap Data> = HashMap::new(); [INFO] [stdout] 275 | | for (ident, op) in vec!(("*", multiply as fn(&Data)->Data), ("+", add), ("exit", quit), ("<", lt), [INFO] [stdout] ... | [INFO] [stdout] 281 | | }; [INFO] [stdout] 282 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/data.rs:272:1 [INFO] [stdout] | [INFO] [stdout] 272 | / lazy_static! { [INFO] [stdout] 273 | | static ref PRIMITIVES: HashMap Data> = { [INFO] [stdout] 274 | | let mut p: HashMap Data> = HashMap::new(); [INFO] [stdout] 275 | | for (ident, op) in vec!(("*", multiply as fn(&Data)->Data), ("+", add), ("exit", quit), ("<", lt), [INFO] [stdout] ... | [INFO] [stdout] 281 | | }; [INFO] [stdout] 282 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/data.rs:272:1 [INFO] [stdout] | [INFO] [stdout] 272 | / lazy_static! { [INFO] [stdout] 273 | | static ref PRIMITIVES: HashMap Data> = { [INFO] [stdout] 274 | | let mut p: HashMap Data> = HashMap::new(); [INFO] [stdout] 275 | | for (ident, op) in vec!(("*", multiply as fn(&Data)->Data), ("+", add), ("exit", quit), ("<", lt), [INFO] [stdout] ... | [INFO] [stdout] 281 | | }; [INFO] [stdout] 282 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | let mut stdin = std::io::stdin(); [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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | let mut stdin = std::io::stdin(); [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: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/data.rs:205:26 [INFO] [stdout] | [INFO] [stdout] 205 | _ => panic!("{} is not a function."), [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 205 | _ => panic!("{} is not a function.", ...), [INFO] [stdout] | +++++ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 205 | _ => panic!("{}", "{} is not a function."), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/data.rs:205:26 [INFO] [stdout] | [INFO] [stdout] 205 | _ => panic!("{} is not a function."), [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 205 | _ => panic!("{} is not a function.", ...), [INFO] [stdout] | +++++ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 205 | _ => panic!("{}", "{} is not a function."), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] running `Command { std: "docker" "inspect" "34f955cad63ecb740f6657489c3d803bc13b11f51b552f40032666c216ca0c1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34f955cad63ecb740f6657489c3d803bc13b11f51b552f40032666c216ca0c1d", kill_on_drop: false }` [INFO] [stdout] 34f955cad63ecb740f6657489c3d803bc13b11f51b552f40032666c216ca0c1d