[INFO] fetching crate gc 0.5.0...
[INFO] checking gc-0.5.0 against master#30f74ff0dc4d66debc8b50724c446f817e5f75f4 for pr-121848-1
[INFO] extracting crate gc 0.5.0 into /workspace/builds/worker-3-tc1/source
[INFO] validating manifest of crates.io crate gc 0.5.0 on toolchain 30f74ff0dc4d66debc8b50724c446f817e5f75f4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "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-3-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "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-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5050f961216f5a304ac4c136ef514141c238d7b1f3a56a7496c382177404f0d2
[INFO] running `Command { std: "docker" "start" "-a" "5050f961216f5a304ac4c136ef514141c238d7b1f3a56a7496c382177404f0d2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5050f961216f5a304ac4c136ef514141c238d7b1f3a56a7496c382177404f0d2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5050f961216f5a304ac4c136ef514141c238d7b1f3a56a7496c382177404f0d2", kill_on_drop: false }`
[INFO] [stdout] 5050f961216f5a304ac4c136ef514141c238d7b1f3a56a7496c382177404f0d2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9fd398b2f8722aadecf5c20a4d92e714933c2d35062b942593e80b93ceefd32e
[INFO] running `Command { std: "docker" "start" "-a" "9fd398b2f8722aadecf5c20a4d92e714933c2d35062b942593e80b93ceefd32e", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.197
[INFO] [stderr]     Checking gc v0.5.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the item `ToOwned` is imported redundantly
[INFO] [stdout]  --> src/trace.rs:1:24
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::borrow::{Cow, ToOwned};
[INFO] [stdout]   |                        ^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `ToOwned` is already defined here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking serde_json v1.0.115
[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/gymnastics_cycle.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[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/gymnastics_cycle.rs:1:37
[INFO] [stdout]   |
[INFO] [stdout] 1 | use gc::{force_collect, Gc, GcCell, 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 `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 `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[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]             bool
[INFO] [stdout]             char
[INFO] [stdout]             isize
[INFO] [stdout]             i8
[INFO] [stdout]             i16
[INFO] [stdout]             i32
[INFO] [stdout]             i64
[INFO] [stdout]             i128
[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] 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 `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 `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[E0277]: the trait bound `Cyclic: Trace` is not satisfied
[INFO] [stdout]   --> tests/gymnastics_cycle.rs:22:36
[INFO] [stdout]    |
[INFO] [stdout] 22 |           let mut gcs = vec![Gc::new(Cyclic {
[INFO] [stdout]    |  ____________________________-------_^
[INFO] [stdout]    | |                            |
[INFO] [stdout]    | |                            required by a bound introduced by this call
[INFO] [stdout] 23 | |             prev: GcCell::new(None),
[INFO] [stdout] 24 | |             name: 0,
[INFO] [stdout] 25 | |         })];
[INFO] [stdout]    | |_________^ the trait `Trace` is not implemented for `Cyclic`
[INFO] [stdout]    |
[INFO] [stdout] note: required by a bound in `Gc::<T>::new`
[INFO] [stdout]   --> /opt/rustwide/workdir/src/lib.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 65 | impl<T: Trace> Gc<T> {
[INFO] [stdout]    |         ^^^^^ required by this bound in `Gc::<T>::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] 22 |         let mut gcs = vec![Gc::new(&Cyclic {
[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/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[E0277]: the trait bound `Cyclic: Trace` is not satisfied
[INFO] [stdout]   --> tests/gymnastics_cycle.rs:29:30
[INFO] [stdout]    |
[INFO] [stdout] 29 |               gcs.push(Gc::new(Cyclic {
[INFO] [stdout]    |  ______________________-------_^
[INFO] [stdout]    | |                      |
[INFO] [stdout]    | |                      required by a bound introduced by this call
[INFO] [stdout] 30 | |                 prev: GcCell::new(Some(prev)),
[INFO] [stdout] 31 | |                 name: i as u8,
[INFO] [stdout] 32 | |             }));
[INFO] [stdout]    | |_____________^ the trait `Trace` is not implemented for `Cyclic`
[INFO] [stdout]    |
[INFO] [stdout] note: required by a bound in `Gc::<T>::new`
[INFO] [stdout]   --> /opt/rustwide/workdir/src/lib.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 65 | impl<T: Trace> Gc<T> {
[INFO] [stdout]    |         ^^^^^ required by this bound in `Gc::<T>::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] 29 |             gcs.push(Gc::new(&Cyclic {
[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 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/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/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/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] [stderr] error: could not compile `gc` (test "from_box") due to 4 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/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/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/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[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::<T>::new`
[INFO] [stdout]   --> /opt/rustwide/workdir/src/lib.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 65 | impl<T: Trace> Gc<T> {
[INFO] [stdout]    |         ^^^^^ required by this bound in `Gc::<T>::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 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `borrow_mut` exists for struct `GcCell<Option<Gc<Cyclic>>>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> tests/gymnastics_cycle.rs:35:22
[INFO] [stdout]    |
[INFO] [stdout] 35 |         *gcs[0].prev.borrow_mut() = Some(last);
[INFO] [stdout]    |                      ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `Option<Gc<Cyclic>>: Trace`
[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: aborting due to 4 previous errors
[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] 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/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]             bool
[INFO] [stdout]             char
[INFO] [stdout]             isize
[INFO] [stdout]             i8
[INFO] [stdout]             i16
[INFO] [stdout]             i32
[INFO] [stdout]             i64
[INFO] [stdout]             i128
[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] [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] [stderr] error: could not compile `gc` (test "finalize") due to 5 previous errors
[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 `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: aborting due to 4 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: 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 `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] [stderr] error: could not compile `gc` (test "ignore_trace") due to 5 previous errors
[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[E0277]: the trait bound `Box<AnyFoo>: 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<AnyFoo>`
[INFO] [stdout]    |     |
[INFO] [stdout]    |     required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = note: required for `Box<AnyFoo>` to implement `Trace`
[INFO] [stdout] note: required by a bound in `Gc::<T>::new`
[INFO] [stdout]   --> /opt/rustwide/workdir/src/lib.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 65 | impl<T: Trace> Gc<T> {
[INFO] [stdout]    |         ^^^^^ required by this bound in `Gc::<T>::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: 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 `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: 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: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: 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 `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: 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: 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] warning: the item `ToOwned` is imported redundantly
[INFO] [stdout]  --> src/trace.rs:1:24
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::borrow::{Cow, ToOwned};
[INFO] [stdout]   |                        ^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `ToOwned` is already defined here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `gc` (test "gymnastics_cycle") due to 5 previous errors
[INFO] [stderr] error: could not compile `gc` (test "unsized") due to 7 previous errors
[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[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]              bool
[INFO] [stdout]              char
[INFO] [stdout]              isize
[INFO] [stdout]              i8
[INFO] [stdout]              i16
[INFO] [stdout]              i32
[INFO] [stdout]              i64
[INFO] [stdout]              i128
[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] [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 `Thunk<NotTrace>: Trace` is not satisfied
[INFO] [stdout]   --> tests/derive_bounds.rs:11:42
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let _: Gc<Thunk<NotTrace>> = Gc::new(Thunk(|| NotTrace));
[INFO] [stdout]    |                                  ------- ^^^^^^^^^^^^^^^^^^ the trait `Trace` is not implemented for `Thunk<NotTrace>`
[INFO] [stdout]    |                                  |
[INFO] [stdout]    |                                  required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout] note: required by a bound in `Gc::<T>::new`
[INFO] [stdout]   --> /opt/rustwide/workdir/src/lib.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 65 | impl<T: Trace> Gc<T> {
[INFO] [stdout]    |         ^^^^^ required by this bound in `Gc::<T>::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<Thunk<NotTrace>> = Gc::new(&Thunk(|| NotTrace));
[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] [stderr] error: could not compile `gc` (test "derive_bounds") due to 4 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::<T>::new`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:65:9
[INFO] [stdout]     |
[INFO] [stdout] 65  | impl<T: Trace> Gc<T> {
[INFO] [stdout]     |         ^^^^^ required by this bound in `Gc::<T>::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::<T>::new`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:65:9
[INFO] [stdout]     |
[INFO] [stdout] 65  | impl<T: Trace> Gc<T> {
[INFO] [stdout]     |         ^^^^^ required by this bound in `Gc::<T>::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]: 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[E0599]: the method `borrow_mut` exists for struct `GcCell<Option<Gc<GcWatchCycle>>>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/gc_semantics.rs:137:26
[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]             `Option<Gc<GcWatchCycle>>: Trace`
[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[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::<T>::new`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:65:9
[INFO] [stdout]     |
[INFO] [stdout] 65  | impl<T: Trace> Gc<T> {
[INFO] [stdout]     |         ^^^^^ required by this bound in `Gc::<T>::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::<T>::new`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:65:9
[INFO] [stdout]     |
[INFO] [stdout] 65  | impl<T: Trace> Gc<T> {
[INFO] [stdout]     |         ^^^^^ required by this bound in `Gc::<T>::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::<T>::new`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:65:9
[INFO] [stdout]     |
[INFO] [stdout] 65  | impl<T: Trace> Gc<T> {
[INFO] [stdout]     |         ^^^^^ required by this bound in `Gc::<T>::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::<T>::new`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:65:9
[INFO] [stdout]     |
[INFO] [stdout] 65  | impl<T: Trace> Gc<T> {
[INFO] [stdout]     |         ^^^^^ required by this bound in `Gc::<T>::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::<T>::new`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:65:9
[INFO] [stdout]     |
[INFO] [stdout] 65  | impl<T: Trace> Gc<T> {
[INFO] [stdout]     |         ^^^^^ required by this bound in `Gc::<T>::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: 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] [stderr] error: could not compile `gc` (test "trace_impl") due to 17 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] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "9fd398b2f8722aadecf5c20a4d92e714933c2d35062b942593e80b93ceefd32e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9fd398b2f8722aadecf5c20a4d92e714933c2d35062b942593e80b93ceefd32e", kill_on_drop: false }`
[INFO] [stdout] 9fd398b2f8722aadecf5c20a4d92e714933c2d35062b942593e80b93ceefd32e
