[INFO] cloning repository https://github.com/steffenhaug/plox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/steffenhaug/plox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsteffenhaug%2Fplox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsteffenhaug%2Fplox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 29c0dbd8c4f324d814d3f6ffe31d3278e5206dd2 [INFO] testing steffenhaug/plox/29c0dbd8c4f324d814d3f6ffe31d3278e5206dd2 against master#414482f6a0d4e7290f614300581a0b55442552a3 for pr-140985 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsteffenhaug%2Fplox" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/steffenhaug/plox on toolchain 414482f6a0d4e7290f614300581a0b55442552a3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/steffenhaug/plox [INFO] finished tweaking git repo https://github.com/steffenhaug/plox [INFO] tweaked toml for git repo https://github.com/steffenhaug/plox written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/steffenhaug/plox 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" "+414482f6a0d4e7290f614300581a0b55442552a3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded roxmltree v0.14.1 [INFO] [stderr] Downloaded glutin_egl_sys v0.1.5 [INFO] [stderr] Downloaded redox_syscall v0.2.12 [INFO] [stderr] Downloaded memmap2 v0.3.1 [INFO] [stderr] Downloaded calloop v0.9.3 [INFO] [stderr] Downloaded glutin v0.28.0 [INFO] [stderr] Downloaded alga v0.8.2 [INFO] [stderr] Downloaded flume v0.10.12 [INFO] [stderr] Downloaded miniz_oxide v0.5.1 [INFO] [stderr] Downloaded fontconfig-parser v0.5.0 [INFO] [stderr] Downloaded smithay-client-toolkit v0.15.3 [INFO] [stderr] Downloaded wayland-protocols v0.29.4 [INFO] [stderr] Downloaded wayland-client v0.29.4 [INFO] [stderr] Downloaded flate2 v1.0.22 [INFO] [stderr] Downloaded nalgebra v0.17.3 [INFO] [stderr] Downloaded image v0.24.1 [INFO] [stderr] Downloaded kurbo v0.8.3 [INFO] [stderr] Downloaded matrixmultiply v0.2.4 [INFO] [stderr] Downloaded nalgebra-glm v0.3.0 [INFO] [stderr] Downloaded wayland-scanner v0.29.4 [INFO] [stderr] Downloaded inflate v0.4.5 [INFO] [stderr] Downloaded fontdb v0.9.1 [INFO] [stderr] Downloaded exr v1.4.1 [INFO] [stderr] Downloaded wayland-sys v0.29.4 [INFO] [stderr] Downloaded wayland-commons v0.29.4 [INFO] [stderr] Downloaded xmlparser v0.13.3 [INFO] [stderr] Downloaded unicode-general-category v0.4.0 [INFO] [stderr] Downloaded unicode-script v0.5.4 [INFO] [stderr] Downloaded unicode-vo v0.1.0 [INFO] [stderr] Downloaded usvg v0.22.0 [INFO] [stderr] Downloaded glutin_gles2_sys v0.1.5 [INFO] [stderr] Downloaded glutin_glx_sys v0.1.7 [INFO] [stderr] Downloaded glutin_wgl_sys v0.1.5 [INFO] [stderr] Downloaded wayland-egl v0.29.4 [INFO] [stderr] Downloaded wayland-cursor v0.29.4 [INFO] [stderr] Downloaded lebe v0.5.1 [INFO] [stderr] Downloaded rustybuzz v0.5.0 [INFO] [stderr] Downloaded rctree v0.4.0 [INFO] [stderr] Downloaded svgtypes v0.8.0 [INFO] [stderr] Downloaded jpeg-decoder v0.2.2 [INFO] [stderr] Downloaded tiff v0.7.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c41ee1d00885ea642ac5ada99fdbdb5d4106c2424fb530e9ce3b4786ea3fde10 [INFO] running `Command { std: "docker" "start" "-a" "c41ee1d00885ea642ac5ada99fdbdb5d4106c2424fb530e9ce3b4786ea3fde10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c41ee1d00885ea642ac5ada99fdbdb5d4106c2424fb530e9ce3b4786ea3fde10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c41ee1d00885ea642ac5ada99fdbdb5d4106c2424fb530e9ce3b4786ea3fde10", kill_on_drop: false }` [INFO] [stdout] c41ee1d00885ea642ac5ada99fdbdb5d4106c2424fb530e9ce3b4786ea3fde10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e09905ee0e8b0f3ee2cc590652f7ec44a80258bccff8f878f9664f26e2fc67c [INFO] running `Command { std: "docker" "start" "-a" "4e09905ee0e8b0f3ee2cc590652f7ec44a80258bccff8f878f9664f26e2fc67c", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling wayland-sys v0.29.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling quote v1.0.16 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling wayland-scanner v0.29.4 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling libm v0.1.4 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling nix v0.22.3 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.4 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling xmlparser v0.13.3 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling wayland-client v0.29.4 [INFO] [stderr] Compiling wayland-protocols v0.29.4 [INFO] [stderr] Compiling unicode-general-category v0.4.0 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling roxmltree v0.14.1 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling smithay-client-toolkit v0.15.3 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling bytemuck v1.8.0 [INFO] [stderr] Compiling ttf-parser v0.15.0 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling matrixmultiply v0.2.4 [INFO] [stderr] Compiling alga v0.8.2 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling wayland-commons v0.29.4 [INFO] [stderr] Compiling calloop v0.9.3 [INFO] [stderr] Compiling fontconfig-parser v0.5.0 [INFO] [stderr] Compiling deflate v1.0.0 [INFO] [stderr] Compiling memmap2 v0.5.3 [INFO] [stderr] Compiling memmap2 v0.3.1 [INFO] [stderr] Compiling wayland-cursor v0.29.4 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Compiling spin v0.9.2 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling unicode-ccc v0.1.2 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling unicode-script v0.5.4 [INFO] [stderr] Compiling unicode-bidi-mirroring v0.1.0 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling winit v0.26.1 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling raw-window-handle v0.4.2 [INFO] [stderr] Compiling rustybuzz v0.5.0 [INFO] [stderr] Compiling kurbo v0.8.3 [INFO] [stderr] Compiling svgtypes v0.8.0 [INFO] [stderr] Compiling data-url v0.1.1 [INFO] [stderr] Compiling fontdb v0.9.1 [INFO] [stderr] Compiling nalgebra v0.17.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling flume v0.10.12 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling miniz_oxide v0.5.1 [INFO] [stderr] Compiling simplecss v0.2.1 [INFO] [stderr] Compiling unicode-vo v0.1.0 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling lebe v0.5.1 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling xmlwriter v0.1.0 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling bit_field v0.10.1 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling pico-args v0.4.2 [INFO] [stderr] Compiling rctree v0.4.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling exr v1.4.1 [INFO] [stderr] Compiling gif v0.11.3 [INFO] [stderr] Compiling tiff v0.7.1 [INFO] [stderr] Compiling usvg v0.22.0 [INFO] [stderr] Compiling png v0.17.5 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling wayland-egl v0.29.4 [INFO] [stderr] Compiling jpeg-decoder v0.2.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling image v0.24.1 [INFO] [stderr] Compiling glutin v0.28.0 [INFO] [stderr] Compiling nalgebra-glm v0.3.0 [INFO] [stderr] Compiling plox v0.1.0 (/opt/rustwide/workdir/plox) [INFO] [stderr] Compiling plox-example v0.1.0 (/opt/rustwide/workdir/plox-example) [INFO] [stdout] warning: method `circle_shader` is never used [INFO] [stdout] --> plox-example/src/main.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 80 | impl Thing { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 120 | fn circle_shader(mut self, shader: CircleShader) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> plox-example/src/main.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 209 | let sorry = im as *mut Thing; [INFO] [stdout] | ---------------- casting happened here [INFO] [stdout] 210 | &mut *sorry [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: `#[deny(invalid_reference_casting)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `plox-example` (bin "plox-example") due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "4e09905ee0e8b0f3ee2cc590652f7ec44a80258bccff8f878f9664f26e2fc67c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e09905ee0e8b0f3ee2cc590652f7ec44a80258bccff8f878f9664f26e2fc67c", kill_on_drop: false }` [INFO] [stdout] 4e09905ee0e8b0f3ee2cc590652f7ec44a80258bccff8f878f9664f26e2fc67c