[INFO] crate shared_slice 0.0.4 is already in cache [INFO] checking shared_slice-0.0.4 against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] extracting crate shared_slice 0.0.4 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate shared_slice 0.0.4 on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "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-4/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "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] ca3d0f216ca79c0047b23d377a52777188e8f673de7cfb8d998c9627b59a8a7b [INFO] running `"docker" "start" "-a" "ca3d0f216ca79c0047b23d377a52777188e8f673de7cfb8d998c9627b59a8a7b"` [INFO] [stderr] Checking shared_slice v0.0.4 (/opt/rustwide/workdir) [INFO] [stderr] Checking rand v0.4.6 [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 struct `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; 2 warnings emitted [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] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "ca3d0f216ca79c0047b23d377a52777188e8f673de7cfb8d998c9627b59a8a7b"` [INFO] running `"docker" "rm" "-f" "ca3d0f216ca79c0047b23d377a52777188e8f673de7cfb8d998c9627b59a8a7b"` [INFO] [stdout] ca3d0f216ca79c0047b23d377a52777188e8f673de7cfb8d998c9627b59a8a7b