[INFO] cloning repository https://github.com/juggernaut0/gc-sandbox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/juggernaut0/gc-sandbox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjuggernaut0%2Fgc-sandbox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjuggernaut0%2Fgc-sandbox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 47706c4a6461444573be21dc2ab0ae1e7cad0c1a [INFO] checking juggernaut0/gc-sandbox against master#dfd7b8d03fb93d0e03147d28b3be6d93260fa94d for pr-87050 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjuggernaut0%2Fgc-sandbox" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/juggernaut0/gc-sandbox on toolchain dfd7b8d03fb93d0e03147d28b3be6d93260fa94d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/juggernaut0/gc-sandbox [INFO] finished tweaking git repo https://github.com/juggernaut0/gc-sandbox [INFO] tweaked toml for git repo https://github.com/juggernaut0/gc-sandbox written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/juggernaut0/gc-sandbox already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1ffb6668c4faee66631090d26f4555d893e43c6318ba7b281d86b9286796317d [INFO] running `Command { std: "docker" "start" "-a" "1ffb6668c4faee66631090d26f4555d893e43c6318ba7b281d86b9286796317d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1ffb6668c4faee66631090d26f4555d893e43c6318ba7b281d86b9286796317d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ffb6668c4faee66631090d26f4555d893e43c6318ba7b281d86b9286796317d", kill_on_drop: false }` [INFO] [stdout] 1ffb6668c4faee66631090d26f4555d893e43c6318ba7b281d86b9286796317d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8a6782bd30d24f206b0a3c6eb01603cde97b380379c17443738e08793d682fc9 [INFO] running `Command { std: "docker" "start" "-a" "8a6782bd30d24f206b0a3c6eb01603cde97b380379c17443738e08793d682fc9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Checking quote v1.0.9 [INFO] [stderr] Checking gc_derive v0.1.0 (/opt/rustwide/workdir/gc_derive) [INFO] [stderr] Checking gc v0.1.0 (/opt/rustwide/workdir/gc) [INFO] [stderr] Checking gc_example v0.1.0 (/opt/rustwide/workdir/example) [INFO] [stdout] warning: unused imports: `Cell`, `RefCell` [INFO] [stdout] --> example/src/main.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cell::{Cell, RefCell}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow data in a dereference of `gc::GcBor<'_, '_, SelfRef>` as mutable [INFO] [stdout] --> example/src/main.rs:38:6 [INFO] [stdout] | [INFO] [stdout] 38 | *a.other = *Foo::gc_new(&ctx, Some(b)); [INFO] [stdout] | ^^^^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `gc::GcBor<'_, '_, SelfRef>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of dereference of `gc::GcBor<'_, '_, Foo>` [INFO] [stdout] --> example/src/main.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | *a.other = *Foo::gc_new(&ctx, Some(b)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because value has type `Foo`, which does not implement the `Copy` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cell`, `RefCell` [INFO] [stdout] --> example/src/main.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cell::{Cell, RefCell}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0507, E0596. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0507`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gc_example` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0596]: cannot borrow data in a dereference of `gc::GcBor<'_, '_, SelfRef>` as mutable [INFO] [stdout] --> example/src/main.rs:38:6 [INFO] [stdout] | [INFO] [stdout] 38 | *a.other = *Foo::gc_new(&ctx, Some(b)); [INFO] [stdout] | ^^^^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `gc::GcBor<'_, '_, SelfRef>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of dereference of `gc::GcBor<'_, '_, Foo>` [INFO] [stdout] --> example/src/main.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | *a.other = *Foo::gc_new(&ctx, Some(b)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because value has type `Foo`, which does not implement the `Copy` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0507, E0596. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0507`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8a6782bd30d24f206b0a3c6eb01603cde97b380379c17443738e08793d682fc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a6782bd30d24f206b0a3c6eb01603cde97b380379c17443738e08793d682fc9", kill_on_drop: false }` [INFO] [stdout] 8a6782bd30d24f206b0a3c6eb01603cde97b380379c17443738e08793d682fc9