[INFO] fetching crate gc 0.5.0...
[INFO] checking gc-0.5.0 against master#c2f2db79ca3024f68d22b45aa22b570775c2c4ad for pr-124157
[INFO] extracting crate gc 0.5.0 into /workspace/builds/worker-2-tc1/source
[INFO] validating manifest of crates.io crate gc 0.5.0 on toolchain c2f2db79ca3024f68d22b45aa22b570775c2c4ad
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "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-2-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "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 (latest: v2.0.60)
[INFO] [stderr]       Adding synstructure v0.12.6 (latest: v0.13.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "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-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0b64061a522cdb1784dfa3e4f070f79ef2f6f6fe0bde564b4a946cb7876974af
[INFO] running `Command { std: "docker" "start" "-a" "0b64061a522cdb1784dfa3e4f070f79ef2f6f6fe0bde564b4a946cb7876974af", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0b64061a522cdb1784dfa3e4f070f79ef2f6f6fe0bde564b4a946cb7876974af", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0b64061a522cdb1784dfa3e4f070f79ef2f6f6fe0bde564b4a946cb7876974af", kill_on_drop: false }`
[INFO] [stdout] 0b64061a522cdb1784dfa3e4f070f79ef2f6f6fe0bde564b4a946cb7876974af
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 92b8468f62f12f0b5f58ba88ba17c5bca021bbe209c8cf941bb8c81e190fa2fd
[INFO] running `Command { std: "docker" "start" "-a" "92b8468f62f12f0b5f58ba88ba17c5bca021bbe209c8cf941bb8c81e190fa2fd", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.200
[INFO] [stderr]    Compiling serde_json v1.0.116
[INFO] [stderr]     Checking itoa v1.0.11
[INFO] [stderr]     Checking ryu v1.0.17
[INFO] [stderr]     Checking gc v0.5.0 (/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 `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/from_box.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Trace, Finalize)]
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `Trace` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]  --> tests/from_box.rs:1:24
[INFO] [stdout]   |
[INFO] [stdout] 1 | use gc::{Finalize, Gc, Trace};
[INFO] [stdout]   |                        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Trace` in this scope
[INFO] [stdout]  --> tests/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/from_box.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Trace, Finalize)]
[INFO] [stdout]   |                 ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `Finalize` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]  --> tests/from_box.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | use gc::{Finalize, Gc, Trace};
[INFO] [stdout]   |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `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/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[E0277]: the trait bound `Bar: Trace` is not satisfied
[INFO] [stdout]  --> tests/from_box.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | impl Foo for Bar {}
[INFO] [stdout]   |              ^^^ the trait `Trace` is not implemented for `Bar`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the following other types implement trait `Trace`:
[INFO] [stdout]             &'static T
[INFO] [stdout]             ()
[INFO] [stdout]             (A, B)
[INFO] [stdout]             (A, B, C)
[INFO] [stdout]             (A, B, C, D)
[INFO] [stdout]             (A, B, C, D, E)
[INFO] [stdout]             (A, B, C, D, E, F)
[INFO] [stdout]             (A, B, C, D, E, F, G)
[INFO] [stdout]           and 147 others
[INFO] [stdout] note: required by a bound in `Foo`
[INFO] [stdout]  --> tests/from_box.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | trait Foo: Trace {}
[INFO] [stdout]   |            ^^^^^ required by this bound in `Foo`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] 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: 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[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[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] [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: aborting due to 4 previous errors
[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[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] 7  | struct Cyclic {
[INFO] [stdout]    | ------------- doesn't satisfy `Cyclic: Trace`
[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]            `Cyclic: Trace`
[INFO] [stdout]            which is required by `Option<Gc<Cyclic>>: 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: 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: 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] [stderr] error: could not compile `gc` (test "finalize") due to 5 previous errors
[INFO] [stderr] error: could not compile `gc` (test "unsized") due to 7 previous errors
[INFO] [stderr] error: could not compile `gc` (test "gymnastics_cycle") due to 5 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: 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: 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: 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/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 4 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[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]: 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] 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<Gc<GcWatchCycle>>: 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 `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 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" "92b8468f62f12f0b5f58ba88ba17c5bca021bbe209c8cf941bb8c81e190fa2fd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "92b8468f62f12f0b5f58ba88ba17c5bca021bbe209c8cf941bb8c81e190fa2fd", kill_on_drop: false }`
[INFO] [stdout] 92b8468f62f12f0b5f58ba88ba17c5bca021bbe209c8cf941bb8c81e190fa2fd
