[INFO] cloning repository https://github.com/agluszak/rust-latte-compiler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/agluszak/rust-latte-compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fagluszak%2Frust-latte-compiler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fagluszak%2Frust-latte-compiler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d0e58b0b3bc01b35f11cbe98b6ea0eacd96c63dd [INFO] checking agluszak/rust-latte-compiler/d0e58b0b3bc01b35f11cbe98b6ea0eacd96c63dd against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fagluszak%2Frust-latte-compiler" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/agluszak/rust-latte-compiler on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/agluszak/rust-latte-compiler [INFO] finished tweaking git repo https://github.com/agluszak/rust-latte-compiler [INFO] tweaked toml for git repo https://github.com/agluszak/rust-latte-compiler written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/agluszak/rust-latte-compiler 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ecfef2e00d8bdc181cb6d4fddd852e7620e61b9b4376baaea69baa3fc30a6b6f [INFO] running `Command { std: "docker" "start" "-a" "ecfef2e00d8bdc181cb6d4fddd852e7620e61b9b4376baaea69baa3fc30a6b6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ecfef2e00d8bdc181cb6d4fddd852e7620e61b9b4376baaea69baa3fc30a6b6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecfef2e00d8bdc181cb6d4fddd852e7620e61b9b4376baaea69baa3fc30a6b6f", kill_on_drop: false }` [INFO] [stdout] ecfef2e00d8bdc181cb6d4fddd852e7620e61b9b4376baaea69baa3fc30a6b6f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 04aec5c8a254a6c58c139c8ec09c82564526d7b948c0c82c9451aa5d952998c6 [INFO] running `Command { std: "docker" "start" "-a" "04aec5c8a254a6c58c139c8ec09c82564526d7b948c0c82c9451aa5d952998c6", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling semver v1.0.21 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling ena v0.14.2 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling inkwell v0.2.0 (https://github.com/TheDan64/inkwell?branch=master#0b2cde93) [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking ariadne v0.4.0 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling is-terminal v0.4.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking console v0.15.7 [INFO] [stderr] Checking similar v2.4.0 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking insta v1.34.0 [INFO] [stderr] Checking tempfile v3.9.0 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking lalrpop-util v0.20.0 [INFO] [stderr] Compiling logos-codegen v0.13.0 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling inkwell_internals v0.8.0 (https://github.com/TheDan64/inkwell?branch=master#0b2cde93) [INFO] [stderr] Compiling logos-derive v0.13.0 [INFO] [stderr] Checking logos v0.13.0 [INFO] [stderr] Compiling llvm-sys v140.1.3 [INFO] [stderr] Compiling lalrpop v0.20.0 [INFO] [stderr] Compiling rust-latte-compiler v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/ir.rs (3 fixes) [INFO] [stderr] Fixed src/dfa.rs (1 fix) [INFO] [stderr] Fixed src/llvm_generator.rs (1 fix) [INFO] [stderr] Fixed src/typechecker.rs (9 fixes) [INFO] [stdout] warning: method `map` is never used [INFO] [stdout] --> src/typechecker.rs:365:8 [INFO] [stdout] | [INFO] [stdout] 359 | trait SpannedAst { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 365 | fn map(self, f: F) -> Self::Output [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, String, lexer::Token>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:80:45 [INFO] [stdout] | [INFO] [stdout] 80 | #[derive(Clone, Debug, PartialEq, Eq, Hash, Logos)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/lexer.rs:80:45 [INFO] [stdout] | [INFO] [stdout] 80 | #[derive(Clone, Debug, PartialEq, Eq, Hash, Logos)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, i64, lexer::Token>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:80:45 [INFO] [stdout] | [INFO] [stdout] 80 | #[derive(Clone, Debug, PartialEq, Eq, Hash, Logos)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/lexer.rs:80:45 [INFO] [stdout] | [INFO] [stdout] 80 | #[derive(Clone, Debug, PartialEq, Eq, Hash, Logos)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, String, lexer::Token>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:80:45 [INFO] [stdout] | [INFO] [stdout] 80 | #[derive(Clone, Debug, PartialEq, Eq, Hash, Logos)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/lexer.rs:80:45 [INFO] [stdout] | [INFO] [stdout] 80 | #[derive(Clone, Debug, PartialEq, Eq, Hash, Logos)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, String, lexer::Token>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:80:45 [INFO] [stdout] | [INFO] [stdout] 80 | #[derive(Clone, Debug, PartialEq, Eq, Hash, Logos)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/lexer.rs:80:45 [INFO] [stdout] | [INFO] [stdout] 80 | #[derive(Clone, Debug, PartialEq, Eq, Hash, Logos)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/bin/latc.rs from 2021 edition to 2024 [INFO] [stdout] warning: method `map` is never used [INFO] [stdout] --> src/typechecker.rs:365:8 [INFO] [stdout] | [INFO] [stdout] 359 | trait SpannedAst { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 365 | fn map(self, f: F) -> Self::Output [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, std::string::String, lexer::Token>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:80:45 [INFO] [stdout] | [INFO] [stdout] 80 | #[derive(Clone, Debug, PartialEq, Eq, Hash, Logos)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/lexer.rs:80:45 [INFO] [stdout] | [INFO] [stdout] 80 | #[derive(Clone, Debug, PartialEq, Eq, Hash, Logos)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, i64, lexer::Token>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:80:45 [INFO] [stdout] | [INFO] [stdout] 80 | #[derive(Clone, Debug, PartialEq, Eq, Hash, Logos)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/lexer.rs:80:45 [INFO] [stdout] | [INFO] [stdout] 80 | #[derive(Clone, Debug, PartialEq, Eq, Hash, Logos)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, std::string::String, lexer::Token>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:80:45 [INFO] [stdout] | [INFO] [stdout] 80 | #[derive(Clone, Debug, PartialEq, Eq, Hash, Logos)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/lexer.rs:80:45 [INFO] [stdout] | [INFO] [stdout] 80 | #[derive(Clone, Debug, PartialEq, Eq, Hash, Logos)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, std::string::String, lexer::Token>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:80:45 [INFO] [stdout] | [INFO] [stdout] 80 | #[derive(Clone, Debug, PartialEq, Eq, Hash, Logos)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/lexer.rs:80:45 [INFO] [stdout] | [INFO] [stdout] 80 | #[derive(Clone, Debug, PartialEq, Eq, Hash, Logos)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.50s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling rust-latte-compiler v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: method `map` is never used [INFO] [stdout] --> src/typechecker.rs:365:8 [INFO] [stdout] | [INFO] [stdout] 359 | trait SpannedAst { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 365 | fn map(self, f: F) -> Self::Output [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `map` is never used [INFO] [stdout] --> src/typechecker.rs:365:8 [INFO] [stdout] | [INFO] [stdout] 359 | trait SpannedAst { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 365 | fn map(self, f: F) -> Self::Output [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.60s [INFO] running `Command { std: "docker" "inspect" "04aec5c8a254a6c58c139c8ec09c82564526d7b948c0c82c9451aa5d952998c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04aec5c8a254a6c58c139c8ec09c82564526d7b948c0c82c9451aa5d952998c6", kill_on_drop: false }` [INFO] [stdout] 04aec5c8a254a6c58c139c8ec09c82564526d7b948c0c82c9451aa5d952998c6