[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#b8ee37b59c6e1f39bae18b85e057975ab0d89308 for pr-139587-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsandptel%2Fpratt-lexer" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sandptel/pratt-lexer on toolchain b8ee37b59c6e1f39bae18b85e057975ab0d89308 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b8ee37b59c6e1f39bae18b85e057975ab0d89308" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-5-tc2/source/Cargo.toml [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" "+b8ee37b59c6e1f39bae18b85e057975ab0d89308" "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-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+b8ee37b59c6e1f39bae18b85e057975ab0d89308" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 45a82d12f59a7470e17ac6b0660ebd4fb8212d47ede828ccad7ff74330e575e9 [INFO] running `Command { std: "docker" "start" "-a" "45a82d12f59a7470e17ac6b0660ebd4fb8212d47ede828ccad7ff74330e575e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "45a82d12f59a7470e17ac6b0660ebd4fb8212d47ede828ccad7ff74330e575e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45a82d12f59a7470e17ac6b0660ebd4fb8212d47ede828ccad7ff74330e575e9", kill_on_drop: false }` [INFO] [stdout] 45a82d12f59a7470e17ac6b0660ebd4fb8212d47ede828ccad7ff74330e575e9 [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+b8ee37b59c6e1f39bae18b85e057975ab0d89308" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed190dd971c2a2fc54113c3e039603fc0173f683a2f91bceb99f43e4df29d818 [INFO] running `Command { std: "docker" "start" "-a" "ed190dd971c2a2fc54113c3e039603fc0173f683a2f91bceb99f43e4df29d818", 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)]` 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: 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)]` 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 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)]` 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)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [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)]` on by default [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)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] running `Command { std: "docker" "inspect" "ed190dd971c2a2fc54113c3e039603fc0173f683a2f91bceb99f43e4df29d818", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed190dd971c2a2fc54113c3e039603fc0173f683a2f91bceb99f43e4df29d818", kill_on_drop: false }` [INFO] [stdout] ed190dd971c2a2fc54113c3e039603fc0173f683a2f91bceb99f43e4df29d818