[INFO] fetching crate shared_slice 0.0.4... [INFO] checking shared_slice-0.0.4 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate shared_slice 0.0.4 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate shared_slice 0.0.4 [INFO] finished tweaking crates.io crate shared_slice 0.0.4 [INFO] tweaked toml for crates.io crate shared_slice 0.0.4 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate shared_slice 0.0.4 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 10 packages to latest compatible versions [INFO] [stderr] Adding rand v0.3.23 (available: v0.9.2) [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: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] cfbdf548a012440f214605b41a0143cd8b7b7e58f67f665ea683f42e5a786cb7 [INFO] running `Command { std: "docker" "start" "-a" "cfbdf548a012440f214605b41a0143cd8b7b7e58f67f665ea683f42e5a786cb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cfbdf548a012440f214605b41a0143cd8b7b7e58f67f665ea683f42e5a786cb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfbdf548a012440f214605b41a0143cd8b7b7e58f67f665ea683f42e5a786cb7", kill_on_drop: false }` [INFO] [stdout] cfbdf548a012440f214605b41a0143cd8b7b7e58f67f665ea683f42e5a786cb7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] d1b1af8d188892a5d907f482a1708364b29bcbcc049e7d297c9c5491547df365 [INFO] running `Command { std: "docker" "start" "-a" "d1b1af8d188892a5d907f482a1708364b29bcbcc049e7d297c9c5491547df365", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking shared_slice v0.0.4 (/opt/rustwide/workdir) [INFO] [stdout] error[E0259]: the name `core` is defined multiple times [INFO] [stdout] --> src/lib.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | extern crate core; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ `core` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `core` must be defined only once in the type namespace of this module [INFO] [stdout] help: you can use `as` to change the binding name of the import [INFO] [stdout] | [INFO] [stdout] 79 | extern crate core as other_core; [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `alloc::arc` [INFO] [stdout] --> src/arc.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | use alloc::arc::{Arc, Weak}; [INFO] [stdout] | ^^^ could not find `arc` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `alloc::arc` [INFO] [stdout] --> src/arc.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | use alloc::arc::{Arc, Weak}; [INFO] [stdout] | ^^^ could not find `arc` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::prelude::*` [INFO] [stdout] --> src/rc.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use core::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::prelude::*` [INFO] [stdout] --> src/arc.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use core::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `no_std` has been stable since 1.6.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(no_std)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `core` has been stable since 1.6.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | #![feature(core, alloc)] [INFO] [stdout] | ^^^^ [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:76:18 [INFO] [stdout] | [INFO] [stdout] 76 | #![feature(core, alloc)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::prelude::*` [INFO] [stdout] --> src/rc.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use core::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/rc.rs:299:18 [INFO] [stdout] | [INFO] [stdout] 299 | for i in (0..3 + 1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 299 - for i in (0..3 + 1) { [INFO] [stdout] 299 + for i in 0..3 + 1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/rc.rs:300:22 [INFO] [stdout] | [INFO] [stdout] 300 | for j in (i..3 + 1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 300 - for j in (i..3 + 1) { [INFO] [stdout] 300 + for j in i..3 + 1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::prelude::*` [INFO] [stdout] --> src/arc.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use core::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/arc.rs:304:18 [INFO] [stdout] | [INFO] [stdout] 304 | for i in (0..3 + 1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 304 - for i in (0..3 + 1) { [INFO] [stdout] 304 + for i in 0..3 + 1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/arc.rs:305:22 [INFO] [stdout] | [INFO] [stdout] 305 | for j in (i..3 + 1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 305 - for j in (i..3 + 1) { [INFO] [stdout] 305 + for j in i..3 + 1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `no_std` has been stable since 1.6.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(no_std)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `core` has been stable since 1.6.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | #![feature(core, alloc)] [INFO] [stdout] | ^^^^ [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:76:18 [INFO] [stdout] | [INFO] [stdout] 76 | #![feature(core, alloc)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `downgrade` found for struct `Rc>` in the current scope [INFO] [stdout] --> src/rc.rs:73:33 [INFO] [stdout] | [INFO] [stdout] 73 | counts: self.counts.downgrade() [INFO] [stdout] | ------------^^^^^^^^^-- [INFO] [stdout] | | | [INFO] [stdout] | | this is an associated function, not a method [INFO] [stdout] | help: use associated function syntax instead: `Rc::>::downgrade(&self.counts)` [INFO] [stdout] | [INFO] [stdout] = note: found the following associated functions; to be used as methods, functions must have a `self` parameter [INFO] [stdout] = note: the candidate is defined in an impl for the type `Rc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0259, E0432, E0599. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `downgrade` found for struct `Rc>` in the current scope [INFO] [stdout] --> src/rc.rs:73:33 [INFO] [stdout] | [INFO] [stdout] 73 | counts: self.counts.downgrade() [INFO] [stdout] | ------------^^^^^^^^^-- [INFO] [stdout] | | | [INFO] [stdout] | | this is an associated function, not a method [INFO] [stdout] | help: use associated function syntax instead: `Rc::>::downgrade(&self.counts)` [INFO] [stdout] | [INFO] [stdout] = note: found the following associated functions; to be used as methods, functions must have a `self` parameter [INFO] [stdout] = note: the candidate is defined in an impl for the type `Rc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0259`. [INFO] [stdout] [INFO] [stderr] error: could not compile `shared_slice` (lib) due to 3 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `shared_slice` (lib test) due to 2 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d1b1af8d188892a5d907f482a1708364b29bcbcc049e7d297c9c5491547df365", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1b1af8d188892a5d907f482a1708364b29bcbcc049e7d297c9c5491547df365", kill_on_drop: false }` [INFO] [stdout] d1b1af8d188892a5d907f482a1708364b29bcbcc049e7d297c9c5491547df365