[INFO] fetching crate space-filling 0.4.0... [INFO] checking space-filling-0.4.0 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate space-filling 0.4.0 into /workspace/builds/worker-6-tc2/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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate space-filling 0.4.0 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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] Blocking waiting for file lock on package cache [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ddb988cf7c065f34fa32d1670404e98039549af87f9c7a56fc63968a3c4ef8d0 [INFO] running `Command { std: "docker" "start" "-a" "ddb988cf7c065f34fa32d1670404e98039549af87f9c7a56fc63968a3c4ef8d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ddb988cf7c065f34fa32d1670404e98039549af87f9c7a56fc63968a3c4ef8d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddb988cf7c065f34fa32d1670404e98039549af87f9c7a56fc63968a3c4ef8d0", kill_on_drop: false }` [INFO] [stdout] ddb988cf7c065f34fa32d1670404e98039549af87f9c7a56fc63968a3c4ef8d0 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7756231dfaa419c84ee98b53f855655ae176fa5dca74dffa44ae107e406187d9 [INFO] running `Command { std: "docker" "start" "-a" "7756231dfaa419c84ee98b53f855655ae176fa5dca74dffa44ae107e406187d9", 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 libc v0.2.146 [INFO] [stderr] Compiling anyhow v1.0.71 [INFO] [stderr] Checking either v1.8.1 [INFO] [stderr] Checking any_ascii v0.1.7 [INFO] [stderr] Checking humansize v1.1.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand_pcg v0.3.1 [INFO] [stderr] Checking regex-syntax v0.7.2 [INFO] [stderr] Checking open v1.7.1 [INFO] [stderr] Checking euclid v0.22.9 [INFO] [stderr] Checking aho-corasick v1.0.2 [INFO] [stderr] Checking num-complex v0.4.3 [INFO] [stderr] Checking lexical-sort v0.3.1 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Checking rayon-core v1.11.0 [INFO] [stderr] Checking rayon v1.7.0 [INFO] [stderr] Checking regex v1.8.4 [INFO] [stderr] Checking space-filling v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `crate::drawing`, `image` [INFO] [stdout] --> src/solver/adf/tests.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | drawing, [INFO] [stdout] | ^^^^^^^ no `drawing` in the root [INFO] [stdout] ... [INFO] [stdout] 11 | image::{Rgba, RgbaImage}, [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `image` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 172 | #[cfg(feature = "drawing")] [INFO] [stdout] | ------------------- the item is gated behind the `drawing` feature [INFO] [stdout] 173 | #[cfg_attr(doc, doc(cfg(feature = "drawing")))] [INFO] [stdout] 174 | pub mod drawing; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = help: if you wanted to use a crate named `image`, use `cargo add image` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `image` [INFO] [stdout] --> src/solver/adf/tests.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | use {image::Pixel, drawing::Draw}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `image` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `image`, use `cargo add image` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw_layout` found for struct `quadtree::Quadtree` in the current scope [INFO] [stdout] --> src/solver/adf/tests.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | adf.tree.draw_layout(&mut image); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Quadtree) -> f64>>, f64>` [INFO] [stdout] | [INFO] [stdout] ::: src/solver/adf/quadtree.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Quadtree { [INFO] [stdout] | -------------------------------- method `draw_layout` not found for this struct [INFO] [stdout] | [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/space_filling-3e0da20406851fb5.long-type-18177702512060659677.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `texture` found for struct `ADF` in the current scope [INFO] [stdout] --> src/solver/adf/tests.rs:98:6 [INFO] [stdout] | [INFO] [stdout] 97 | / representation [INFO] [stdout] 98 | | .texture(image::Luma([255]).to_rgba()) [INFO] [stdout] | | -^^^^^^^ method not found in `ADF` [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: src/solver/adf/mod.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct ADF { [INFO] [stdout] | --------------------- method `texture` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `image` [INFO] [stdout] --> src/solver/adf/tests.rs:98:14 [INFO] [stdout] | [INFO] [stdout] 98 | .texture(image::Luma([255]).to_rgba()) [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `image` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `image`, use `cargo add image` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `display_sdf` found for struct `ADF` in the current scope [INFO] [stdout] --> src/solver/adf/tests.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 136 | / representation [INFO] [stdout] 137 | | .display_sdf(&mut image, 3.5) [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `ADF<{float}>` [INFO] [stdout] | |_______| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: src/solver/adf/mod.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct ADF { [INFO] [stdout] | --------------------- method `display_sdf` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `texture` found for struct `geometry::Scale` in the current scope [INFO] [stdout] --> src/solver/adf/tests.rs:149:10 [INFO] [stdout] | [INFO] [stdout] 146 | / Circle [INFO] [stdout] 147 | | .translate(local_max.point.to_vector()) [INFO] [stdout] 148 | | .scale(local_max.distance) [INFO] [stdout] 149 | | .texture(Rgba([0x45, 0x8F, 0xF5, 0x7F])) [INFO] [stdout] | | -^^^^^^^ method not found in `geometry::Scale, {float}>` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: src/geometry/mod.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 104 | pub struct Scale { [INFO] [stdout] | ---------------------- method `texture` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `texture` found for struct `geometry::Scale` in the current scope [INFO] [stdout] --> src/solver/adf/tests.rs:168:12 [INFO] [stdout] | [INFO] [stdout] 168 | circle.texture(Rgba([0x45, 0x8F, 0xF5, 0xFF])) [INFO] [stdout] | ^^^^^^^ method not found in `geometry::Scale, f64>` [INFO] [stdout] | [INFO] [stdout] ::: src/geometry/mod.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 104 | pub struct Scale { [INFO] [stdout] | ---------------------- method `texture` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `texture` found for struct `geometry::Scale` in the current scope [INFO] [stdout] --> src/solver/adf/tests.rs:177:10 [INFO] [stdout] | [INFO] [stdout] 174 | / Circle [INFO] [stdout] 175 | | .translate(local_max.point.to_vector()) [INFO] [stdout] 176 | | .scale(local_max.distance * 4.0) [INFO] [stdout] 177 | | .texture(Rgba([0xFF, 0, 0, 0x7F])) [INFO] [stdout] | | -^^^^^^^ method not found in `geometry::Scale, f64>` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: src/geometry/mod.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 104 | pub struct Scale { [INFO] [stdout] | ---------------------- method `texture` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw_bounding` found for struct `quadtree::Quadtree` in the current scope [INFO] [stdout] --> src/solver/adf/tests.rs:181:25 [INFO] [stdout] | [INFO] [stdout] 181 | representation.tree.draw_bounding(domain, &mut image); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Quadtree) -> f64>>, f64>` [INFO] [stdout] | [INFO] [stdout] ::: src/solver/adf/quadtree.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Quadtree { [INFO] [stdout] | -------------------------------- method `draw_bounding` not found for this struct [INFO] [stdout] | [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/space_filling-3e0da20406851fb5.long-type-18177702512060659677.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 59 | pub fn get_chunk(&self, id: u64) -> Chunk<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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] | ^^^^^ the lifetime is elided here -------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 74 | pub fn chunks(&self) -> impl Iterator> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 is elided here -------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `space-filling` (lib test) due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "7756231dfaa419c84ee98b53f855655ae176fa5dca74dffa44ae107e406187d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7756231dfaa419c84ee98b53f855655ae176fa5dca74dffa44ae107e406187d9", kill_on_drop: false }` [INFO] [stdout] 7756231dfaa419c84ee98b53f855655ae176fa5dca74dffa44ae107e406187d9