[INFO] fetching crate strong_rc 0.1.4... [INFO] checking strong_rc-0.1.4 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [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 f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 10 packages to latest compatible versions [INFO] [stderr] Adding rand v0.3.23 (available: v0.8.5) [INFO] [stderr] Adding rand v0.4.6 (available: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (available: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (available: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (available: v0.8.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 42c382310ddb778d2e768a3f47e93542e4e3fd52fcfaf868429c7754bd9a886c [INFO] running `Command { std: "docker" "start" "-a" "42c382310ddb778d2e768a3f47e93542e4e3fd52fcfaf868429c7754bd9a886c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "42c382310ddb778d2e768a3f47e93542e4e3fd52fcfaf868429c7754bd9a886c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42c382310ddb778d2e768a3f47e93542e4e3fd52fcfaf868429c7754bd9a886c", kill_on_drop: false }` [INFO] [stdout] 42c382310ddb778d2e768a3f47e93542e4e3fd52fcfaf868429c7754bd9a886c [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=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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1dbdca2aad4642548a201ce8c3e942c9817f6e3574083f420f25b16df3685452 [INFO] running `Command { std: "docker" "start" "-a" "1dbdca2aad4642548a201ce8c3e942c9817f6e3574083f420f25b16df3685452", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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-09-17; 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-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/lib.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 124 | #![feature(specialization)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #31844 for more information [INFO] [stdout] = help: consider using `min_specialization` instead, which is more stable and complete [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `process_abort` has been stable since 1.17.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | #![feature(process_abort)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `alloc` has been stable since 1.36.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | #![feature(alloc, heap_api)] [INFO] [stdout] | ^^^^^ [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: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: aborting due to 14 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0374, E0432, E0557, E0635, E0658. [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 15 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "1dbdca2aad4642548a201ce8c3e942c9817f6e3574083f420f25b16df3685452", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1dbdca2aad4642548a201ce8c3e942c9817f6e3574083f420f25b16df3685452", kill_on_drop: false }` [INFO] [stdout] 1dbdca2aad4642548a201ce8c3e942c9817f6e3574083f420f25b16df3685452