[INFO] cloning repository https://github.com/trolleyman/Portal2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/trolleyman/Portal2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrolleyman%2FPortal2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrolleyman%2FPortal2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 599a6cbdf22af1dc4f94b2e9f469c8beae1f265c [INFO] checking trolleyman/Portal2 against try#9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 for pr-129249 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrolleyman%2FPortal2" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/trolleyman/Portal2 on toolchain 9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/trolleyman/Portal2 [INFO] finished tweaking git repo https://github.com/trolleyman/Portal2 [INFO] tweaked toml for git repo https://github.com/trolleyman/Portal2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/trolleyman/Portal2 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" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3bb85a4b8f373c197bc658ccfb736401f0b7d226a604aed73fba29fed986043f [INFO] running `Command { std: "docker" "start" "-a" "3bb85a4b8f373c197bc658ccfb736401f0b7d226a604aed73fba29fed986043f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3bb85a4b8f373c197bc658ccfb736401f0b7d226a604aed73fba29fed986043f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bb85a4b8f373c197bc658ccfb736401f0b7d226a604aed73fba29fed986043f", kill_on_drop: false }` [INFO] [stdout] 3bb85a4b8f373c197bc658ccfb736401f0b7d226a604aed73fba29fed986043f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b051d6a94f757a87b5efaa5cb553d717972c987fc66b56f35c4f43f5a6f4d50 [INFO] running `Command { std: "docker" "start" "-a" "0b051d6a94f757a87b5efaa5cb553d717972c987fc66b56f35c4f43f5a6f4d50", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling itoa v0.3.4 [INFO] [stderr] Compiling serde v0.9.15 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling khronos_api v1.0.1 [INFO] [stderr] Checking lazy_static v0.1.16 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling xml-rs v0.3.6 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling dbghelp-sys v0.2.0 [INFO] [stderr] Compiling xml-rs v0.6.1 [INFO] [stderr] Checking crossbeam v0.2.12 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Checking byteorder v0.5.3 [INFO] [stderr] Compiling backtrace v0.2.3 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking term v0.4.6 [INFO] [stderr] Checking inflate v0.1.1 [INFO] [stderr] Checking approx v0.1.1 [INFO] [stderr] Checking smallvec v0.1.8 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Compiling wayland-scanner v0.5.11 [INFO] [stderr] Compiling gl_generator v0.5.5 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling wayland-client v0.5.12 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking fs2 v0.2.5 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Checking memmap v0.2.3 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Compiling glutin v0.6.2 [INFO] [stderr] Checking tempfile v2.2.0 [INFO] [stderr] Compiling glium v0.15.0 [INFO] [stderr] Checking simplelog v0.4.4 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Compiling backtrace-sys v0.1.37 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling target_build_utils v0.3.1 [INFO] [stderr] Checking cgmath v0.12.0 [INFO] [stderr] Checking flate2 v0.2.20 [INFO] [stderr] Checking png v0.5.2 [INFO] [stderr] Compiling serde_json v0.9.10 [INFO] [stderr] Compiling libloading v0.3.4 [INFO] [stderr] Checking dlib v0.3.1 [INFO] [stderr] Checking wayland-sys v0.5.11 [INFO] [stderr] Checking wayland-window v0.2.3 [INFO] [stderr] Checking wayland-kbd v0.3.6 [INFO] [stderr] Checking Portal2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/render/camera.rs:38:3 [INFO] [stdout] | [INFO] [stdout] 38 | (rot_y * rot_x * trans) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 38 - (rot_y * rot_x * trans) [INFO] [stdout] 38 + rot_y * rot_x * trans [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/render/camera.rs:38:3 [INFO] [stdout] | [INFO] [stdout] 38 | (rot_y * rot_x * trans) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 38 - (rot_y * rot_x * trans) [INFO] [stdout] 38 + rot_y * rot_x * trans [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/main.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `slice_patterns` has been stable since 1.42.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(type_ascription, slice_patterns)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/world/mod.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | entities: Vec>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | entities: Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/main.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `slice_patterns` has been stable since 1.42.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(type_ascription, slice_patterns)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/world/mod.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | entities: Vec>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | entities: Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/main.rs:29:6 [INFO] [stdout] | [INFO] [stdout] 29 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/main.rs:29:6 [INFO] [stdout] | [INFO] [stdout] 29 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `Result<(), String>` to `Result<(), String>` [INFO] [stdout] --> src/main.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | match run().into() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/render/mesh.rs:252:43 [INFO] [stdout] | [INFO] [stdout] 252 | for vertex in [face.x, face.y, face.z].into_iter() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 252 | for vertex in [face.x, face.y, face.z].iter() { [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or remove `.into_iter()` to iterate by value [INFO] [stdout] | [INFO] [stdout] 252 - for vertex in [face.x, face.y, face.z].into_iter() { [INFO] [stdout] 252 + for vertex in [face.x, face.y, face.z] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `Portal2` (bin "Portal2") due to 1 previous error; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this conversion is useless `Result<(), String>` to `Result<(), String>` [INFO] [stdout] --> src/main.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | match run().into() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/render/mesh.rs:252:43 [INFO] [stdout] | [INFO] [stdout] 252 | for vertex in [face.x, face.y, face.z].into_iter() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 252 | for vertex in [face.x, face.y, face.z].iter() { [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or remove `.into_iter()` to iterate by value [INFO] [stdout] | [INFO] [stdout] 252 - for vertex in [face.x, face.y, face.z].into_iter() { [INFO] [stdout] 252 + for vertex in [face.x, face.y, face.z] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `Portal2` (bin "Portal2" test) due to 1 previous error; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0b051d6a94f757a87b5efaa5cb553d717972c987fc66b56f35c4f43f5a6f4d50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b051d6a94f757a87b5efaa5cb553d717972c987fc66b56f35c4f43f5a6f4d50", kill_on_drop: false }` [INFO] [stdout] 0b051d6a94f757a87b5efaa5cb553d717972c987fc66b56f35c4f43f5a6f4d50