[INFO] cloning repository https://github.com/kfkonrad/kfkscript-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kfkonrad/kfkscript-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkfkonrad%2Fkfkscript-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkfkonrad%2Fkfkscript-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2095663f224ec7a28a58eb29d1039d38ae2f030c [INFO] testing kfkonrad/kfkscript-rust against master#552a959051cebf8f88a8f558399baf733bec9ce0 for pr-136932 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkfkonrad%2Fkfkscript-rust" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kfkonrad/kfkscript-rust on toolchain 552a959051cebf8f88a8f558399baf733bec9ce0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kfkonrad/kfkscript-rust [INFO] finished tweaking git repo https://github.com/kfkonrad/kfkscript-rust [INFO] tweaked toml for git repo https://github.com/kfkonrad/kfkscript-rust written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kfkonrad/kfkscript-rust 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" "+552a959051cebf8f88a8f558399baf733bec9ce0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 13a1c1a306116c87434b1b3d9cbf3f62071cb0d6ae4a8ec8e41109a769476ffe [INFO] running `Command { std: "docker" "start" "-a" "13a1c1a306116c87434b1b3d9cbf3f62071cb0d6ae4a8ec8e41109a769476ffe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "13a1c1a306116c87434b1b3d9cbf3f62071cb0d6ae4a8ec8e41109a769476ffe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13a1c1a306116c87434b1b3d9cbf3f62071cb0d6ae4a8ec8e41109a769476ffe", kill_on_drop: false }` [INFO] [stdout] 13a1c1a306116c87434b1b3d9cbf3f62071cb0d6ae4a8ec8e41109a769476ffe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4bb5b0c384b2ffc5f160295857dbe4e125f86e970a72e0e56050e89ec42ee061 [INFO] running `Command { std: "docker" "start" "-a" "4bb5b0c384b2ffc5f160295857dbe4e125f86e970a72e0e56050e89ec42ee061", kill_on_drop: false }` [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling cc v1.0.99 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling anstyle-query v1.1.0 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Compiling clap_lex v0.7.1 [INFO] [stderr] Compiling miniz_oxide v0.7.3 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling clap_builder v4.5.7 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling tracing-error v0.2.0 [INFO] [stderr] Compiling color-spantrace v0.2.1 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling color-eyre v0.6.3 [INFO] [stderr] Compiling clap_derive v4.5.5 [INFO] [stderr] Compiling clap v4.5.7 [INFO] [stderr] Compiling kfkscript-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/rust/control_flow.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | token::{self, Token}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/rust/interpreter.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 105 | continue; [INFO] [stdout] | -------- any code following this expression is unreachable [INFO] [stdout] 106 | / if let Token::Keyword(kw) = next_token { [INFO] [stdout] 107 | | if kw.lexem == "end" || kw.lexem == "else" { [INFO] [stdout] 108 | | println!("foo {:?}", kw.lexem); [INFO] [stdout] ... | [INFO] [stdout] 118 | | } [INFO] [stdout] | |_________________^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next_token` [INFO] [stdout] --> src/rust/interpreter.rs:100:20 [INFO] [stdout] | [INFO] [stdout] 100 | while let Some(next_token) = token_iter.clone().peek() { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_token` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hurenmüll` is never used [INFO] [stdout] --> src/rust/control_flow.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn hurenmüll( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ret` is never read [INFO] [stdout] --> src/rust/expression.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct Scope { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 77 | pub variables: HashMap, [INFO] [stdout] 78 | pub ret: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Scope` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.99s [INFO] running `Command { std: "docker" "inspect" "4bb5b0c384b2ffc5f160295857dbe4e125f86e970a72e0e56050e89ec42ee061", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bb5b0c384b2ffc5f160295857dbe4e125f86e970a72e0e56050e89ec42ee061", kill_on_drop: false }` [INFO] [stdout] 4bb5b0c384b2ffc5f160295857dbe4e125f86e970a72e0e56050e89ec42ee061 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f09b4d96388e88a724bdfaa8cc9f4005c0dfcfc4e059870ed69838ee296ceae [INFO] running `Command { std: "docker" "start" "-a" "3f09b4d96388e88a724bdfaa8cc9f4005c0dfcfc4e059870ed69838ee296ceae", kill_on_drop: false }` [INFO] [stderr] Compiling kfkscript-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/rust/control_flow.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | token::{self, Token}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/rust/interpreter.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 105 | continue; [INFO] [stdout] | -------- any code following this expression is unreachable [INFO] [stdout] 106 | / if let Token::Keyword(kw) = next_token { [INFO] [stdout] 107 | | if kw.lexem == "end" || kw.lexem == "else" { [INFO] [stdout] 108 | | println!("foo {:?}", kw.lexem); [INFO] [stdout] ... | [INFO] [stdout] 118 | | } [INFO] [stdout] | |_________________^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next_token` [INFO] [stdout] --> src/rust/interpreter.rs:100:20 [INFO] [stdout] | [INFO] [stdout] 100 | while let Some(next_token) = token_iter.clone().peek() { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_token` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hurenmüll` is never used [INFO] [stdout] --> src/rust/control_flow.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn hurenmüll( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ret` is never read [INFO] [stdout] --> src/rust/expression.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct Scope { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 77 | pub variables: HashMap, [INFO] [stdout] 78 | pub ret: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Scope` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.52s [INFO] running `Command { std: "docker" "inspect" "3f09b4d96388e88a724bdfaa8cc9f4005c0dfcfc4e059870ed69838ee296ceae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f09b4d96388e88a724bdfaa8cc9f4005c0dfcfc4e059870ed69838ee296ceae", kill_on_drop: false }` [INFO] [stdout] 3f09b4d96388e88a724bdfaa8cc9f4005c0dfcfc4e059870ed69838ee296ceae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c8133dac181c1d92fbab1c431c9b9b275181ebc4571d294b5ca8fbdcd5343ee4 [INFO] running `Command { std: "docker" "start" "-a" "c8133dac181c1d92fbab1c431c9b9b275181ebc4571d294b5ca8fbdcd5343ee4", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `self` [INFO] [stderr] --> src/rust/control_flow.rs:5:13 [INFO] [stderr] | [INFO] [stderr] 5 | token::{self, Token}, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/rust/interpreter.rs:106:17 [INFO] [stderr] | [INFO] [stderr] 105 | continue; [INFO] [stderr] | -------- any code following this expression is unreachable [INFO] [stderr] 106 | / if let Token::Keyword(kw) = next_token { [INFO] [stderr] 107 | | if kw.lexem == "end" || kw.lexem == "else" { [INFO] [stderr] 108 | | println!("foo {:?}", kw.lexem); [INFO] [stderr] ... | [INFO] [stderr] 118 | | } [INFO] [stderr] | |_________________^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `next_token` [INFO] [stderr] --> src/rust/interpreter.rs:100:20 [INFO] [stderr] | [INFO] [stderr] 100 | while let Some(next_token) = token_iter.clone().peek() { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_token` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `hurenmüll` is never used [INFO] [stderr] --> src/rust/control_flow.rs:62:8 [INFO] [stderr] | [INFO] [stderr] 62 | pub fn hurenmüll( [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `ret` is never read [INFO] [stderr] --> src/rust/expression.rs:78:9 [INFO] [stderr] | [INFO] [stderr] 76 | pub struct Scope { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 77 | pub variables: HashMap, [INFO] [stderr] 78 | pub ret: Option, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Scope` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `kfkscript-rust` (bin "kfkscript" test) generated 5 warnings (run `cargo fix --bin "kfkscript" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/rust/main.rs (/opt/rustwide/target/debug/deps/kfkscript-7d987bdfb1c4bd2a) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c8133dac181c1d92fbab1c431c9b9b275181ebc4571d294b5ca8fbdcd5343ee4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8133dac181c1d92fbab1c431c9b9b275181ebc4571d294b5ca8fbdcd5343ee4", kill_on_drop: false }` [INFO] [stdout] c8133dac181c1d92fbab1c431c9b9b275181ebc4571d294b5ca8fbdcd5343ee4