[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 master#b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18 for pr-79470 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoderstroff%2Fdefunct" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/soderstroff/defunct on toolchain b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-4/source/Cargo.toml [INFO] crate git repo https://github.com/soderstroff/defunct already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-4/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4ea3d76629d9ed479487e714df35b2e7aa9185477b20d72e01887528c3f5b1f3 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4ea3d76629d9ed479487e714df35b2e7aa9185477b20d72e01887528c3f5b1f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ea3d76629d9ed479487e714df35b2e7aa9185477b20d72e01887528c3f5b1f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ea3d76629d9ed479487e714df35b2e7aa9185477b20d72e01887528c3f5b1f3", kill_on_drop: false }` [INFO] [stdout] 4ea3d76629d9ed479487e714df35b2e7aa9185477b20d72e01887528c3f5b1f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 11c94250eef3a8ed0c4232a900d1cdec5a0bca478c7b8d1708603d2ac1501b62 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "11c94250eef3a8ed0c4232a900d1cdec5a0bca478c7b8d1708603d2ac1501b62", kill_on_drop: false }` [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] | ^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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 `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 a macro (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 `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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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 `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 a macro (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 `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 a macro (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: `#[warn(panic_fmt)]` on by default [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in a future Rust edition [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: 6 warnings emitted [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: `#[warn(panic_fmt)]` on by default [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in a future Rust edition [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: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.97s [INFO] running `Command { std: "docker" "inspect" "11c94250eef3a8ed0c4232a900d1cdec5a0bca478c7b8d1708603d2ac1501b62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11c94250eef3a8ed0c4232a900d1cdec5a0bca478c7b8d1708603d2ac1501b62", kill_on_drop: false }` [INFO] [stdout] 11c94250eef3a8ed0c4232a900d1cdec5a0bca478c7b8d1708603d2ac1501b62