[INFO] cloning repository https://github.com/sandptel/pratt-lexer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sandptel/pratt-lexer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsandptel%2Fpratt-lexer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsandptel%2Fpratt-lexer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 48f972b7d99854c443bd4ec99ce89de8a6323b75 [INFO] checking sandptel/pratt-lexer against try#438eb4c1a1c3841523d7f672601e8adbe04cff28 for pr-147589-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsandptel%2Fpratt-lexer" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sandptel/pratt-lexer [INFO] finished tweaking git repo https://github.com/sandptel/pratt-lexer [INFO] tweaked toml for git repo https://github.com/sandptel/pratt-lexer written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sandptel/pratt-lexer on toolchain 438eb4c1a1c3841523d7f672601e8adbe04cff28 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sandptel/pratt-lexer 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" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d3f2b73bcf50c0637aae485aea7c150c6327d6b541f53be1c7a2f1b04da0b60c [INFO] running `Command { std: "docker" "start" "-a" "d3f2b73bcf50c0637aae485aea7c150c6327d6b541f53be1c7a2f1b04da0b60c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d3f2b73bcf50c0637aae485aea7c150c6327d6b541f53be1c7a2f1b04da0b60c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3f2b73bcf50c0637aae485aea7c150c6327d6b541f53be1c7a2f1b04da0b60c", kill_on_drop: false }` [INFO] [stdout] d3f2b73bcf50c0637aae485aea7c150c6327d6b541f53be1c7a2f1b04da0b60c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 90c065b22085cd033b3caacd048013fcacc22521d5004e3ca5e2a16f0a0457c8 [INFO] running `Command { std: "docker" "start" "-a" "90c065b22085cd033b3caacd048013fcacc22521d5004e3ca5e2a16f0a0457c8", kill_on_drop: false }` [INFO] [stderr] Checking interpreter-pratt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/main.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | Token::Atom(s)=> todo!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l_bp` [INFO] [stdout] --> src/main.rs:66:10 [INFO] [stdout] | [INFO] [stdout] 66 | let (l_bp,r_bp) = infix_binding_power(op); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_l_bp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r_bp` [INFO] [stdout] --> src/main.rs:66:15 [INFO] [stdout] | [INFO] [stdout] 66 | let (l_bp,r_bp) = infix_binding_power(op); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_r_bp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Cons` is never constructed [INFO] [stdout] --> src/main.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 87 | enum S{ [INFO] [stdout] | - variant in this enum [INFO] [stdout] 88 | Atom(char), [INFO] [stdout] 89 | Cons(char,Vec) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/main.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | Token::Atom(s)=> todo!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l_bp` [INFO] [stdout] --> src/main.rs:66:10 [INFO] [stdout] | [INFO] [stdout] 66 | let (l_bp,r_bp) = infix_binding_power(op); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_l_bp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r_bp` [INFO] [stdout] --> src/main.rs:66:15 [INFO] [stdout] | [INFO] [stdout] 66 | let (l_bp,r_bp) = infix_binding_power(op); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_r_bp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 102 | write!(f,"{}",s); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 102 | let _ = write!(f,"{}",s); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | Atom(char), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 6 - Atom(char), [INFO] [stdout] 6 + Atom(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | Op(char), [INFO] [stdout] | -- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 - Op(char), [INFO] [stdout] 7 + Op(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `next` is never used [INFO] [stdout] --> src/main.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Lexer [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn next(&mut self) -> Token [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expr` is never used [INFO] [stdout] --> src/main.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn expr(input:&str) -> S [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expr_bp` is never used [INFO] [stdout] --> src/main.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn expr_bp(lexer:&mut Lexer) -> S [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `infix_binding_power` is never used [INFO] [stdout] --> src/main.rs:74:4 [INFO] [stdout] | [INFO] [stdout] 74 | fn infix_binding_power(operator: char)->(u8,u8) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `S` is never used [INFO] [stdout] --> src/main.rs:87:6 [INFO] [stdout] | [INFO] [stdout] 87 | enum S{ [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 102 | write!(f,"{}",s); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 102 | let _ = write!(f,"{}",s); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] running `Command { std: "docker" "inspect" "90c065b22085cd033b3caacd048013fcacc22521d5004e3ca5e2a16f0a0457c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90c065b22085cd033b3caacd048013fcacc22521d5004e3ca5e2a16f0a0457c8", kill_on_drop: false }` [INFO] [stdout] 90c065b22085cd033b3caacd048013fcacc22521d5004e3ca5e2a16f0a0457c8