[INFO] fetching crate space-filling 0.4.0... [INFO] testing space-filling-0.4.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate space-filling 0.4.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate space-filling 0.4.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate space-filling 0.4.0 [INFO] tweaked toml for crates.io crate space-filling 0.4.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate space-filling 0.4.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate space-filling 0.4.0 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `image` dependency) [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pathdiff v0.2.1 [INFO] [stderr] Downloaded open v1.7.1 [INFO] [stderr] Downloaded humansize v1.1.1 [INFO] [stderr] Downloaded num-complex v0.4.3 [INFO] [stderr] Downloaded fdeflate v0.3.0 [INFO] [stderr] Downloaded lexical-sort v0.3.1 [INFO] [stderr] Downloaded flate2 v1.0.26 [INFO] [stderr] Downloaded png v0.17.9 [INFO] [stderr] Downloaded euclid v0.22.9 [INFO] [stderr] Downloaded any_ascii v0.1.7 [INFO] [stderr] Downloaded regex v1.8.4 [INFO] [stderr] Downloaded regex-syntax v0.7.2 [INFO] [stderr] Downloaded libc v0.2.146 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] adf73979ccd6262e41f96b3e90d19f5b9de83b6e31af4e5f78f589b129de0763 [INFO] running `Command { std: "docker" "start" "-a" "adf73979ccd6262e41f96b3e90d19f5b9de83b6e31af4e5f78f589b129de0763", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "adf73979ccd6262e41f96b3e90d19f5b9de83b6e31af4e5f78f589b129de0763", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "adf73979ccd6262e41f96b3e90d19f5b9de83b6e31af4e5f78f589b129de0763", kill_on_drop: false }` [INFO] [stdout] adf73979ccd6262e41f96b3e90d19f5b9de83b6e31af4e5f78f589b129de0763 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] dacdb6274aa4ef573bace9631401676a3e7489f097a4e840a20499526dc49990 [INFO] running `Command { std: "docker" "start" "-a" "dacdb6274aa4ef573bace9631401676a3e7489f097a4e840a20499526dc49990", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `image` dependency) [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling anyhow v1.0.71 [INFO] [stderr] Compiling humansize v1.1.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand_pcg v0.3.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.8 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling euclid v0.22.9 [INFO] [stderr] Compiling rayon v1.7.0 [INFO] [stderr] Compiling space-filling v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error: assigning to `&T` is undefined behavior, consider using an `UnsafeCell` [INFO] [stdout] --> src/solver/argmax2d/mod.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | unsafe { *(ptr as *const DistPoint as *mut _) = dist } [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] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/solver/argmax2d/z_order_storage.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn get_chunk(&self, id: u64) -> Chunk { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 59 | pub fn get_chunk(&self, id: u64) -> Chunk<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/solver/argmax2d/z_order_storage.rs:70:23 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn get_chunk_xy(&self, xy: Point2D) -> Chunk { [INFO] [stdout] | ^^^^^ this lifetime flows to the output -------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 70 | pub fn get_chunk_xy(&self, xy: Point2D) -> Chunk<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/solver/argmax2d/z_order_storage.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn chunks(&self) -> impl Iterator> { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 74 | pub fn chunks(&self) -> impl Iterator> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/solver/argmax2d/z_order_storage.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn chunks_par_iter(&self) -> impl ParallelIterator> { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 99 | pub fn chunks_par_iter(&self) -> impl ParallelIterator> { [INFO] [stdout] | +++ [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] --> src/solver/adf/mod.rs:242:5 [INFO] [stdout] | [INFO] [stdout] 242 | &mut *(ptr as *const Self as *mut _) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: even for types with interior mutability, the only legal way to obtain a mutable pointer from a shared reference is through `UnsafeCell::get` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `space-filling` (lib) due to 2 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "dacdb6274aa4ef573bace9631401676a3e7489f097a4e840a20499526dc49990", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dacdb6274aa4ef573bace9631401676a3e7489f097a4e840a20499526dc49990", kill_on_drop: false }` [INFO] [stdout] dacdb6274aa4ef573bace9631401676a3e7489f097a4e840a20499526dc49990