[INFO] cloning repository https://github.com/stevengpa/rust-memory-create-destroy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stevengpa/rust-memory-create-destroy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstevengpa%2Frust-memory-create-destroy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstevengpa%2Frust-memory-create-destroy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0620c9cf82edac43e855ed58a39c6b0a4c927ba5 [INFO] checking stevengpa/rust-memory-create-destroy against master#377656d3dd3f9c23a9c8713e163f4365a5261a84 for pr-146470-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstevengpa%2Frust-memory-create-destroy" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/stevengpa/rust-memory-create-destroy [INFO] finished tweaking git repo https://github.com/stevengpa/rust-memory-create-destroy [INFO] tweaked toml for git repo https://github.com/stevengpa/rust-memory-create-destroy written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/stevengpa/rust-memory-create-destroy on toolchain 377656d3dd3f9c23a9c8713e163f4365a5261a84 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+377656d3dd3f9c23a9c8713e163f4365a5261a84" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/stevengpa/rust-memory-create-destroy 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" "+377656d3dd3f9c23a9c8713e163f4365a5261a84" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded shader_version v0.7.0 [INFO] [stderr] Downloaded piston-float v1.0.1 [INFO] [stderr] Downloaded piston-viewport v1.0.2 [INFO] [stderr] Downloaded piston_window v0.132.0 [INFO] [stderr] Downloaded pistoncore-window v1.0.0 [INFO] [stderr] Downloaded piston-graphics_api_version v1.0.1 [INFO] [stderr] Downloaded gl v0.13.0 [INFO] [stderr] Downloaded interpolation v0.3.0 [INFO] [stderr] Downloaded gl_generator v0.13.1 [INFO] [stderr] Downloaded pistoncore-input v1.0.1 [INFO] [stderr] Downloaded gfx_gl v0.6.1 [INFO] [stderr] Downloaded gfx v0.18.3 [INFO] [stderr] Downloaded pistoncore-event_loop v1.0.0 [INFO] [stderr] Downloaded piston2d-gfx_graphics v0.81.0 [INFO] [stderr] Downloaded piston2d-graphics v0.45.0 [INFO] [stderr] Downloaded gfx_device_gl v0.16.2 [INFO] [stderr] Downloaded gfx_core v0.9.2 [INFO] [stderr] Downloaded piston2d-graphics v0.44.0 [INFO] [stderr] Downloaded pistoncore-glutin_window v0.72.0 [INFO] [stderr] Downloaded piston-texture v0.9.0 [INFO] [stderr] Downloaded spin_sleep v1.3.3 [INFO] [stderr] Downloaded piston v1.0.0 [INFO] [stderr] Downloaded draw_state v0.8.0 [INFO] [stderr] Downloaded piston-gfx_texture v0.45.0 [INFO] [stderr] Downloaded piston-shaders_graphics2d v0.4.0 [INFO] [stderr] Downloaded read_color v1.0.0 [INFO] [stderr] Downloaded vecmath v1.0.0 [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+377656d3dd3f9c23a9c8713e163f4365a5261a84" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3d9b650f06088716596139f1fad7d81da8e4afdcc1a9c259be7897b378e9746d [INFO] running `Command { std: "docker" "start" "-a" "3d9b650f06088716596139f1fad7d81da8e4afdcc1a9c259be7897b378e9746d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d9b650f06088716596139f1fad7d81da8e4afdcc1a9c259be7897b378e9746d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d9b650f06088716596139f1fad7d81da8e4afdcc1a9c259be7897b378e9746d", kill_on_drop: false }` [INFO] [stdout] 3d9b650f06088716596139f1fad7d81da8e4afdcc1a9c259be7897b378e9746d [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+377656d3dd3f9c23a9c8713e163f4365a5261a84" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e48f583f9e46bddc24c3e19df016ce8b692dea5dba4334d92e6c85ec5ccd2553 [INFO] running `Command { std: "docker" "start" "-a" "e48f583f9e46bddc24c3e19df016ce8b692dea5dba4334d92e6c85ec5ccd2553", kill_on_drop: false }` [INFO] [stderr] Compiling xml-rs v0.8.27 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking libloading v0.8.9 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Checking piston-float v1.0.1 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Checking piston-graphics_api_version v1.0.1 [INFO] [stderr] Checking av1-grain v0.2.4 [INFO] [stderr] Checking tiny-skia-path v0.8.4 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Checking draw_state v0.8.0 [INFO] [stderr] Compiling wayland-sys v0.30.1 [INFO] [stderr] Compiling glutin v0.30.10 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Checking piston-texture v0.9.0 [INFO] [stderr] Checking moxcms v0.7.5 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking piston-viewport v1.0.2 [INFO] [stderr] Checking vecmath v1.0.0 [INFO] [stderr] Checking tiff v0.10.3 [INFO] [stderr] Compiling glutin-winit v0.3.0 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking interpolation v0.3.0 [INFO] [stderr] Checking read_color v1.0.0 [INFO] [stderr] Checking shader_version v0.7.0 [INFO] [stderr] Checking spin_sleep v1.3.3 [INFO] [stderr] Checking piston-shaders_graphics2d v0.4.0 [INFO] [stderr] Checking piston2d-graphics v0.44.0 [INFO] [stderr] Checking piston2d-graphics v0.45.0 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Checking tiny-skia v0.8.4 [INFO] [stderr] Checking gfx_core v0.9.2 [INFO] [stderr] Compiling glutin_egl_sys v0.5.1 [INFO] [stderr] Compiling glutin_glx_sys v0.4.0 [INFO] [stderr] Compiling gfx_gl v0.6.1 [INFO] [stderr] Compiling gl v0.13.0 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling winit v0.28.7 [INFO] [stderr] Checking gfx v0.18.3 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking nix v0.25.1 [INFO] [stderr] Checking x11-dl v2.21.0 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Checking rav1e v0.7.1 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking pistoncore-input v1.0.1 [INFO] [stderr] Checking wayland-commons v0.29.5 [INFO] [stderr] Checking pistoncore-window v1.0.0 [INFO] [stderr] Checking pistoncore-event_loop v1.0.0 [INFO] [stderr] Checking calloop v0.10.6 [INFO] [stderr] Checking piston v1.0.0 [INFO] [stderr] Checking gfx_device_gl v0.16.2 [INFO] [stderr] Checking wayland-cursor v0.29.5 [INFO] [stderr] Checking ravif v0.11.20 [INFO] [stderr] Checking image v0.25.8 [INFO] [stderr] Checking piston-gfx_texture v0.45.0 [INFO] [stderr] Checking piston2d-gfx_graphics v0.81.0 [INFO] [stderr] Checking sctk-adwaita v0.5.4 [INFO] [stderr] Checking pistoncore-glutin_window v0.72.0 [INFO] [stderr] Checking piston_window v0.132.0 [INFO] [stderr] Checking memory-create-destroy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::GlobalAlloc::alloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | let ptr = System.alloc(layout); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe fn alloc(&self, layout: Layout) -> *mut u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::GlobalAlloc::dealloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | System.dealloc(ptr, layout); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | unsafe fn dealloc(&self, ptr: *mut u8, layout: Layout) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::GlobalAlloc::alloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | let ptr = System.alloc(layout); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe fn alloc(&self, layout: Layout) -> *mut u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::GlobalAlloc::dealloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | System.dealloc(ptr, layout); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | unsafe fn dealloc(&self, ptr: *mut u8, layout: Layout) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 41.34s [INFO] running `Command { std: "docker" "inspect" "e48f583f9e46bddc24c3e19df016ce8b692dea5dba4334d92e6c85ec5ccd2553", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e48f583f9e46bddc24c3e19df016ce8b692dea5dba4334d92e6c85ec5ccd2553", kill_on_drop: false }` [INFO] [stdout] e48f583f9e46bddc24c3e19df016ce8b692dea5dba4334d92e6c85ec5ccd2553