[INFO] fetching crate rat-in-a-tube 0.2.3... [INFO] testing rat-in-a-tube-0.2.3 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate rat-in-a-tube 0.2.3 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate rat-in-a-tube 0.2.3 [INFO] finished tweaking crates.io crate rat-in-a-tube 0.2.3 [INFO] tweaked toml for crates.io crate rat-in-a-tube 0.2.3 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rat-in-a-tube 0.2.3 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 12 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f04f082716bf5e7ea8ad1f636523ce1480b588b0b8c8aca1a5e26c9dcf7742e5 [INFO] running `Command { std: "docker" "start" "-a" "f04f082716bf5e7ea8ad1f636523ce1480b588b0b8c8aca1a5e26c9dcf7742e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f04f082716bf5e7ea8ad1f636523ce1480b588b0b8c8aca1a5e26c9dcf7742e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f04f082716bf5e7ea8ad1f636523ce1480b588b0b8c8aca1a5e26c9dcf7742e5", kill_on_drop: false }` [INFO] [stdout] f04f082716bf5e7ea8ad1f636523ce1480b588b0b8c8aca1a5e26c9dcf7742e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fc88bb390ebeb29df6dbd48042f17040aca93d0f4071d037a81e7f6c13cc51f4 [INFO] running `Command { std: "docker" "start" "-a" "fc88bb390ebeb29df6dbd48042f17040aca93d0f4071d037a81e7f6c13cc51f4", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling rat-in-a-tube-definitions v0.2.3 [INFO] [stderr] Compiling rat-in-a-tube v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `is_engine_global` is never used [INFO] [stdout] --> src/types.rs:280:8 [INFO] [stdout] | [INFO] [stdout] 269 | pub(crate) trait CallableGlobal { [INFO] [stdout] | -------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 280 | fn is_engine_global(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.88s [INFO] running `Command { std: "docker" "inspect" "fc88bb390ebeb29df6dbd48042f17040aca93d0f4071d037a81e7f6c13cc51f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc88bb390ebeb29df6dbd48042f17040aca93d0f4071d037a81e7f6c13cc51f4", kill_on_drop: false }` [INFO] [stdout] fc88bb390ebeb29df6dbd48042f17040aca93d0f4071d037a81e7f6c13cc51f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 270d46bcd186d4bd42eba2c96c2ae705b5405fcd8c3e464bef443158e9989f41 [INFO] running `Command { std: "docker" "start" "-a" "270d46bcd186d4bd42eba2c96c2ae705b5405fcd8c3e464bef443158e9989f41", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: method `is_engine_global` is never used [INFO] [stdout] --> src/types.rs:280:8 [INFO] [stdout] | [INFO] [stdout] 269 | pub(crate) trait CallableGlobal { [INFO] [stdout] | -------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 280 | fn is_engine_global(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rat-in-a-tube v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CompileEncoding` [INFO] [stdout] --> src/test/mod.rs:7:62 [INFO] [stdout] | [INFO] [stdout] 7 | let mut compiler = Compiler::new(CompileTarget::HaloCEA, CompileEncoding::Windows1252); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `CompileEncoding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/test/mod.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | let mut compiler = Compiler::new(CompileTarget::HaloCEA, CompileEncoding::Windows1252); [INFO] [stdout] | ^^^^^^^^^^^^^ ---------------------------- unexpected argument #2 [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn new(target: CompileTarget) -> Compiler { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 7 - let mut compiler = Compiler::new(CompileTarget::HaloCEA, CompileEncoding::Windows1252); [INFO] [stdout] 7 + let mut compiler = Compiler::new(CompileTarget::HaloCEA); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CompileEncoding` [INFO] [stdout] --> src/test/mod.rs:17:62 [INFO] [stdout] | [INFO] [stdout] 17 | let mut compiler = Compiler::new(CompileTarget::HaloCEA, CompileEncoding::Windows1252); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `CompileEncoding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/test/mod.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | let mut compiler = Compiler::new(CompileTarget::HaloCEA, CompileEncoding::Windows1252); [INFO] [stdout] | ^^^^^^^^^^^^^ ---------------------------- unexpected argument #2 [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn new(target: CompileTarget) -> Compiler { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 17 - let mut compiler = Compiler::new(CompileTarget::HaloCEA, CompileEncoding::Windows1252); [INFO] [stdout] 17 + let mut compiler = Compiler::new(CompileTarget::HaloCEA); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CompileEncoding` [INFO] [stdout] --> src/test/mod.rs:28:66 [INFO] [stdout] | [INFO] [stdout] 28 | let mut compiler_cea = Compiler::new(CompileTarget::HaloCEA, CompileEncoding::Windows1252); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `CompileEncoding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/test/mod.rs:28:28 [INFO] [stdout] | [INFO] [stdout] 28 | let mut compiler_cea = Compiler::new(CompileTarget::HaloCEA, CompileEncoding::Windows1252); [INFO] [stdout] | ^^^^^^^^^^^^^ ---------------------------- unexpected argument #2 [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn new(target: CompileTarget) -> Compiler { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 28 - let mut compiler_cea = Compiler::new(CompileTarget::HaloCEA, CompileEncoding::Windows1252); [INFO] [stdout] 28 + let mut compiler_cea = Compiler::new(CompileTarget::HaloCEA); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CompileEncoding` [INFO] [stdout] --> src/test/mod.rs:32:76 [INFO] [stdout] | [INFO] [stdout] 32 | let mut compiler_gbx = Compiler::new(CompileTarget::HaloCustomEdition, CompileEncoding::Windows1252); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `CompileEncoding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/test/mod.rs:32:28 [INFO] [stdout] | [INFO] [stdout] 32 | let mut compiler_gbx = Compiler::new(CompileTarget::HaloCustomEdition, CompileEncoding::Windows1252); [INFO] [stdout] | ^^^^^^^^^^^^^ ---------------------------- unexpected argument #2 [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn new(target: CompileTarget) -> Compiler { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 32 - let mut compiler_gbx = Compiler::new(CompileTarget::HaloCustomEdition, CompileEncoding::Windows1252); [INFO] [stdout] 32 + let mut compiler_gbx = Compiler::new(CompileTarget::HaloCustomEdition); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CompileEncoding` [INFO] [stdout] --> src/test/mod.rs:41:62 [INFO] [stdout] | [INFO] [stdout] 41 | let mut compiler = Compiler::new(CompileTarget::HaloCEA, CompileEncoding::Windows1252); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `CompileEncoding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/test/mod.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | let mut compiler = Compiler::new(CompileTarget::HaloCEA, CompileEncoding::Windows1252); [INFO] [stdout] | ^^^^^^^^^^^^^ ---------------------------- unexpected argument #2 [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn new(target: CompileTarget) -> Compiler { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 41 - let mut compiler = Compiler::new(CompileTarget::HaloCEA, CompileEncoding::Windows1252); [INFO] [stdout] 41 + let mut compiler = Compiler::new(CompileTarget::HaloCEA); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CompileEncoding` [INFO] [stdout] --> src/test/mod.rs:102:62 [INFO] [stdout] | [INFO] [stdout] 102 | let mut compiler = Compiler::new(CompileTarget::HaloCEA, CompileEncoding::Windows1252); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `CompileEncoding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/test/mod.rs:102:24 [INFO] [stdout] | [INFO] [stdout] 102 | let mut compiler = Compiler::new(CompileTarget::HaloCEA, CompileEncoding::Windows1252); [INFO] [stdout] | ^^^^^^^^^^^^^ ---------------------------- unexpected argument #2 [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn new(target: CompileTarget) -> Compiler { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 102 - let mut compiler = Compiler::new(CompileTarget::HaloCEA, CompileEncoding::Windows1252); [INFO] [stdout] 102 + let mut compiler = Compiler::new(CompileTarget::HaloCEA); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rat-in-a-tube` (lib test) due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "270d46bcd186d4bd42eba2c96c2ae705b5405fcd8c3e464bef443158e9989f41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "270d46bcd186d4bd42eba2c96c2ae705b5405fcd8c3e464bef443158e9989f41", kill_on_drop: false }` [INFO] [stdout] 270d46bcd186d4bd42eba2c96c2ae705b5405fcd8c3e464bef443158e9989f41