[INFO] cloning repository https://github.com/abhijeetbhagat/krum [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/abhijeetbhagat/krum" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabhijeetbhagat%2Fkrum", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabhijeetbhagat%2Fkrum'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cd9af066de29ee92e754a061ce000021e720c657 [INFO] checking abhijeetbhagat/krum against master#9e293ae9f8abecb0be5105787d181518c9012a19 for pr-146440-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabhijeetbhagat%2Fkrum" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/abhijeetbhagat/krum [INFO] finished tweaking git repo https://github.com/abhijeetbhagat/krum [INFO] tweaked toml for git repo https://github.com/abhijeetbhagat/krum written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/abhijeetbhagat/krum on toolchain 9e293ae9f8abecb0be5105787d181518c9012a19 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/abhijeetbhagat/krum 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" "+9e293ae9f8abecb0be5105787d181518c9012a19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `krum` (manifest) generated 1 warning [INFO] [stderr] Blocking waiting for file lock on package cache [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-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8c7baeef7a41e4a3bc2e2ea7c678f59e65905c96403a63eaf2ec94bf9c788c7b [INFO] running `Command { std: "docker" "start" "-a" "8c7baeef7a41e4a3bc2e2ea7c678f59e65905c96403a63eaf2ec94bf9c788c7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8c7baeef7a41e4a3bc2e2ea7c678f59e65905c96403a63eaf2ec94bf9c788c7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c7baeef7a41e4a3bc2e2ea7c678f59e65905c96403a63eaf2ec94bf9c788c7b", kill_on_drop: false }` [INFO] [stdout] 8c7baeef7a41e4a3bc2e2ea7c678f59e65905c96403a63eaf2ec94bf9c788c7b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c4ccb3bb9097646f91b00ce76f10f5859726c64c836ea1bfc0b9b2ef4b56301 [INFO] running `Command { std: "docker" "start" "-a" "8c4ccb3bb9097646f91b00ce76f10f5859726c64c836ea1bfc0b9b2ef4b56301", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `krum` (manifest) generated 1 warning [INFO] [stderr] Checking krum v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `match_default_bindings` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(match_default_bindings)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/parser.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 29 | let mut exp = match self.get_cur_tok() { [INFO] [stdout] | _______________________- [INFO] [stdout] 30 | | Token::LeftParen => { [INFO] [stdout] 31 | | return Expression::Dummy [INFO] [stdout] ... | [INFO] [stdout] 42 | | _ => return Expression::Dummy [INFO] [stdout] 43 | | }; [INFO] [stdout] | |_________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 44 | return exp [INFO] [stdout] | ^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `match_default_bindings` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(match_default_bindings)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exp` [INFO] [stdout] --> src/parser.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut exp = match self.get_cur_tok() { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_exp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cur_tok_line`, `cur_tok_col`, and `src_len` are never read [INFO] [stdout] --> src/lexer.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Lexer<'a> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 4 | src : &'a [u8], [INFO] [stdout] 5 | cur_tok_line : usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 6 | cur_tok_col : usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 7 | i : usize, [INFO] [stdout] 8 | src_len : usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `expression` is never read [INFO] [stdout] --> src/ast.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Program { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 41 | expression : Expression [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cur_tok` is never read [INFO] [stdout] --> src/parser.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Parser<'a> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 6 | lexer : Lexer<'a>, [INFO] [stdout] 7 | cur_tok : Token, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parse_program` is never used [INFO] [stdout] --> src/parser.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl<'a> Parser<'a> { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | fn parse_program(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/parser.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 29 | let mut exp = match self.get_cur_tok() { [INFO] [stdout] | _______________________- [INFO] [stdout] 30 | | Token::LeftParen => { [INFO] [stdout] 31 | | return Expression::Dummy [INFO] [stdout] ... | [INFO] [stdout] 42 | | _ => return Expression::Dummy [INFO] [stdout] 43 | | }; [INFO] [stdout] | |_________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 44 | return exp [INFO] [stdout] | ^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exp` [INFO] [stdout] --> src/parser.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut exp = match self.get_cur_tok() { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_exp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cur_tok_line`, `cur_tok_col`, and `src_len` are never read [INFO] [stdout] --> src/lexer.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Lexer<'a> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 4 | src : &'a [u8], [INFO] [stdout] 5 | cur_tok_line : usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 6 | cur_tok_col : usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 7 | i : usize, [INFO] [stdout] 8 | src_len : usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `expression` is never read [INFO] [stdout] --> src/ast.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Program { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 41 | expression : Expression [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cur_tok` is never read [INFO] [stdout] --> src/parser.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Parser<'a> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 6 | lexer : Lexer<'a>, [INFO] [stdout] 7 | cur_tok : Token, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parse_program` is never used [INFO] [stdout] --> src/parser.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl<'a> Parser<'a> { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | fn parse_program(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] running `Command { std: "docker" "inspect" "8c4ccb3bb9097646f91b00ce76f10f5859726c64c836ea1bfc0b9b2ef4b56301", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c4ccb3bb9097646f91b00ce76f10f5859726c64c836ea1bfc0b9b2ef4b56301", kill_on_drop: false }` [INFO] [stdout] 8c4ccb3bb9097646f91b00ce76f10f5859726c64c836ea1bfc0b9b2ef4b56301