[INFO] cloning repository https://github.com/krstoff/defunct [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/krstoff/defunct" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrstoff%2Fdefunct", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrstoff%2Fdefunct'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 272eb3459cf66a1c0225e8fd9c5ac1e908ac5699 [INFO] checking krstoff/defunct against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrstoff%2Fdefunct" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/krstoff/defunct on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/krstoff/defunct [INFO] finished tweaking git repo https://github.com/krstoff/defunct [INFO] tweaked toml for git repo https://github.com/krstoff/defunct written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/krstoff/defunct already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-3/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ef919ab07d497f8bdcb6f70d76ad484ec963d045a268aa090512bb132e8045f0 [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" "ef919ab07d497f8bdcb6f70d76ad484ec963d045a268aa090512bb132e8045f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef919ab07d497f8bdcb6f70d76ad484ec963d045a268aa090512bb132e8045f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef919ab07d497f8bdcb6f70d76ad484ec963d045a268aa090512bb132e8045f0", kill_on_drop: false }` [INFO] [stdout] ef919ab07d497f8bdcb6f70d76ad484ec963d045a268aa090512bb132e8045f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c9a779f75963d94b74755fbbeabf36f1cd983bd677c8cffcca40263025a2df49 [INFO] running `Command { std: "docker" "start" "-a" "c9a779f75963d94b74755fbbeabf36f1cd983bd677c8cffcca40263025a2df49", kill_on_drop: false }` [INFO] [stderr] Checking lazy_static v0.1.16 [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.51s [INFO] running `Command { std: "docker" "inspect" "c9a779f75963d94b74755fbbeabf36f1cd983bd677c8cffcca40263025a2df49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9a779f75963d94b74755fbbeabf36f1cd983bd677c8cffcca40263025a2df49", kill_on_drop: false }` [INFO] [stdout] c9a779f75963d94b74755fbbeabf36f1cd983bd677c8cffcca40263025a2df49