[INFO] fetching crate shared_slice 0.0.4... [INFO] checking shared_slice-0.0.4 against try#3e22d1f9053c0fc87629b3c6d5d9567856368e5d for pr-78714 [INFO] extracting crate shared_slice 0.0.4 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate shared_slice 0.0.4 on toolchain 3e22d1f9053c0fc87629b3c6d5d9567856368e5d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ccd6d51e1d8e0c2c09d22ec78abec126ae1ea9e822b7b3d7de527888d43602c2 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ccd6d51e1d8e0c2c09d22ec78abec126ae1ea9e822b7b3d7de527888d43602c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ccd6d51e1d8e0c2c09d22ec78abec126ae1ea9e822b7b3d7de527888d43602c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccd6d51e1d8e0c2c09d22ec78abec126ae1ea9e822b7b3d7de527888d43602c2", kill_on_drop: false }` [INFO] [stdout] ccd6d51e1d8e0c2c09d22ec78abec126ae1ea9e822b7b3d7de527888d43602c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed0987f11ff9f195ac401cb1533f6713d8ebca1bf93fb21a25714cffbbd41ead [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ed0987f11ff9f195ac401cb1533f6713d8ebca1bf93fb21a25714cffbbd41ead", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] 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] 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: 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] | ^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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] | ^^^^^^^^^^ help: remove these parentheses [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] | ^^^^^^^^^^ help: remove these parentheses [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] | ^^^^^^^^^^ help: remove these parentheses [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` [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] error: aborting due to 3 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0259, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0259`. [INFO] [stdout] [INFO] [stderr] error: could not compile `shared_slice` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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` [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] error: aborting due to 2 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [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: build failed [INFO] running `Command { std: "docker" "inspect" "ed0987f11ff9f195ac401cb1533f6713d8ebca1bf93fb21a25714cffbbd41ead", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed0987f11ff9f195ac401cb1533f6713d8ebca1bf93fb21a25714cffbbd41ead", kill_on_drop: false }` [INFO] [stdout] ed0987f11ff9f195ac401cb1533f6713d8ebca1bf93fb21a25714cffbbd41ead