[INFO] fetching crate gc 0.5.0... [INFO] checking gc-0.5.0 against master#dc8fe1f81c6cf13c0987944c525b2aa81625b5d0 for pr-133502-4 [INFO] extracting crate gc 0.5.0 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate gc 0.5.0 on toolchain dc8fe1f81c6cf13c0987944c525b2aa81625b5d0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dc8fe1f81c6cf13c0987944c525b2aa81625b5d0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate gc 0.5.0 [INFO] finished tweaking crates.io crate gc 0.5.0 [INFO] tweaked toml for crates.io crate gc 0.5.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dc8fe1f81c6cf13c0987944c525b2aa81625b5d0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 14 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dc8fe1f81c6cf13c0987944c525b2aa81625b5d0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gc_derive v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+dc8fe1f81c6cf13c0987944c525b2aa81625b5d0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 450a7189bc0039febdf66b33d56c12267f1c51f079739be768335f0b036351b7 [INFO] running `Command { std: "docker" "start" "-a" "450a7189bc0039febdf66b33d56c12267f1c51f079739be768335f0b036351b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "450a7189bc0039febdf66b33d56c12267f1c51f079739be768335f0b036351b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "450a7189bc0039febdf66b33d56c12267f1c51f079739be768335f0b036351b7", kill_on_drop: false }` [INFO] [stdout] 450a7189bc0039febdf66b33d56c12267f1c51f079739be768335f0b036351b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=forbid" "-e" "RUSTDOCFLAGS=--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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+dc8fe1f81c6cf13c0987944c525b2aa81625b5d0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e7c962b936751c31e67fe9f19461925f6d545ead68117eac91ce51580b25803d [INFO] running `Command { std: "docker" "start" "-a" "e7c962b936751c31e67fe9f19461925f6d545ead68117eac91ce51580b25803d", kill_on_drop: false }` [INFO] [stderr] Checking gc v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find derive macro `Finalize` in this scope [INFO] [stdout] --> tests/ignore_trace.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Finalize, Trace)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Finalize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/ignore_trace.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use gc::{force_collect, Finalize, Gc, Trace}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Trace` in this scope [INFO] [stdout] --> tests/from_box.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Trace, Finalize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Trace` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/from_box.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use gc::{Finalize, Gc, Trace}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Trace` in this scope [INFO] [stdout] --> tests/finalize.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Trace)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Trace` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/finalize.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use gc::{Finalize, Trace}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Trace` in this scope [INFO] [stdout] --> tests/ignore_trace.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Finalize, Trace)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Trace` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/ignore_trace.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use gc::{force_collect, Finalize, Gc, Trace}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Finalize` in this scope [INFO] [stdout] --> tests/derive_bounds.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Finalize, Trace)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Finalize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_bounds.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | use gc::{Finalize, Gc, Trace}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `unsafe_ignore_trace` in this scope [INFO] [stdout] --> tests/ignore_trace.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | struct S(#[unsafe_ignore_trace] Gc<()>); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Trace` in this scope [INFO] [stdout] --> tests/derive_bounds.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Finalize, Trace)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Trace` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_bounds.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use gc::{Finalize, Gc, Trace}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Finalize` in this scope [INFO] [stdout] --> tests/from_box.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Trace, Finalize)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Finalize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/from_box.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | use gc::{Finalize, Gc, Trace}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Trace` in this scope [INFO] [stdout] --> tests/finalize.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Trace)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Trace` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/finalize.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use gc::{Finalize, Trace}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Trace` in this scope [INFO] [stdout] --> tests/finalize.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Trace, Finalize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Trace` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/finalize.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use gc::{Finalize, Trace}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Finalize` in this scope [INFO] [stdout] --> tests/finalize.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Trace, Finalize)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Finalize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/finalize.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | use gc::{Finalize, Trace}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Thunk: Trace` is not satisfied [INFO] [stdout] --> tests/derive_bounds.rs:11:42 [INFO] [stdout] | [INFO] [stdout] 11 | let _: Gc> = Gc::new(Thunk(|| NotTrace)); [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^ the trait `Trace` is not implemented for `Thunk` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Gc::::new` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | impl Gc { [INFO] [stdout] | ^^^^^ required by this bound in `Gc::::new` [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn new(value: T) -> Self { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 11 | let _: Gc> = Gc::new(&Thunk(|| NotTrace)); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `S: Trace` is not satisfied [INFO] [stdout] --> tests/ignore_trace.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | Gc::new(S(Gc::new(()))); [INFO] [stdout] | ------- ^^^^^^^^^^^^^^ the trait `Trace` is not implemented for `S` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Gc::::new` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | impl Gc { [INFO] [stdout] | ^^^^^ required by this bound in `Gc::::new` [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn new(value: T) -> Self { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 10 | Gc::new(&S(Gc::new(()))); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Bar: Trace` is not satisfied [INFO] [stdout] --> tests/from_box.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | impl Foo for Bar {} [INFO] [stdout] | ^^^ the trait `Trace` is not implemented for `Bar` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Trace`: [INFO] [stdout] &'static T [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] (A, B, C, D) [INFO] [stdout] (A, B, C, D, E) [INFO] [stdout] (A, B, C, D, E, F) [INFO] [stdout] (A, B, C, D, E, F, G) [INFO] [stdout] and 147 others [INFO] [stdout] note: required by a bound in `Foo` [INFO] [stdout] --> tests/from_box.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | trait Foo: Trace {} [INFO] [stdout] | ^^^^^ required by this bound in `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gc` (test "ignore_trace") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gc` (test "derive_bounds") due to 3 previous errors [INFO] [stderr] error: could not compile `gc` (test "from_box") due to 3 previous errors [INFO] [stderr] error: could not compile `gc` (test "finalize") due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "e7c962b936751c31e67fe9f19461925f6d545ead68117eac91ce51580b25803d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7c962b936751c31e67fe9f19461925f6d545ead68117eac91ce51580b25803d", kill_on_drop: false }` [INFO] [stdout] e7c962b936751c31e67fe9f19461925f6d545ead68117eac91ce51580b25803d