[INFO] fetching crate shared_slice 0.0.4... [INFO] checking shared_slice-0.0.4 against master#2748a9fd93dd1a00a4521f4f16de5befbf77f6cd for pr-62262-1 [INFO] extracting crate shared_slice 0.0.4 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate shared_slice 0.0.4 on toolchain 2748a9fd93dd1a00a4521f4f16de5befbf77f6cd [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "read-manifest" "--manifest-path" "Cargo.toml"` [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-10/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8433f082536991b401c7f474a40dfcf9203c9f996cba87e0ca52193186f99b28 [INFO] running `"docker" "start" "-a" "8433f082536991b401c7f474a40dfcf9203c9f996cba87e0ca52193186f99b28"` [INFO] [stderr] Checking shared_slice v0.0.4 (/opt/rustwide/workdir) [INFO] [stderr] error[E0259]: the name `core` is defined multiple times [INFO] [stderr] --> src/lib.rs:79:1 [INFO] [stderr] | [INFO] [stderr] 79 | extern crate core; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ `core` reimported here [INFO] [stderr] | [INFO] [stderr] = note: `core` must be defined only once in the type namespace of this module [INFO] [stderr] help: you can use `as` to change the binding name of the import [INFO] [stderr] | [INFO] [stderr] 79 | extern crate core as other_core; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `alloc::arc` [INFO] [stderr] --> src/arc.rs:8:12 [INFO] [stderr] | [INFO] [stderr] 8 | use alloc::arc::{Arc, Weak}; [INFO] [stderr] | ^^^ could not find `arc` in `alloc` [INFO] [stderr] [INFO] [stderr] warning: unused import: `core::prelude::*` [INFO] [stderr] --> src/rc.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use core::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `core::prelude::*` [INFO] [stderr] --> src/arc.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use core::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `downgrade` found for type `alloc::rc::Rc>` in the current scope [INFO] [stderr] --> src/rc.rs:73:33 [INFO] [stderr] | [INFO] [stderr] 73 | counts: self.counts.downgrade() [INFO] [stderr] | ------------^^^^^^^^^ [INFO] [stderr] | | | [INFO] [stderr] | | this is an associated function, not a method [INFO] [stderr] | help: use associated function syntax instead: `alloc::rc::Rc::>::downgrade` [INFO] [stderr] | [INFO] [stderr] = note: found the following associated functions; to be used as methods, functions must have a `self` parameter [INFO] [stderr] = note: the candidate is defined in an impl for the type `alloc::rc::Rc<_>` [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0259, E0432, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0259`. [INFO] [stderr] error: could not compile `shared_slice`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0432]: unresolved import `alloc::arc` [INFO] [stderr] --> src/arc.rs:8:12 [INFO] [stderr] | [INFO] [stderr] 8 | use alloc::arc::{Arc, Weak}; [INFO] [stderr] | ^^^ could not find `arc` in `alloc` [INFO] [stderr] [INFO] [stderr] warning: unused import: `core::prelude::*` [INFO] [stderr] --> src/rc.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use core::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` head expression [INFO] [stderr] --> src/rc.rs:299:18 [INFO] [stderr] | [INFO] [stderr] 299 | for i in (0..3 + 1) { [INFO] [stderr] | ^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` head expression [INFO] [stderr] --> src/rc.rs:300:22 [INFO] [stderr] | [INFO] [stderr] 300 | for j in (i..3 + 1) { [INFO] [stderr] | ^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unused import: `core::prelude::*` [INFO] [stderr] --> src/arc.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use core::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` head expression [INFO] [stderr] --> src/arc.rs:304:18 [INFO] [stderr] | [INFO] [stderr] 304 | for i in (0..3 + 1) { [INFO] [stderr] | ^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` head expression [INFO] [stderr] --> src/arc.rs:305:22 [INFO] [stderr] | [INFO] [stderr] 305 | for j in (i..3 + 1) { [INFO] [stderr] | ^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `downgrade` found for type `std::rc::Rc>` in the current scope [INFO] [stderr] --> src/rc.rs:73:33 [INFO] [stderr] | [INFO] [stderr] 73 | counts: self.counts.downgrade() [INFO] [stderr] | ------------^^^^^^^^^ [INFO] [stderr] | | | [INFO] [stderr] | | this is an associated function, not a method [INFO] [stderr] | help: use associated function syntax instead: `std::rc::Rc::>::downgrade` [INFO] [stderr] | [INFO] [stderr] = note: found the following associated functions; to be used as methods, functions must have a `self` parameter [INFO] [stderr] = note: the candidate is defined in an impl for the type `std::rc::Rc<_>` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `shared_slice`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "8433f082536991b401c7f474a40dfcf9203c9f996cba87e0ca52193186f99b28"` [INFO] running `"docker" "rm" "-f" "8433f082536991b401c7f474a40dfcf9203c9f996cba87e0ca52193186f99b28"` [INFO] [stdout] 8433f082536991b401c7f474a40dfcf9203c9f996cba87e0ca52193186f99b28