[INFO] cloning repository https://github.com/anandijain/matcher2.rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anandijain/matcher2.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanandijain%2Fmatcher2.rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanandijain%2Fmatcher2.rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 40d230489ded92f89ae752482debbf7d76665c18 [INFO] checking anandijain/matcher2.rs against try#e5b0618d996a6a3941e423fd3e170737b8dbdc92 for pr-151822 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanandijain%2Fmatcher2.rs" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/anandijain/matcher2.rs [INFO] finished tweaking git repo https://github.com/anandijain/matcher2.rs [INFO] tweaked toml for git repo https://github.com/anandijain/matcher2.rs written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/anandijain/matcher2.rs on toolchain e5b0618d996a6a3941e423fd3e170737b8dbdc92 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e5b0618d996a6a3941e423fd3e170737b8dbdc92" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/anandijain/matcher2.rs 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" "+e5b0618d996a6a3941e423fd3e170737b8dbdc92" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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 peg v0.8.1 [INFO] [stderr] Downloaded peg-runtime v0.8.1 [INFO] [stderr] Downloaded peg-macros v0.8.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:29356a839a4d14451438f794ce8414e707d72405f44418718d724d22562fe786" "/opt/rustwide/cargo-home/bin/cargo" "+e5b0618d996a6a3941e423fd3e170737b8dbdc92" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a583086fd1b0856a9c24b8a8675d1e8bf639728b094e1eea7740bf4c2888a286 [INFO] running `Command { std: "docker" "start" "-a" "a583086fd1b0856a9c24b8a8675d1e8bf639728b094e1eea7740bf4c2888a286", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a583086fd1b0856a9c24b8a8675d1e8bf639728b094e1eea7740bf4c2888a286", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a583086fd1b0856a9c24b8a8675d1e8bf639728b094e1eea7740bf4c2888a286", kill_on_drop: false }` [INFO] [stdout] a583086fd1b0856a9c24b8a8675d1e8bf639728b094e1eea7740bf4c2888a286 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:29356a839a4d14451438f794ce8414e707d72405f44418718d724d22562fe786" "/opt/rustwide/cargo-home/bin/cargo" "+e5b0618d996a6a3941e423fd3e170737b8dbdc92" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3383c0efbc83beeb27cb9812268e1caf4658de9b51878dd156943aa8459109cb [INFO] running `Command { std: "docker" "start" "-a" "3383c0efbc83beeb27cb9812268e1caf4658de9b51878dd156943aa8459109cb", kill_on_drop: false }` [INFO] [stderr] Compiling peg-runtime v0.8.1 [INFO] [stderr] Compiling peg-macros v0.8.1 [INFO] [stderr] Checking peg v0.8.1 [INFO] [stderr] Checking matcher2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `f32::consts::E` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | f32::consts::E, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `f32::consts::E` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | f32::consts::E, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | let mut tmp_map = map.clone(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tmp_map` [INFO] [stdout] --> src/main.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | let mut tmp_map = map.clone(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tmp_map` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p_len` [INFO] [stdout] --> src/main.rs:184:21 [INFO] [stdout] | [INFO] [stdout] 184 | let p_len = ps.len(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_p_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p_name` [INFO] [stdout] --> src/main.rs:192:33 [INFO] [stdout] | [INFO] [stdout] 192 | ... let p_name = &ps[1]; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_p_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `phs` [INFO] [stdout] --> src/main.rs:227:32 [INFO] [stdout] | [INFO] [stdout] 227 | Expr::List(phs) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_phs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `head_ps` [INFO] [stdout] --> src/main.rs:280:36 [INFO] [stdout] | [INFO] [stdout] 280 | Expr::List(head_ps) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_head_ps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from_map` [INFO] [stdout] --> src/main.rs:299:49 [INFO] [stdout] | [INFO] [stdout] 299 | ... if let Some(from_map) = map.get(p_i) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_from_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from_map` [INFO] [stdout] --> src/main.rs:322:49 [INFO] [stdout] | [INFO] [stdout] 322 | ... if let Some(from_map) = map.get(p_i) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_from_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/main.rs:345:37 [INFO] [stdout] | [INFO] [stdout] 345 | ... let m = get_match(e_i, p_i, map); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected` [INFO] [stdout] --> src/main.rs:408:19 [INFO] [stdout] | [INFO] [stdout] 408 | let (ex, pat, expected) = ( [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/main.rs:414:9 [INFO] [stdout] | [INFO] [stdout] 414 | let m = get_match(&parse(ex), &parse(pat), &mut map); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list` is never used [INFO] [stdout] --> src/main.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn list(exprs: Vec) -> Expr { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | let mut tmp_map = map.clone(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tmp_map` [INFO] [stdout] --> src/main.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | let mut tmp_map = map.clone(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tmp_map` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p_len` [INFO] [stdout] --> src/main.rs:184:21 [INFO] [stdout] | [INFO] [stdout] 184 | let p_len = ps.len(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_p_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p_name` [INFO] [stdout] --> src/main.rs:192:33 [INFO] [stdout] | [INFO] [stdout] 192 | ... let p_name = &ps[1]; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_p_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `phs` [INFO] [stdout] --> src/main.rs:227:32 [INFO] [stdout] | [INFO] [stdout] 227 | Expr::List(phs) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_phs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `head_ps` [INFO] [stdout] --> src/main.rs:280:36 [INFO] [stdout] | [INFO] [stdout] 280 | Expr::List(head_ps) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_head_ps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from_map` [INFO] [stdout] --> src/main.rs:299:49 [INFO] [stdout] | [INFO] [stdout] 299 | ... if let Some(from_map) = map.get(p_i) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_from_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from_map` [INFO] [stdout] --> src/main.rs:322:49 [INFO] [stdout] | [INFO] [stdout] 322 | ... if let Some(from_map) = map.get(p_i) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_from_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/main.rs:345:37 [INFO] [stdout] | [INFO] [stdout] 345 | ... let m = get_match(e_i, p_i, map); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected` [INFO] [stdout] --> src/main.rs:408:19 [INFO] [stdout] | [INFO] [stdout] 408 | let (ex, pat, expected) = ( [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/main.rs:414:9 [INFO] [stdout] | [INFO] [stdout] 414 | let m = get_match(&parse(ex), &parse(pat), &mut map); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list` is never used [INFO] [stdout] --> src/main.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn list(exprs: Vec) -> Expr { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.85s [INFO] running `Command { std: "docker" "inspect" "3383c0efbc83beeb27cb9812268e1caf4658de9b51878dd156943aa8459109cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3383c0efbc83beeb27cb9812268e1caf4658de9b51878dd156943aa8459109cb", kill_on_drop: false }` [INFO] [stdout] 3383c0efbc83beeb27cb9812268e1caf4658de9b51878dd156943aa8459109cb