[INFO] fetching crate autolang 0.1.0... [INFO] checking autolang-0.1.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate autolang 0.1.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate autolang 0.1.0 [INFO] finished tweaking crates.io crate autolang 0.1.0 [INFO] tweaked toml for crates.io crate autolang 0.1.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate autolang 0.1.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate autolang 0.1.0 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap v4.5.17 [INFO] [stderr] Downloaded clap_builder v4.5.17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 05c686bc1be007d4549628d332e648b8f97069e544a42f8f7c531448e3586c49 [INFO] running `Command { std: "docker" "start" "-a" "05c686bc1be007d4549628d332e648b8f97069e544a42f8f7c531448e3586c49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "05c686bc1be007d4549628d332e648b8f97069e544a42f8f7c531448e3586c49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05c686bc1be007d4549628d332e648b8f97069e544a42f8f7c531448e3586c49", kill_on_drop: false }` [INFO] [stdout] 05c686bc1be007d4549628d332e648b8f97069e544a42f8f7c531448e3586c49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 46747a0d6e19f3f1461ae10d7e45fdfcce53a173228121ed98c5c66787059104 [INFO] running `Command { std: "docker" "start" "-a" "46747a0d6e19f3f1461ae10d7e45fdfcce53a173228121ed98c5c66787059104", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking clap_builder v4.5.17 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking fd-lock v4.0.2 [INFO] [stderr] Checking rustyline v14.0.0 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking clap v4.5.17 [INFO] [stderr] Checking autolang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function `nil` is never used [INFO] [stdout] --> src/token.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl Token { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn nil(pos: Pos) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `tokens` is never used [INFO] [stdout] --> src/lexer.rs:235:8 [INFO] [stdout] | [INFO] [stdout] 149 | impl<'a> Lexer<'a> { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 235 | fn tokens(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `r` is never read [INFO] [stdout] --> src/parser.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct PostfixPrec { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 8 | l: u8, [INFO] [stdout] 9 | r: (), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `l` is never read [INFO] [stdout] --> src/parser.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct PrefixPrec { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 18 | l: (), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PREC_OR` is never used [INFO] [stdout] --> src/parser.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | const PREC_OR: InfixPrec = infix_prec(2); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PREC_AND` is never used [INFO] [stdout] --> src/parser.rs:40:7 [INFO] [stdout] | [INFO] [stdout] 40 | const PREC_AND: InfixPrec = infix_prec(3); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PREC_ATOM` is never used [INFO] [stdout] --> src/parser.rs:50:7 [INFO] [stdout] | [INFO] [stdout] 50 | const PREC_ATOM: InfixPrec = infix_prec(13); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `global_scope`, `get_global`, `put_symbol`, and `get_symbol` are never used [INFO] [stdout] --> src/scope.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Universe { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn global_scope(&self) -> &Scope { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn get_global(&self, name: &str) -> Value { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn put_symbol(&mut self, name: &str, meta: Meta) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn get_symbol(&self, name: &str) -> Option<&Meta> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/scope.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | Var(ast::Var), // TODO: Add more info, like type, etc. [INFO] [stdout] | --- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 79 - Var(ast::Var), // TODO: Add more info, like type, etc. [INFO] [stdout] 79 + Var(()), // TODO: Add more info, like type, etc. [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/scope.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | Fn(ast::Fn), [INFO] [stdout] | -- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 80 - Fn(ast::Fn), [INFO] [stdout] 80 + Fn(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_symbol` is never used [INFO] [stdout] --> src/scope.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 88 | impl Scope { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn get_symbol(&self, name: &str) -> Option<&Meta> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PREC_Range` should have an upper case name [INFO] [stdout] --> src/parser.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | const PREC_Range: InfixPrec = infix_prec(6); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 43 - const PREC_Range: InfixPrec = infix_prec(6); [INFO] [stdout] 43 + const PREC_RANGE: InfixPrec = infix_prec(6); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `nil` is never used [INFO] [stdout] --> src/token.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl Token { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn nil(pos: Pos) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `r` is never read [INFO] [stdout] --> src/parser.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct PostfixPrec { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 8 | l: u8, [INFO] [stdout] 9 | r: (), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `l` is never read [INFO] [stdout] --> src/parser.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct PrefixPrec { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 18 | l: (), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PREC_OR` is never used [INFO] [stdout] --> src/parser.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | const PREC_OR: InfixPrec = infix_prec(2); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PREC_AND` is never used [INFO] [stdout] --> src/parser.rs:40:7 [INFO] [stdout] | [INFO] [stdout] 40 | const PREC_AND: InfixPrec = infix_prec(3); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PREC_ATOM` is never used [INFO] [stdout] --> src/parser.rs:50:7 [INFO] [stdout] | [INFO] [stdout] 50 | const PREC_ATOM: InfixPrec = infix_prec(13); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `global_scope`, `get_global`, `put_symbol`, and `get_symbol` are never used [INFO] [stdout] --> src/scope.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Universe { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn global_scope(&self) -> &Scope { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn get_global(&self, name: &str) -> Value { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn put_symbol(&mut self, name: &str, meta: Meta) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn get_symbol(&self, name: &str) -> Option<&Meta> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/scope.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | Var(ast::Var), // TODO: Add more info, like type, etc. [INFO] [stdout] | --- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 79 - Var(ast::Var), // TODO: Add more info, like type, etc. [INFO] [stdout] 79 + Var(()), // TODO: Add more info, like type, etc. [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/scope.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | Fn(ast::Fn), [INFO] [stdout] | -- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 80 - Fn(ast::Fn), [INFO] [stdout] 80 + Fn(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_symbol` is never used [INFO] [stdout] --> src/scope.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 88 | impl Scope { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn get_symbol(&self, name: &str) -> Option<&Meta> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PREC_Range` should have an upper case name [INFO] [stdout] --> src/parser.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | const PREC_Range: InfixPrec = infix_prec(6); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 43 - const PREC_Range: InfixPrec = infix_prec(6); [INFO] [stdout] 43 + const PREC_RANGE: InfixPrec = infix_prec(6); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.74s [INFO] running `Command { std: "docker" "inspect" "46747a0d6e19f3f1461ae10d7e45fdfcce53a173228121ed98c5c66787059104", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46747a0d6e19f3f1461ae10d7e45fdfcce53a173228121ed98c5c66787059104", kill_on_drop: false }` [INFO] [stdout] 46747a0d6e19f3f1461ae10d7e45fdfcce53a173228121ed98c5c66787059104