[INFO] fetching crate kansas 0.1.0... [INFO] checking kansas-0.1.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate kansas 0.1.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate kansas 0.1.0 [INFO] finished tweaking crates.io crate kansas 0.1.0 [INFO] tweaked toml for crates.io crate kansas 0.1.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate kansas 0.1.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 100 packages to latest compatible versions [INFO] [stderr] Adding gfx v0.16.3 (available: v0.18.3) [INFO] [stderr] Adding gfx_device_gl v0.14.6 (available: v0.16.2) [INFO] [stderr] Adding gfx_window_glutin v0.17.0 (available: v0.31.0) [INFO] [stderr] Adding glutin v0.9.2 (available: v0.32.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wayland-scanner v0.9.10 [INFO] [stderr] Downloaded wayland-sys v0.9.10 [INFO] [stderr] Downloaded target_build_utils v0.3.1 [INFO] [stderr] Downloaded dlib v0.3.1 [INFO] [stderr] Downloaded libloading v0.3.4 [INFO] [stderr] Downloaded gfx_window_glutin v0.17.0 [INFO] [stderr] Downloaded draw_state v0.7.1 [INFO] [stderr] Downloaded gfx_device_gl v0.14.6 [INFO] [stderr] Downloaded gfx v0.16.3 [INFO] [stderr] Downloaded wayland-client v0.9.10 [INFO] [stderr] Downloaded winit v0.7.6 [INFO] [stderr] Downloaded gl_generator v0.7.0 [INFO] [stderr] Downloaded core-foundation-sys v0.3.1 [INFO] [stderr] Downloaded wayland-kbd v0.9.1 [INFO] [stderr] Downloaded tempfile v2.2.0 [INFO] [stderr] Downloaded cocoa v0.9.2 [INFO] [stderr] Downloaded core-foundation-sys v0.4.6 [INFO] [stderr] Downloaded core-foundation v0.4.6 [INFO] [stderr] Downloaded core-foundation v0.3.0 [INFO] [stderr] Downloaded core-graphics v0.8.2 [INFO] [stderr] Downloaded user32-sys v0.1.3 [INFO] [stderr] Downloaded memmap v0.4.0 [INFO] [stderr] Downloaded gfx_core v0.7.2 [INFO] [stderr] Downloaded gfx_gl v0.4.0 [INFO] [stderr] Downloaded glutin v0.9.2 [INFO] [stderr] Downloaded dwmapi-sys v0.1.1 [INFO] [stderr] Downloaded gdi32-sys v0.1.2 [INFO] [stderr] Downloaded wayland-protocols v0.9.10 [INFO] [stderr] Downloaded wayland-window v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 47c6f529f990dc0ca507c9370643ff4317ecc9bcf0500ab84b0209ac920d9abe [INFO] running `Command { std: "docker" "start" "-a" "47c6f529f990dc0ca507c9370643ff4317ecc9bcf0500ab84b0209ac920d9abe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "47c6f529f990dc0ca507c9370643ff4317ecc9bcf0500ab84b0209ac920d9abe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47c6f529f990dc0ca507c9370643ff4317ecc9bcf0500ab84b0209ac920d9abe", kill_on_drop: false }` [INFO] [stdout] 47c6f529f990dc0ca507c9370643ff4317ecc9bcf0500ab84b0209ac920d9abe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 60027d71be6bddd9813e4a4dda57c9a8cfa3fd4bd1454a46cd47a62e025b7d4e [INFO] running `Command { std: "docker" "start" "-a" "60027d71be6bddd9813e4a4dda57c9a8cfa3fd4bd1454a46cd47a62e025b7d4e", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling itoa v0.3.4 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling serde v0.9.15 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling xml-rs v0.6.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling khronos_api v1.0.1 [INFO] [stderr] Checking bitflags v0.8.2 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking draw_state v0.7.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling wayland-scanner v0.9.10 [INFO] [stderr] Compiling gl_generator v0.5.5 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling gl_generator v0.7.0 [INFO] [stderr] Compiling wayland-client v0.9.10 [INFO] [stderr] Compiling wayland-protocols v0.9.10 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling glutin v0.9.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling gfx_gl v0.4.0 [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 memmap v0.4.0 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Compiling num-traits v0.1.43 [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 rand v0.3.23 [INFO] [stderr] Checking tempfile v2.2.0 [INFO] [stderr] Compiling serde_json v0.9.10 [INFO] [stderr] Compiling derivative v1.0.4 [INFO] [stderr] Checking gfx_core v0.7.2 [INFO] [stderr] Checking gfx_device_gl v0.14.6 [INFO] [stderr] Checking gfx v0.16.3 [INFO] [stderr] Compiling libloading v0.3.4 [INFO] [stderr] Checking dlib v0.3.1 [INFO] [stderr] Checking wayland-sys v0.9.10 [INFO] [stderr] Checking wayland-kbd v0.9.1 [INFO] [stderr] Checking wayland-window v0.7.0 [INFO] [stderr] Checking winit v0.7.6 [INFO] [stderr] Checking gfx_window_glutin v0.17.0 [INFO] [stderr] Checking kansas v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/events.rs:16:28 [INFO] [stdout] | [INFO] [stdout] 16 | pub type Callback = Box::Event)>; [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] 16 | pub type Callback = Box::Event)>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/events.rs:16:28 [INFO] [stdout] | [INFO] [stdout] 16 | pub type Callback = Box::Event)>; [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] 16 | pub type Callback = Box::Event)>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/events.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | _ => unreachable!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/events.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 38 | EventType::MouseMove => { [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 45 | EventType::MouseClick => { [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 52 | EventType::MouseScroll => { [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 59 | EventType::KeyPress => { [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 74 | _ => unreachable!(), [INFO] [stdout] | ^ ...and 1 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/pipeline.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 27 | struct Backing { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Backing` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/color.rs:240:13 [INFO] [stdout] | [INFO] [stdout] 240 | mem::transmute(*self) [INFO] [stdout] | --------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/color.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | mem::transmute(*self) [INFO] [stdout] | --------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/events.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | _ => unreachable!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/events.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 38 | EventType::MouseMove => { [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 45 | EventType::MouseClick => { [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 52 | EventType::MouseScroll => { [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 59 | EventType::KeyPress => { [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 74 | _ => unreachable!(), [INFO] [stdout] | ^ ...and 1 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/pipeline.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 27 | struct Backing { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Backing` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/color.rs:240:13 [INFO] [stdout] | [INFO] [stdout] 240 | mem::transmute(*self) [INFO] [stdout] | --------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/color.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | mem::transmute(*self) [INFO] [stdout] | --------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wcanvas` [INFO] [stdout] --> examples/painter.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 49 | let mut ctx = wcanvas::Canvas::new(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `wcanvas` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wcanvas`, use `cargo add wcanvas` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use kansas::Canvas; [INFO] [stdout] | [INFO] [stdout] help: if you import `Canvas`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 49 - let mut ctx = wcanvas::Canvas::new(); [INFO] [stdout] 49 + let mut ctx = Canvas::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kansas` (example "painter") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "60027d71be6bddd9813e4a4dda57c9a8cfa3fd4bd1454a46cd47a62e025b7d4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60027d71be6bddd9813e4a4dda57c9a8cfa3fd4bd1454a46cd47a62e025b7d4e", kill_on_drop: false }` [INFO] [stdout] 60027d71be6bddd9813e4a4dda57c9a8cfa3fd4bd1454a46cd47a62e025b7d4e