[INFO] cloning repository https://github.com/nathanfaucett/rs-gc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nathanfaucett/rs-gc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnathanfaucett%2Frs-gc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnathanfaucett%2Frs-gc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 869df00986fb7fee9cc8d06b7cb743ff7512cc5b [INFO] checking nathanfaucett/rs-gc against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnathanfaucett%2Frs-gc" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nathanfaucett/rs-gc on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nathanfaucett/rs-gc [INFO] finished tweaking git repo https://github.com/nathanfaucett/rs-gc [INFO] tweaked toml for git repo https://github.com/nathanfaucett/rs-gc written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/nathanfaucett/rs-gc already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2aaa9859cb48f362e7e8209bbdff5781052f150883105704a106b2b1df82a8f0 [INFO] running `Command { std: "docker" "start" "-a" "2aaa9859cb48f362e7e8209bbdff5781052f150883105704a106b2b1df82a8f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2aaa9859cb48f362e7e8209bbdff5781052f150883105704a106b2b1df82a8f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2aaa9859cb48f362e7e8209bbdff5781052f150883105704a106b2b1df82a8f0", kill_on_drop: false }` [INFO] [stdout] 2aaa9859cb48f362e7e8209bbdff5781052f150883105704a106b2b1df82a8f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fc6d8bbcc665720b6e65ba9f6006ae5a959ad622752380ba405e7c1e5b15aab5 [INFO] running `Command { std: "docker" "start" "-a" "fc6d8bbcc665720b6e65ba9f6006ae5a959ad622752380ba405e7c1e5b15aab5", kill_on_drop: false }` [INFO] [stderr] Checking gc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `collections` [INFO] [stdout] --> src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | extern crate collections; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `collections` [INFO] [stdout] --> src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | extern crate collections; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `core::ptr::Shared` [INFO] [stdout] --> src/gc_box.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use core::ptr::Shared; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Shared` in `ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `core::ptr::Shared` [INFO] [stdout] --> src/gc_box.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use core::ptr::Shared; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Shared` in `ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `alloc::heap` [INFO] [stdout] --> src/gc_state.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | 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/gc_state.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use alloc::heap; [INFO] [stdout] | ^^^^^^^^^^^ no `heap` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `core::ptr::Shared` [INFO] [stdout] --> src/gc_state.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use core::ptr::Shared; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Shared` in `ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `core::ptr::Shared` [INFO] [stdout] --> src/gc.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use core::ptr::Shared; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Shared` in `ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `core::ptr::Shared` [INFO] [stdout] --> src/gc_state.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use core::ptr::Shared; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Shared` in `ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `core::ptr::Shared` [INFO] [stdout] --> src/gc.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use core::ptr::Shared; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Shared` in `ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `heap_api` [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(heap_api)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `shared` [INFO] [stdout] --> src/lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(shared)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `collections` [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(collections)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `heap_api` [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(heap_api)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `shared` [INFO] [stdout] --> src/lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(shared)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `collections` [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(collections)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/gc_state.rs:99:35 [INFO] [stdout] | [INFO] [stdout] 99 | prev_node.as_mut().set_next(next_option) [INFO] [stdout] | ^^^^^^ cannot infer type for type parameter `T` declared on the enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/gc_state.rs:99:35 [INFO] [stdout] | [INFO] [stdout] 99 | prev_node.as_mut().set_next(next_option) [INFO] [stdout] | ^^^^^^ cannot infer type for type parameter `T` declared on the enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/gc.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | self.gc_box_as_ref().dec_roots(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type for type parameter `T` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/gc.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | self.gc_box_as_ref().dec_roots(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type for type parameter `T` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/gc.rs:108:27 [INFO] [stdout] | [INFO] [stdout] 108 | write!(f, "{:?}", self.as_ref()) [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type for type parameter `T` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/gc.rs:108:27 [INFO] [stdout] | [INFO] [stdout] 108 | write!(f, "{:?}", self.as_ref()) [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type for type parameter `T` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/gc.rs:116:25 [INFO] [stdout] | [INFO] [stdout] 116 | write!(f, "{}", self.as_ref()) [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type for type parameter `T` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/gc.rs:116:25 [INFO] [stdout] | [INFO] [stdout] 116 | write!(f, "{}", self.as_ref()) [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type for type parameter `T` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0463, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0463, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gc` (lib) due to 13 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `gc` (lib test) due to 13 previous errors [INFO] running `Command { std: "docker" "inspect" "fc6d8bbcc665720b6e65ba9f6006ae5a959ad622752380ba405e7c1e5b15aab5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc6d8bbcc665720b6e65ba9f6006ae5a959ad622752380ba405e7c1e5b15aab5", kill_on_drop: false }` [INFO] [stdout] fc6d8bbcc665720b6e65ba9f6006ae5a959ad622752380ba405e7c1e5b15aab5