[INFO] fetching crate department 0.2.6... [INFO] testing department-0.2.6 against 1.90.0 for beta-1.91-3 [INFO] extracting crate department 0.2.6 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate department 0.2.6 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate department 0.2.6 [INFO] tweaked toml for crates.io crate department 0.2.6 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate department 0.2.6 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate department 0.2.6 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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d050a9ed4786c0e800d02ea1eb93da525c294f5673730719df8d95c3d2ea7419 [INFO] running `Command { std: "docker" "start" "-a" "d050a9ed4786c0e800d02ea1eb93da525c294f5673730719df8d95c3d2ea7419", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d050a9ed4786c0e800d02ea1eb93da525c294f5673730719df8d95c3d2ea7419", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d050a9ed4786c0e800d02ea1eb93da525c294f5673730719df8d95c3d2ea7419", kill_on_drop: false }` [INFO] [stdout] d050a9ed4786c0e800d02ea1eb93da525c294f5673730719df8d95c3d2ea7419 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e168e4863a0e0be680ab2f4d2dec0898cb9e25f5718327c602cc6950402c1e4e [INFO] running `Command { std: "docker" "start" "-a" "e168e4863a0e0be680ab2f4d2dec0898cb9e25f5718327c602cc6950402c1e4e", kill_on_drop: false }` [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling department v0.2.6 (/opt/rustwide/workdir) [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(ptr_metadata)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #![feature(layout_for_ptr)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/lib.rs:9:33 [INFO] [stdout] | [INFO] [stdout] 9 | #![cfg_attr(feature = "unsize", feature(unsize, coerce_unsized))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/lib.rs:33:32 [INFO] [stdout] | [INFO] [stdout] 33 | #![cfg_attr(feature = "alloc", feature(allocator_api))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `::Metadata == ()` [INFO] [stdout] --> src/base.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | allocate_single, deallocate_single [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `()`, found associated type [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found associated type `::Metadata` [INFO] [stdout] help: consider constraining the associated type `::Metadata` to `()` [INFO] [stdout] | [INFO] [stdout] 21 | fn $create>( [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `::Metadata == ()` [INFO] [stdout] --> src/base.rs:367:9 [INFO] [stdout] | [INFO] [stdout] 367 | allocate, deallocate [INFO] [stdout] | ^^^^^^^^ expected `()`, found associated type [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found associated type `::Metadata` [INFO] [stdout] help: consider constraining the associated type `::Metadata` to `()` [INFO] [stdout] | [INFO] [stdout] 21 | fn $create>( [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/handles.rs:164:38 [INFO] [stdout] | [INFO] [stdout] 164 | NonNull::from_raw_parts(self.cast(), meta) [INFO] [stdout] | ----------------------- ^^^^ cannot infer type of the type parameter `U` declared on the method `cast` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Thin` [INFO] [stdout] note: required by a bound in `NonNull::::from_raw_parts` [INFO] [stdout] --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ptr/non_null.rs:297:5 [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 164 | NonNull::from_raw_parts(self.cast::(), meta) [INFO] [stdout] | +++++ [INFO] [stdout] help: consider removing this method call, as the receiver has type `NonNull` and `NonNull: Thin` trivially holds [INFO] [stdout] | [INFO] [stdout] 164 - NonNull::from_raw_parts(self.cast(), meta) [INFO] [stdout] 164 + NonNull::from_raw_parts(self, meta) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/alloc.rs:117:44 [INFO] [stdout] | [INFO] [stdout] 117 | Ok(NonNull::from_raw_parts(new_ptr.cast(), capacity)) [INFO] [stdout] | ----------------------- ^^^^ cannot infer type of the type parameter `U` declared on the method `cast` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Thin` [INFO] [stdout] note: required by a bound in `NonNull::::from_raw_parts` [INFO] [stdout] --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ptr/non_null.rs:297:5 [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 117 | Ok(NonNull::from_raw_parts(new_ptr.cast::(), capacity)) [INFO] [stdout] | +++++ [INFO] [stdout] help: consider removing this method call, as the receiver has type `NonNull<[u8]>` and `NonNull<[u8]>: Thin` trivially holds [INFO] [stdout] | [INFO] [stdout] 117 - Ok(NonNull::from_raw_parts(new_ptr.cast(), capacity)) [INFO] [stdout] 117 + Ok(NonNull::from_raw_parts(new_ptr, capacity)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/alloc.rs:139:44 [INFO] [stdout] | [INFO] [stdout] 139 | Ok(NonNull::from_raw_parts(new_ptr.cast(), capacity)) [INFO] [stdout] | ----------------------- ^^^^ cannot infer type of the type parameter `U` declared on the method `cast` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Thin` [INFO] [stdout] note: required by a bound in `NonNull::::from_raw_parts` [INFO] [stdout] --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ptr/non_null.rs:297:5 [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 139 | Ok(NonNull::from_raw_parts(new_ptr.cast::(), capacity)) [INFO] [stdout] | +++++ [INFO] [stdout] help: consider removing this method call, as the receiver has type `NonNull<[u8]>` and `NonNull<[u8]>: Thin` trivially holds [INFO] [stdout] | [INFO] [stdout] 139 - Ok(NonNull::from_raw_parts(new_ptr.cast(), capacity)) [INFO] [stdout] 139 + Ok(NonNull::from_raw_parts(new_ptr, capacity)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `NonNull<_>` [INFO] [stdout] --> src/heap.rs:229:13 [INFO] [stdout] | [INFO] [stdout] 229 | let ptr = unsafe { NonNull::new_unchecked(slice_ptr).cast() }; [INFO] [stdout] | ^^^ ---------------------------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `ptr` an explicit type, where the type for type parameter `U` is specified [INFO] [stdout] | [INFO] [stdout] 229 | let ptr: NonNull = unsafe { NonNull::new_unchecked(slice_ptr).cast() }; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0271, E0282, E0283, E0554. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0271`. [INFO] [stdout] [INFO] [stderr] error: could not compile `department` (lib) due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "e168e4863a0e0be680ab2f4d2dec0898cb9e25f5718327c602cc6950402c1e4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e168e4863a0e0be680ab2f4d2dec0898cb9e25f5718327c602cc6950402c1e4e", kill_on_drop: false }` [INFO] [stdout] e168e4863a0e0be680ab2f4d2dec0898cb9e25f5718327c602cc6950402c1e4e