[INFO] cloning repository https://github.com/kukininj/rlox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kukininj/rlox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkukininj%2Frlox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkukininj%2Frlox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 51c30ba7d91606dd384a672353d768107328a8f8 [INFO] checking kukininj/rlox against try#b8ee37b59c6e1f39bae18b85e057975ab0d89308 for pr-139587-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkukininj%2Frlox" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kukininj/rlox 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/kukininj/rlox [INFO] finished tweaking git repo https://github.com/kukininj/rlox [INFO] tweaked toml for git repo https://github.com/kukininj/rlox written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/kukininj/rlox 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] f6e1164c320d30f31ab8e1dff10e8b9351e656bf027c27c8cff31a61aa57bc07 [INFO] running `Command { std: "docker" "start" "-a" "f6e1164c320d30f31ab8e1dff10e8b9351e656bf027c27c8cff31a61aa57bc07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f6e1164c320d30f31ab8e1dff10e8b9351e656bf027c27c8cff31a61aa57bc07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6e1164c320d30f31ab8e1dff10e8b9351e656bf027c27c8cff31a61aa57bc07", kill_on_drop: false }` [INFO] [stdout] f6e1164c320d30f31ab8e1dff10e8b9351e656bf027c27c8cff31a61aa57bc07 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 0fbc669678ecafeb6f3b41d6d7aa5712101df45501617a321761f2a280a6a589 [INFO] running `Command { std: "docker" "start" "-a" "0fbc669678ecafeb6f3b41d6d7aa5712101df45501617a321761f2a280a6a589", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking phf_shared v0.11.1 [INFO] [stderr] Compiling phf_generator v0.11.1 [INFO] [stderr] Compiling phf_macros v0.11.1 [INFO] [stderr] Checking phf v0.11.1 [INFO] [stderr] Checking rlox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `line`, `position`, and `message` are never read [INFO] [stdout] --> src/error.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | SyntaxError { [INFO] [stdout] | ----------- fields in this variant [INFO] [stdout] 4 | line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | position: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 6 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message` is never read [INFO] [stdout] --> src/error.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 8 | ParsingError { [INFO] [stdout] | ------------ field in this variant [INFO] [stdout] ... [INFO] [stdout] 11 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `line`, `position`, and `message` are never read [INFO] [stdout] --> src/error.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | UnknownBinaryOperator { [INFO] [stdout] | --------------------- fields in this variant [INFO] [stdout] 14 | line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | position: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 16 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `line`, `position`, and `message` are never read [INFO] [stdout] --> src/error.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 18 | UnknownUnaryOperator { [INFO] [stdout] | -------------------- fields in this variant [INFO] [stdout] 19 | line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | position: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 21 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `line`, `position`, and `message` are never read [INFO] [stdout] --> src/error.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | UnknownLiteral { [INFO] [stdout] | -------------- fields in this variant [INFO] [stdout] 24 | line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 25 | position: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 26 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `line`, `position`, and `message` are never read [INFO] [stdout] --> src/error.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 31 | RuntimeError { [INFO] [stdout] | ------------ fields in this variant [INFO] [stdout] 32 | line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 33 | position: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 34 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `line`, `position`, and `message` are never read [INFO] [stdout] --> src/error.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 36 | ResolverError { [INFO] [stdout] | ------------- fields in this variant [INFO] [stdout] 37 | line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 38 | position: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 39 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `debug_info` is never read [INFO] [stdout] --> src/expression.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Call { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 233 | pub calle: Expression, [INFO] [stdout] 234 | pub debug_info: DebugInfo, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Call` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/lox_function.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct LoxFun { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 39 | pub name: Identifier, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoxFun` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&Box<[T]> as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to ` as IntoIterator>::into_iter` in Rust 2024 [INFO] [stdout] --> src/interpreter.rs:414:45 [INFO] [stdout] | [INFO] [stdout] 414 | std::iter::zip(fun.args.into_iter(), arg_values.into_iter()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(boxed_slice_into_iter)]` on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 414 - std::iter::zip(fun.args.into_iter(), arg_values.into_iter()) [INFO] [stdout] 414 + std::iter::zip(fun.args.iter(), arg_values.into_iter()) [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 414 - std::iter::zip(fun.args.into_iter(), arg_values.into_iter()) [INFO] [stdout] 414 + std::iter::zip(IntoIterator::into_iter(fun.args), arg_values.into_iter()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `line`, `position`, and `message` are never read [INFO] [stdout] --> src/error.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | SyntaxError { [INFO] [stdout] | ----------- fields in this variant [INFO] [stdout] 4 | line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | position: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 6 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message` is never read [INFO] [stdout] --> src/error.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 8 | ParsingError { [INFO] [stdout] | ------------ field in this variant [INFO] [stdout] ... [INFO] [stdout] 11 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `line`, `position`, and `message` are never read [INFO] [stdout] --> src/error.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | UnknownBinaryOperator { [INFO] [stdout] | --------------------- fields in this variant [INFO] [stdout] 14 | line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | position: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 16 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `line`, `position`, and `message` are never read [INFO] [stdout] --> src/error.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 18 | UnknownUnaryOperator { [INFO] [stdout] | -------------------- fields in this variant [INFO] [stdout] 19 | line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | position: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 21 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `line`, `position`, and `message` are never read [INFO] [stdout] --> src/error.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | UnknownLiteral { [INFO] [stdout] | -------------- fields in this variant [INFO] [stdout] 24 | line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 25 | position: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 26 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `line`, `position`, and `message` are never read [INFO] [stdout] --> src/error.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 36 | ResolverError { [INFO] [stdout] | ------------- fields in this variant [INFO] [stdout] 37 | line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 38 | position: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 39 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `debug_info` is never read [INFO] [stdout] --> src/expression.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Call { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 233 | pub calle: Expression, [INFO] [stdout] 234 | pub debug_info: DebugInfo, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Call` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/lox_function.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct LoxFun { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 39 | pub name: Identifier, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoxFun` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&Box<[T]> as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to ` as IntoIterator>::into_iter` in Rust 2024 [INFO] [stdout] --> src/interpreter.rs:414:45 [INFO] [stdout] | [INFO] [stdout] 414 | std::iter::zip(fun.args.into_iter(), arg_values.into_iter()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(boxed_slice_into_iter)]` on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 414 - std::iter::zip(fun.args.into_iter(), arg_values.into_iter()) [INFO] [stdout] 414 + std::iter::zip(fun.args.iter(), arg_values.into_iter()) [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 414 - std::iter::zip(fun.args.into_iter(), arg_values.into_iter()) [INFO] [stdout] 414 + std::iter::zip(IntoIterator::into_iter(fun.args), arg_values.into_iter()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/resolver.rs:317:13 [INFO] [stdout] | [INFO] [stdout] 317 | VALUES_OF_A.push(args[0].to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/resolver.rs:332:20 [INFO] [stdout] | [INFO] [stdout] 332 | assert_eq!(VALUES_OF_A, ["global", "global"]); [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.86s [INFO] running `Command { std: "docker" "inspect" "0fbc669678ecafeb6f3b41d6d7aa5712101df45501617a321761f2a280a6a589", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fbc669678ecafeb6f3b41d6d7aa5712101df45501617a321761f2a280a6a589", kill_on_drop: false }` [INFO] [stdout] 0fbc669678ecafeb6f3b41d6d7aa5712101df45501617a321761f2a280a6a589