[INFO] fetching crate gc 0.5.1... [INFO] testing gc-0.5.1 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate gc 0.5.1 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate gc 0.5.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate gc 0.5.1 [INFO] tweaked toml for crates.io crate gc 0.5.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate gc 0.5.1 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate gc 0.5.1 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [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-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d7ade765aa35241e93568d8fae2bdc385b475bcb0e1f3e13ebcced27eecbccf5 [INFO] running `Command { std: "docker" "start" "-a" "d7ade765aa35241e93568d8fae2bdc385b475bcb0e1f3e13ebcced27eecbccf5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d7ade765aa35241e93568d8fae2bdc385b475bcb0e1f3e13ebcced27eecbccf5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7ade765aa35241e93568d8fae2bdc385b475bcb0e1f3e13ebcced27eecbccf5", kill_on_drop: false }` [INFO] [stdout] d7ade765aa35241e93568d8fae2bdc385b475bcb0e1f3e13ebcced27eecbccf5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 80248c0db08b2d2eebe40c487e253314f01a32efc288dcdbe2ddecb7cf47e7a4 [INFO] running `Command { std: "docker" "start" "-a" "80248c0db08b2d2eebe40c487e253314f01a32efc288dcdbe2ddecb7cf47e7a4", kill_on_drop: false }` [INFO] [stderr] Compiling gc v0.5.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.66s [INFO] running `Command { std: "docker" "inspect" "80248c0db08b2d2eebe40c487e253314f01a32efc288dcdbe2ddecb7cf47e7a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80248c0db08b2d2eebe40c487e253314f01a32efc288dcdbe2ddecb7cf47e7a4", kill_on_drop: false }` [INFO] [stdout] 80248c0db08b2d2eebe40c487e253314f01a32efc288dcdbe2ddecb7cf47e7a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 10a17e12e5f90c0cf90f21c10dd371f3bfdab36aec1cbbc26303ef5521dffc61 [INFO] running `Command { std: "docker" "start" "-a" "10a17e12e5f90c0cf90f21c10dd371f3bfdab36aec1cbbc26303ef5521dffc61", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling gc v0.5.1 (/opt/rustwide/workdir) [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/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: 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 `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[E0277]: the trait bound `A: Trace` is not satisfied [INFO] [stdout] --> tests/finalize.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | let _x = X(Box::new(A { b: B })); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Trace` is not implemented for `A` [INFO] [stdout] --> tests/finalize.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | struct A { [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 for the cast from `Box` to `Box<(dyn Trace + 'static)>` [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 `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] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gc` (test "finalize") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/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 `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] [stderr] error: could not compile `gc` (test "derive_bounds") due to 3 previous errors [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 `Finalize` in this scope [INFO] [stdout] --> tests/gc_semantics.rs:295:14 [INFO] [stdout] | [INFO] [stdout] 295 | #[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:295:24 [INFO] [stdout] | [INFO] [stdout] 295 | #[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 `Finalize` in this scope [INFO] [stdout] --> tests/gc_semantics.rs:298:14 [INFO] [stdout] | [INFO] [stdout] 298 | #[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:298:24 [INFO] [stdout] | [INFO] [stdout] 298 | #[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[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[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[E0277]: the trait bound `ptr_eq::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 `ptr_eq::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 `ptr_eq::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 `ptr_eq::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 `ptr_eq::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 `ptr_eq::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 `ptr_eq::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 `ptr_eq::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 `ptr_eq::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 `ptr_eq::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 `as_ptr::A: Trace` is not satisfied [INFO] [stdout] --> tests/gc_semantics.rs:301:21 [INFO] [stdout] | [INFO] [stdout] 301 | let a = Gc::new(A); [INFO] [stdout] | ------- ^ the trait `Trace` is not implemented for `as_ptr::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] 301 | let a = Gc::new(&A); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `as_ptr::B: Trace` is not satisfied [INFO] [stdout] --> tests/gc_semantics.rs:306:21 [INFO] [stdout] | [INFO] [stdout] 306 | let b = Gc::new(B(a.clone())); [INFO] [stdout] | ------- ^^^^^^^^^^^^ the trait `Trace` is not implemented for `as_ptr::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] 306 | let b = Gc::new(&B(a.clone())); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `as_ptr::B: Trace` is not satisfied [INFO] [stdout] --> tests/gc_semantics.rs:308:22 [INFO] [stdout] | [INFO] [stdout] 308 | let bb = Gc::new(B(a.clone())); [INFO] [stdout] | ------- ^^^^^^^^^^^^ the trait `Trace` is not implemented for `as_ptr::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] 308 | let bb = Gc::new(&B(a.clone())); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `as_ptr::A: Trace` is not satisfied [INFO] [stdout] --> tests/gc_semantics.rs:311:22 [INFO] [stdout] | [INFO] [stdout] 311 | let a2 = Gc::new(A); [INFO] [stdout] | ------- ^ the trait `Trace` is not implemented for `as_ptr::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] 311 | let a2 = Gc::new(&A); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `as_ptr::B: Trace` is not satisfied [INFO] [stdout] --> tests/gc_semantics.rs:314:22 [INFO] [stdout] | [INFO] [stdout] 314 | let b2 = Gc::new(B(a2.clone())); [INFO] [stdout] | ------- ^^^^^^^^^^^^^ the trait `Trace` is not implemented for `as_ptr::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] 314 | let b2 = Gc::new(&B(a2.clone())); [INFO] [stdout] | + [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 23 previous errors [INFO] running `Command { std: "docker" "inspect" "10a17e12e5f90c0cf90f21c10dd371f3bfdab36aec1cbbc26303ef5521dffc61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10a17e12e5f90c0cf90f21c10dd371f3bfdab36aec1cbbc26303ef5521dffc61", kill_on_drop: false }` [INFO] [stdout] 10a17e12e5f90c0cf90f21c10dd371f3bfdab36aec1cbbc26303ef5521dffc61