[INFO] fetching crate strong_rc 0.1.4... [INFO] checking strong_rc-0.1.4 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-4 [INFO] extracting crate strong_rc 0.1.4 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate strong_rc 0.1.4 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate strong_rc 0.1.4 [INFO] finished tweaking crates.io crate strong_rc 0.1.4 [INFO] tweaked toml for crates.io crate strong_rc 0.1.4 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 11 packages [INFO] [stderr] Adding rand v0.3.23 (latest: v0.8.5) [INFO] [stderr] Adding rand v0.4.6 (latest: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (latest: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (latest: v0.8.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7609d71a847b79f11645980b6b697c87e7f9f105e7603fbef5ec658d3619c943 [INFO] running `Command { std: "docker" "start" "-a" "7609d71a847b79f11645980b6b697c87e7f9f105e7603fbef5ec658d3619c943", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7609d71a847b79f11645980b6b697c87e7f9f105e7603fbef5ec658d3619c943", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7609d71a847b79f11645980b6b697c87e7f9f105e7603fbef5ec658d3619c943", kill_on_drop: false }` [INFO] [stdout] 7609d71a847b79f11645980b6b697c87e7f9f105e7603fbef5ec658d3619c943 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1242f9689df839c173a29d10935d72a8766ef82fcb506ee23fa71d8e9550a660 [INFO] running `Command { std: "docker" "start" "-a" "1242f9689df839c173a29d10935d72a8766ef82fcb506ee23fa71d8e9550a660", kill_on_drop: false }` [INFO] [stderr] Checking strong_rc v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Checking rand v0.4.6 [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 122 | #![feature(optin_builtin_traits)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: renamed to `auto_traits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `alloc::heap` [INFO] [stdout] --> src/lib.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | use alloc::heap; [INFO] [stdout] | ^^^^^^^^^^^ no `heap` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::ptr::Shared` [INFO] [stdout] --> src/lib.rs:139:22 [INFO] [stdout] | [INFO] [stdout] 139 | use std::ptr::{self, Shared}; [INFO] [stdout] | ^^^^^^ no `Shared` in `ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: negative trait bounds are not yet fully implemented; use marker types for now [INFO] [stdout] --> src/lib.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | impl !marker::Send for Rc {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #68318 for more information [INFO] [stdout] = help: add `#![feature(negative_impls)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-03-29; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: negative trait bounds are not yet fully implemented; use marker types for now [INFO] [stdout] --> src/lib.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | impl !marker::Sync for Rc {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #68318 for more information [INFO] [stdout] = help: add `#![feature(negative_impls)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-03-29; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `shared` [INFO] [stdout] --> src/lib.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 120 | #![feature(shared)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `heap_api` [INFO] [stdout] --> src/lib.rs:125:19 [INFO] [stdout] | [INFO] [stdout] 125 | #![feature(alloc, heap_api)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0374]: the trait `CoerceUnsized` may only be implemented for a coercion between structures [INFO] [stdout] --> src/lib.rs:190:1 [INFO] [stdout] | [INFO] [stdout] 190 | / impl CoerceUnsized> for Rc [INFO] [stdout] 191 | | where T: ?Sized + Unsize, [INFO] [stdout] 192 | | U: ?Sized {} [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = note: expected a single field to be coerced, none found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:239:12 [INFO] [stdout] | [INFO] [stdout] 239 | if Rc::is_unique(&this) { [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the struct `Rc` [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 239 | if Rc::::is_unique(&this) { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:255:9 [INFO] [stdout] | [INFO] [stdout] 255 | Rc::is_unique(this) [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the struct `Rc` [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 255 | Rc::::is_unique(this) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:344:9 [INFO] [stdout] | [INFO] [stdout] 344 | self.inner().strong.get() [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type for type parameter `T` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:349:9 [INFO] [stdout] | [INFO] [stdout] 349 | self.inner().strong.set( [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type for type parameter `T` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:355:9 [INFO] [stdout] | [INFO] [stdout] 355 | self.inner().strong.set(self.strong() - 1); [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type for type parameter `T` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:372:9 [INFO] [stdout] | [INFO] [stdout] 372 | this.strong() [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type for type parameter `T` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:381:9 [INFO] [stdout] | [INFO] [stdout] 381 | this.strong() == 1 [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type for type parameter `T` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0790]: cannot call associated function on trait without specifying the corresponding `impl` type [INFO] [stdout] --> src/lib.rs:583:17 [INFO] [stdout] | [INFO] [stdout] 583 | Rc::new(Default::default()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot call associated function of trait [INFO] [stdout] | [INFO] [stdout] help: use a fully-qualified path to a specific available implementation [INFO] [stdout] | [INFO] [stdout] 583 | Rc::new(::default()) [INFO] [stdout] | +++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0374, E0432, E0557, E0635, E0658, E0790. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `strong_rc` (lib) due to 17 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "1242f9689df839c173a29d10935d72a8766ef82fcb506ee23fa71d8e9550a660", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1242f9689df839c173a29d10935d72a8766ef82fcb506ee23fa71d8e9550a660", kill_on_drop: false }` [INFO] [stdout] 1242f9689df839c173a29d10935d72a8766ef82fcb506ee23fa71d8e9550a660