[INFO] cloning repository https://github.com/rzhikharevich/defunct [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rzhikharevich/defunct" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frzhikharevich%2Fdefunct", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frzhikharevich%2Fdefunct'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6dba3193a780bb1fee0da03d660e6f99427e213a [INFO] checking rzhikharevich/defunct against try#8de4b308b608cded0ebccf658a0fc719bce87d4e for pr-89056 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frzhikharevich%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/rzhikharevich/defunct on toolchain 8de4b308b608cded0ebccf658a0fc719bce87d4e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rzhikharevich/defunct [INFO] finished tweaking git repo https://github.com/rzhikharevich/defunct [INFO] tweaked toml for git repo https://github.com/rzhikharevich/defunct written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/rzhikharevich/defunct already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num-complex v0.1.39 [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e3758c44324423153f19570ae61c98c3b0c42ecdc2fddb8a6ea3d69e938105e0 [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" "e3758c44324423153f19570ae61c98c3b0c42ecdc2fddb8a6ea3d69e938105e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3758c44324423153f19570ae61c98c3b0c42ecdc2fddb8a6ea3d69e938105e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3758c44324423153f19570ae61c98c3b0c42ecdc2fddb8a6ea3d69e938105e0", kill_on_drop: false }` [INFO] [stdout] e3758c44324423153f19570ae61c98c3b0c42ecdc2fddb8a6ea3d69e938105e0 [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 746801e1a32f71d65044929f8e73660d7ef0b959bf4155500efcdf27fd18e20f [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" "746801e1a32f71d65044929f8e73660d7ef0b959bf4155500efcdf27fd18e20f", kill_on_drop: false }` [INFO] [stderr] Checking num-traits v0.1.40 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking libc v0.2.26 [INFO] [stderr] Checking unicode-segmentation v1.2.0 [INFO] [stderr] Checking num-integer v0.1.35 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Checking num-iter v0.1.34 [INFO] [stderr] Checking num-bigint v0.1.40 [INFO] [stderr] Checking num-complex v0.1.39 [INFO] [stderr] Checking num-rational v0.1.39 [INFO] [stderr] Checking num v0.1.40 [INFO] [stderr] Checking defunct v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/utils.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / macro_rules! opt_err { [INFO] [stdout] 13 | | ($x:expr) => ( [INFO] [stdout] 14 | | match $x { [INFO] [stdout] 15 | | Some(y) => y, [INFO] [stdout] ... | [INFO] [stdout] 18 | | ) [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/tok.rs:338:13 [INFO] [stdout] | [INFO] [stdout] 338 | 'a' ... 'z' | 'A' ... 'Z' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/tok.rs:338:27 [INFO] [stdout] | [INFO] [stdout] 338 | 'a' ... 'z' | 'A' ... 'Z' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/tok.rs:345:13 [INFO] [stdout] | [INFO] [stdout] 345 | '0' ... '9' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/parser/mod.rs:268:15 [INFO] [stdout] | [INFO] [stdout] 268 | -> Result<(&'a str), ()> [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 268 - -> Result<(&'a str), ()> [INFO] [stdout] 268 + -> Result<&'a str, ()> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/utils.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / macro_rules! opt_err { [INFO] [stdout] 13 | | ($x:expr) => ( [INFO] [stdout] 14 | | match $x { [INFO] [stdout] 15 | | Some(y) => y, [INFO] [stdout] ... | [INFO] [stdout] 18 | | ) [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/tok.rs:338:13 [INFO] [stdout] | [INFO] [stdout] 338 | 'a' ... 'z' | 'A' ... 'Z' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/tok.rs:338:27 [INFO] [stdout] | [INFO] [stdout] 338 | 'a' ... 'z' | 'A' ... 'Z' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/tok.rs:345:13 [INFO] [stdout] | [INFO] [stdout] 345 | '0' ... '9' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/parser/mod.rs:268:15 [INFO] [stdout] | [INFO] [stdout] 268 | -> Result<(&'a str), ()> [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 268 - -> Result<(&'a str), ()> [INFO] [stdout] 268 + -> Result<&'a str, ()> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `errors` [INFO] [stdout] --> src/parser/expr.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | errors: &mut Vec<(Location, Error)>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_errors` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `errors` [INFO] [stdout] --> src/parser/expr.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | errors: &mut Vec<(Location, Error)>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_errors` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `StrLit` [INFO] [stdout] --> src/tok.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | StrLit(Vec>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_error` [INFO] [stdout] --> src/tok.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn is_error(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_ok` [INFO] [stdout] --> src/tok.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn is_ok(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Str` [INFO] [stdout] --> src/tok.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | Str(&'a str), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Esc` [INFO] [stdout] --> src/tok.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | Esc(char), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `arg_ids` [INFO] [stdout] --> src/parser/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | arg_ids: Vec<&'a str>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `stmts` [INFO] [stdout] --> src/parser/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | stmts: Vec<(Location, Stmt<'a>)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ret_expr` [INFO] [stdout] --> src/parser/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | ret_expr: (Location, Expr<'a>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `operator` [INFO] [stdout] --> src/parser/mod.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | operator: BinOperator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `left` [INFO] [stdout] --> src/parser/mod.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | left: Expr<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `right` [INFO] [stdout] --> src/parser/mod.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | right: Expr<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Tok` [INFO] [stdout] --> src/parser/mod.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | Tok(TokErrorInfo), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Lit` [INFO] [stdout] --> src/parser/mod.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | Lit, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `StrLit` [INFO] [stdout] --> src/tok.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | StrLit(Vec>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_error` [INFO] [stdout] --> src/tok.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn is_error(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_ok` [INFO] [stdout] --> src/tok.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn is_ok(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Str` [INFO] [stdout] --> src/tok.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | Str(&'a str), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Esc` [INFO] [stdout] --> src/tok.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | Esc(char), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `arg_ids` [INFO] [stdout] --> src/parser/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | arg_ids: Vec<&'a str>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `stmts` [INFO] [stdout] --> src/parser/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | stmts: Vec<(Location, Stmt<'a>)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ret_expr` [INFO] [stdout] --> src/parser/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | ret_expr: (Location, Expr<'a>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `operator` [INFO] [stdout] --> src/parser/mod.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | operator: BinOperator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `left` [INFO] [stdout] --> src/parser/mod.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | left: Expr<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `right` [INFO] [stdout] --> src/parser/mod.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | right: Expr<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Tok` [INFO] [stdout] --> src/parser/mod.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | Tok(TokErrorInfo), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Lit` [INFO] [stdout] --> src/parser/mod.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | Lit, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.84s [INFO] running `Command { std: "docker" "inspect" "746801e1a32f71d65044929f8e73660d7ef0b959bf4155500efcdf27fd18e20f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "746801e1a32f71d65044929f8e73660d7ef0b959bf4155500efcdf27fd18e20f", kill_on_drop: false }` [INFO] [stdout] 746801e1a32f71d65044929f8e73660d7ef0b959bf4155500efcdf27fd18e20f