[INFO] crate any-arena 0.0.1 is already in cache [INFO] checking any-arena-0.0.1 against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] extracting crate any-arena 0.0.1 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate any-arena 0.0.1 on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate any-arena 0.0.1 [INFO] finished tweaking crates.io crate any-arena 0.0.1 [INFO] tweaked toml for crates.io crate any-arena 0.0.1 written to /workspace/builds/worker-5/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-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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] [stdout] c8b3c04099c0705cd8147c5f82cc2bf8800d6de5242262f6a580b4bf0609fee4 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "c8b3c04099c0705cd8147c5f82cc2bf8800d6de5242262f6a580b4bf0609fee4"` [INFO] [stderr] Checking any-arena v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `alloc::heap` [INFO] [stderr] --> src/any_arena.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | use alloc::heap; [INFO] [stderr] | ^^^^^^^^^^^ no `heap` in the root [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/any_arena.rs:308:33 [INFO] [stderr] | [INFO] [stderr] 308 | let obj = mem::transmute::<&AllTypes, TraitObject>(ptr); [INFO] [stderr] | ^^^^^^^^ help: use `dyn`: `dyn AllTypes` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stderr] --> src/any_arena.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | use alloc::raw_vec::RawVec; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stderr] --> src/any_arena.rs:235:11 [INFO] [stderr] | [INFO] [stderr] 235 | data: RawVec, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stderr] --> src/any_arena.rs:245:19 [INFO] [stderr] | [INFO] [stderr] 245 | data: RawVec::with_capacity(size), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `alloc::heap` [INFO] [stderr] --> src/any_arena.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | use alloc::heap; [INFO] [stderr] | ^^^^^^^^^^^ no `heap` in the root [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/any_arena.rs:308:33 [INFO] [stderr] | [INFO] [stderr] 308 | let obj = mem::transmute::<&AllTypes, TraitObject>(ptr); [INFO] [stderr] | ^^^^^^^^ help: use `dyn`: `dyn AllTypes` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stderr] --> src/any_arena.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | use alloc::raw_vec::RawVec; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stderr] --> src/any_arena.rs:235:11 [INFO] [stderr] | [INFO] [stderr] 235 | data: RawVec, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stderr] --> src/any_arena.rs:245:19 [INFO] [stderr] | [INFO] [stderr] 245 | data: RawVec::with_capacity(size), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stderr] --> src/any_arena.rs:174:22 [INFO] [stderr] | [INFO] [stderr] 174 | if head.data.reserve_in_place(used_cap, n_bytes) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stderr] --> src/any_arena.rs:174:22 [INFO] [stderr] | [INFO] [stderr] 174 | if head.data.reserve_in_place(used_cap, n_bytes) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `cap` found for struct `alloc::raw_vec::RawVec` in the current scope [INFO] [stderr] --> src/any_arena.rs:252:19 [INFO] [stderr] | [INFO] [stderr] 252 | self.data.cap() [INFO] [stderr] | ^^^ private field, not a method [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stderr] --> src/any_arena.rs:256:19 [INFO] [stderr] | [INFO] [stderr] 256 | self.data.ptr() [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0599, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `any-arena`. [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[E0599]: no method named `cap` found for struct `alloc::raw_vec::RawVec` in the current scope [INFO] [stderr] --> src/any_arena.rs:252:19 [INFO] [stderr] | [INFO] [stderr] 252 | self.data.cap() [INFO] [stderr] | ^^^ private field, not a method [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stderr] --> src/any_arena.rs:256:19 [INFO] [stderr] | [INFO] [stderr] 256 | self.data.ptr() [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0599, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `any-arena`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "c8b3c04099c0705cd8147c5f82cc2bf8800d6de5242262f6a580b4bf0609fee4"` [INFO] running `"docker" "rm" "-f" "c8b3c04099c0705cd8147c5f82cc2bf8800d6de5242262f6a580b4bf0609fee4"` [INFO] [stdout] c8b3c04099c0705cd8147c5f82cc2bf8800d6de5242262f6a580b4bf0609fee4