[INFO] fetching crate gc 0.5.0... [INFO] checking gc-0.5.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate gc 0.5.0 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate gc 0.5.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding synstructure v0.12.6 (available: v0.13.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a60bf3590a8cbdc18695c69db244fb7ed995f8e2d47226646855f80fe07da6a8 [INFO] running `Command { std: "docker" "start" "-a" "a60bf3590a8cbdc18695c69db244fb7ed995f8e2d47226646855f80fe07da6a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a60bf3590a8cbdc18695c69db244fb7ed995f8e2d47226646855f80fe07da6a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a60bf3590a8cbdc18695c69db244fb7ed995f8e2d47226646855f80fe07da6a8", kill_on_drop: false }` [INFO] [stdout] a60bf3590a8cbdc18695c69db244fb7ed995f8e2d47226646855f80fe07da6a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 30850c9f40977d110646b9da93e907e77f0cbd6eeeea2b6ba7a196804e3b1923 [INFO] running `Command { std: "docker" "start" "-a" "30850c9f40977d110646b9da93e907e77f0cbd6eeeea2b6ba7a196804e3b1923", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking gc v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stdout] error: cannot find derive macro `Trace` in this scope [INFO] [stdout] --> tests/unsized.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/unsized.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/trace_impl.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Copy, Clone, 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/trace_impl.rs:1:10 [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/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 derive macro `Finalize` in this scope [INFO] [stdout] --> tests/unsized.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/unsized.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/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 `Trace` in this scope [INFO] [stdout] --> tests/trace_impl.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Trace, Clone, 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/trace_impl.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/unsized.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[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/unsized.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/trace_impl.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Trace, Clone, 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/trace_impl.rs:1:10 [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/gc_semantics.rs:86:10 [INFO] [stdout] | [INFO] [stdout] 86 | #[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/gc_semantics.rs:1:47 [INFO] [stdout] | [INFO] [stdout] 1 | use gc::{force_collect, Finalize, Gc, GcCell, Trace}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Finalize` in this scope [INFO] [stdout] --> tests/unsized.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | #[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/unsized.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 `Finalize` in this scope [INFO] [stdout] --> tests/gc_semantics.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | #[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/gc_semantics.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use gc::{force_collect, Finalize, Gc, GcCell, Trace}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Trace` in this scope [INFO] [stdout] --> tests/trace_impl.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Trace, Clone, 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/trace_impl.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/trace_impl.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Trace, Clone, 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/trace_impl.rs:1:10 [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/gc_semantics.rs:271:14 [INFO] [stdout] | [INFO] [stdout] 271 | #[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/gc_semantics.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use gc::{force_collect, Finalize, Gc, GcCell, Trace}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Trace` in this scope [INFO] [stdout] --> tests/gc_semantics.rs:271:24 [INFO] [stdout] | [INFO] [stdout] 271 | #[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/gc_semantics.rs:1:47 [INFO] [stdout] | [INFO] [stdout] 1 | use gc::{force_collect, Finalize, Gc, GcCell, Trace}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Trace` in this scope [INFO] [stdout] --> tests/trace_impl.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Trace, Clone, 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/trace_impl.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/trace_impl.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Trace, Clone, 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/trace_impl.rs:1:10 [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/gc_semantics.rs:273:14 [INFO] [stdout] | [INFO] [stdout] 273 | #[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/gc_semantics.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use gc::{force_collect, Finalize, Gc, GcCell, Trace}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Trace` in this scope [INFO] [stdout] --> tests/gc_semantics.rs:273:24 [INFO] [stdout] | [INFO] [stdout] 273 | #[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/gc_semantics.rs:1:47 [INFO] [stdout] | [INFO] [stdout] 1 | use gc::{force_collect, Finalize, Gc, GcCell, Trace}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Trace` in this scope [INFO] [stdout] --> tests/trace_impl.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Trace, Clone, 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/trace_impl.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/trace_impl.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Trace, Clone, 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/trace_impl.rs:1:10 [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/trace_impl.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Trace, Clone, 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/trace_impl.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/trace_impl.rs:42:24 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Trace, Clone, 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/trace_impl.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: cannot find derive macro `Trace` in this scope [INFO] [stdout] --> tests/trace_impl.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | #[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/trace_impl.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use gc::{Finalize, Trace}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Finalize` in this scope [INFO] [stdout] --> tests/trace_impl.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | #[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/trace_impl.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 `Bar: Trace` is not satisfied [INFO] [stdout] --> tests/unsized.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/unsized.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | trait Foo: Trace {} [INFO] [stdout] | ^^^^^ required by this bound in `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gc` (test "derive_bounds") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the trait bound `Box: Trace` is not satisfied [INFO] [stdout] --> tests/unsized.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | Gc::new(b) [INFO] [stdout] | ------- ^ the trait `Trace` is not implemented for `Box` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: required for `Box` to implement `Trace` [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] 25 | Gc::new(&b) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [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 `Foo: Finalize` is not satisfied [INFO] [stdout] --> tests/trace_impl.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe impl Trace for Foo { [INFO] [stdout] | ^^^ the trait `Finalize` is not implemented for `Foo` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Finalize`: [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 `Trace` [INFO] [stdout] --> /opt/rustwide/workdir/src/trace.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | pub unsafe trait Trace: Finalize { [INFO] [stdout] | ^^^^^^^^ required by this bound in `Trace` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gc` (test "unsized") due to 7 previous errors [INFO] [stdout] error[E0277]: the trait bound `GcWatchCycle: Trace` is not satisfied [INFO] [stdout] --> tests/gc_semantics.rs:117:29 [INFO] [stdout] | [INFO] [stdout] 117 | let node1 = Gc::new(GcWatchCycle { [INFO] [stdout] | _____________________-------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 118 | | watch: GcWatch(&FLAGS1), [INFO] [stdout] 119 | | cycle: GcCell::new(None), [INFO] [stdout] 120 | | }); [INFO] [stdout] | |_________^ the trait `Trace` is not implemented for `GcWatchCycle` [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] 117 | let node1 = Gc::new(&GcWatchCycle { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `GcWatchCycle: Trace` is not satisfied [INFO] [stdout] --> tests/gc_semantics.rs:122:29 [INFO] [stdout] | [INFO] [stdout] 122 | let node2 = Gc::new(GcWatchCycle { [INFO] [stdout] | _____________________-------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 123 | | watch: GcWatch(&FLAGS2), [INFO] [stdout] 124 | | cycle: GcCell::new(Some(node1.clone())), [INFO] [stdout] 125 | | }); [INFO] [stdout] | |_________^ the trait `Trace` is not implemented for `GcWatchCycle` [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] 122 | let node2 = Gc::new(&GcWatchCycle { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [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[E0599]: the method `borrow_mut` exists for struct `GcCell>>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/gc_semantics.rs:137:26 [INFO] [stdout] | [INFO] [stdout] 87 | struct GcWatchCycle { [INFO] [stdout] | ------------------- doesn't satisfy `GcWatchCycle: Trace` [INFO] [stdout] ... [INFO] [stdout] 137 | *node1.cycle.borrow_mut() = Some(node2); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `GcWatchCycle: Trace` [INFO] [stdout] which is required by `Option>: Trace` [INFO] [stdout] note: the trait `Trace` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/trace.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub unsafe trait Trace: Finalize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `BorrowMut` which provides `borrow_mut` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::borrow::BorrowMut; [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[E0599]: no method named `trace` found for struct `Bar` in the current scope [INFO] [stdout] --> tests/trace_impl.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 23 | struct Bar { [INFO] [stdout] | ---------- method `trace` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 57 | bar.trace(); [INFO] [stdout] | ^^^^^ method not found in `Bar` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/trace.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | unsafe fn trace(&self); [INFO] [stdout] | ----- the method is available for `&Bar` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `trace`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Trace` [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 57 | bar.inner.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[E0599]: no method named `trace` found for struct `Baz` in the current scope [INFO] [stdout] --> tests/trace_impl.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 48 | struct Baz { [INFO] [stdout] | ---------- method `trace` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 65 | baz.trace(); [INFO] [stdout] | ^^^^^ method not found in `Baz` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/trace.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | unsafe fn trace(&self); [INFO] [stdout] | ----- the method is available for `&Baz` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `trace`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Trace` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 65 | baz.a.inner.trace(); [INFO] [stdout] | ++++++++ [INFO] [stdout] 65 | baz.b.inner.trace(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `A: Trace` is not satisfied [INFO] [stdout] --> tests/gc_semantics.rs:276:21 [INFO] [stdout] | [INFO] [stdout] 276 | let a = Gc::new(A); [INFO] [stdout] | ------- ^ the trait `Trace` is not implemented for `A` [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] 276 | let a = Gc::new(&A); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `B: Trace` is not satisfied [INFO] [stdout] --> tests/gc_semantics.rs:279:21 [INFO] [stdout] | [INFO] [stdout] 279 | let b = Gc::new(B(aa)); [INFO] [stdout] | ------- ^^^^^ the trait `Trace` is not implemented for `B` [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] 279 | let b = Gc::new(&B(aa)); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `B: Trace` is not satisfied [INFO] [stdout] --> tests/gc_semantics.rs:281:22 [INFO] [stdout] | [INFO] [stdout] 281 | let bb = Gc::new(B(a.clone())); [INFO] [stdout] | ------- ^^^^^^^^^^^^ the trait `Trace` is not implemented for `B` [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] 281 | let bb = Gc::new(&B(a.clone())); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `A: Trace` is not satisfied [INFO] [stdout] --> tests/gc_semantics.rs:284:22 [INFO] [stdout] | [INFO] [stdout] 284 | let a2 = Gc::new(A); [INFO] [stdout] | ------- ^ the trait `Trace` is not implemented for `A` [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] 284 | let a2 = Gc::new(&A); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `B: Trace` is not satisfied [INFO] [stdout] --> tests/gc_semantics.rs:286:22 [INFO] [stdout] | [INFO] [stdout] 286 | let b2 = Gc::new(B(a2.clone())); [INFO] [stdout] | ------- ^^^^^^^^^^^^^ the trait `Trace` is not implemented for `B` [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] 286 | let b2 = Gc::new(&B(a2.clone())); [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] error: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [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 "trace_impl") due to 17 previous errors [INFO] [stderr] error: could not compile `gc` (test "ignore_trace") due to 5 previous errors [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gc` (test "gc_semantics") due to 15 previous errors [INFO] running `Command { std: "docker" "inspect" "30850c9f40977d110646b9da93e907e77f0cbd6eeeea2b6ba7a196804e3b1923", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30850c9f40977d110646b9da93e907e77f0cbd6eeeea2b6ba7a196804e3b1923", kill_on_drop: false }` [INFO] [stdout] 30850c9f40977d110646b9da93e907e77f0cbd6eeeea2b6ba7a196804e3b1923