[INFO] fetching crate any-arena 0.0.1... [INFO] checking any-arena-0.0.1 against try#b20a093d9fb1ffaa04ae9852cb034864a992bafd for pr-85073 [INFO] extracting crate any-arena 0.0.1 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate any-arena 0.0.1 on toolchain b20a093d9fb1ffaa04ae9852cb034864a992bafd [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f65d6ab3a499a1a12a087bc6eec2b4987d2d9fbada56da9002a15aae22d0feb1 [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" "f65d6ab3a499a1a12a087bc6eec2b4987d2d9fbada56da9002a15aae22d0feb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f65d6ab3a499a1a12a087bc6eec2b4987d2d9fbada56da9002a15aae22d0feb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f65d6ab3a499a1a12a087bc6eec2b4987d2d9fbada56da9002a15aae22d0feb1", kill_on_drop: false }` [INFO] [stdout] f65d6ab3a499a1a12a087bc6eec2b4987d2d9fbada56da9002a15aae22d0feb1 [INFO] running `Command { std: "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" "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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 61ecd5003137b8ebedc554cd91e01be6c49fe3c2eaf5f40c6e2a76d1e2827ee7 [INFO] running `Command { std: "docker" "start" "-a" "61ecd5003137b8ebedc554cd91e01be6c49fe3c2eaf5f40c6e2a76d1e2827ee7", kill_on_drop: false }` [INFO] [stderr] Checking any-arena v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `alloc::heap` [INFO] [stdout] --> src/any_arena.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use alloc::heap; [INFO] [stdout] | ^^^^^^^^^^^ no `heap` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `alloc::heap` [INFO] [stdout] --> src/any_arena.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use alloc::heap; [INFO] [stdout] | ^^^^^^^^^^^ no `heap` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/any_arena.rs:308:33 [INFO] [stdout] | [INFO] [stdout] 308 | let obj = mem::transmute::<&AllTypes, TraitObject>(ptr); [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn AllTypes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/any_arena.rs:308:33 [INFO] [stdout] | [INFO] [stdout] 308 | let obj = mem::transmute::<&AllTypes, TraitObject>(ptr); [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn AllTypes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/any_arena.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use alloc::raw_vec::RawVec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/any_arena.rs:235:11 [INFO] [stdout] | [INFO] [stdout] 235 | data: RawVec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/any_arena.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use alloc::raw_vec::RawVec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/any_arena.rs:235:11 [INFO] [stdout] | [INFO] [stdout] 235 | data: RawVec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `std::raw::TraitObject`: use pointer metadata APIs instead https://github.com/rust-lang/rust/issues/81513 [INFO] [stdout] --> src/any_arena.rs:308:43 [INFO] [stdout] | [INFO] [stdout] 308 | let obj = mem::transmute::<&AllTypes, TraitObject>(ptr); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `std::raw::TraitObject`: use pointer metadata APIs instead https://github.com/rust-lang/rust/issues/81513 [INFO] [stdout] --> src/any_arena.rs:303:9 [INFO] [stdout] | [INFO] [stdout] 303 | use std::raw::TraitObject; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/any_arena.rs:245:19 [INFO] [stdout] | [INFO] [stdout] 245 | data: RawVec::with_capacity(size), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `std::raw::TraitObject`: use pointer metadata APIs instead https://github.com/rust-lang/rust/issues/81513 [INFO] [stdout] --> src/any_arena.rs:308:43 [INFO] [stdout] | [INFO] [stdout] 308 | let obj = mem::transmute::<&AllTypes, TraitObject>(ptr); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `std::raw::TraitObject`: use pointer metadata APIs instead https://github.com/rust-lang/rust/issues/81513 [INFO] [stdout] --> src/any_arena.rs:303:9 [INFO] [stdout] | [INFO] [stdout] 303 | use std::raw::TraitObject; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/any_arena.rs:245:19 [INFO] [stdout] | [INFO] [stdout] 245 | data: RawVec::with_capacity(size), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `reserve_in_place` found for struct `RawVec` in the current scope [INFO] [stdout] --> src/any_arena.rs:174:22 [INFO] [stdout] | [INFO] [stdout] 174 | if head.data.reserve_in_place(used_cap, n_bytes) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `RawVec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `reserve_in_place` found for struct `RawVec` in the current scope [INFO] [stdout] --> src/any_arena.rs:174:22 [INFO] [stdout] | [INFO] [stdout] 174 | if head.data.reserve_in_place(used_cap, n_bytes) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `RawVec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/any_arena.rs:245:19 [INFO] [stdout] | [INFO] [stdout] 245 | data: RawVec::with_capacity(size), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/any_arena.rs:245:19 [INFO] [stdout] | [INFO] [stdout] 245 | data: RawVec::with_capacity(size), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cap` found for struct `RawVec` in the current scope [INFO] [stdout] --> src/any_arena.rs:252:19 [INFO] [stdout] | [INFO] [stdout] 252 | self.data.cap() [INFO] [stdout] | ^^^ private field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/any_arena.rs:256:19 [INFO] [stdout] | [INFO] [stdout] 256 | self.data.ptr() [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cap` found for struct `RawVec` in the current scope [INFO] [stdout] --> src/any_arena.rs:252:19 [INFO] [stdout] | [INFO] [stdout] 252 | self.data.cap() [INFO] [stdout] | ^^^ private field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/any_arena.rs:256:19 [INFO] [stdout] | [INFO] [stdout] 256 | self.data.ptr() [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `std::raw::TraitObject::vtable`: use pointer metadata APIs instead https://github.com/rust-lang/rust/issues/81513 [INFO] [stdout] --> src/any_arena.rs:309:5 [INFO] [stdout] | [INFO] [stdout] 309 | obj.vtable as *const TyDesc [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `std::raw::TraitObject::vtable`: use pointer metadata APIs instead https://github.com/rust-lang/rust/issues/81513 [INFO] [stdout] --> src/any_arena.rs:309:5 [INFO] [stdout] | [INFO] [stdout] 309 | obj.vtable as *const TyDesc [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [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: build failed [INFO] running `Command { std: "docker" "inspect" "61ecd5003137b8ebedc554cd91e01be6c49fe3c2eaf5f40c6e2a76d1e2827ee7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61ecd5003137b8ebedc554cd91e01be6c49fe3c2eaf5f40c6e2a76d1e2827ee7", kill_on_drop: false }` [INFO] [stdout] 61ecd5003137b8ebedc554cd91e01be6c49fe3c2eaf5f40c6e2a76d1e2827ee7