[INFO] cloning repository https://github.com/pigfox/rust-send-sync-lab
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pigfox/rust-send-sync-lab" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpigfox%2Frust-send-sync-lab", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpigfox%2Frust-send-sync-lab'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 39ea922defebcceb086adb7904a2bf864cecfdfd
[INFO] checking pigfox/rust-send-sync-lab against 3154cc1a3e6424e44f438a95007d043ed5ceaaf6+rustflags=-Znext-solver=coherence for pr-133502-30
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpigfox%2Frust-send-sync-lab" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-0-tc1/source/.cargo/config.toml
[INFO] removed /workspace/builds/worker-0-tc1/source/rust-toolchain.toml
[INFO] started tweaking git repo https://github.com/pigfox/rust-send-sync-lab
[INFO] finished tweaking git repo https://github.com/pigfox/rust-send-sync-lab
[INFO] tweaked toml for git repo https://github.com/pigfox/rust-send-sync-lab written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/pigfox/rust-send-sync-lab on toolchain 3154cc1a3e6424e44f438a95007d043ed5ceaaf6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/pigfox/rust-send-sync-lab 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" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] e7593c1abbb9482c9739183892eccf160a8d007c2b3363e08ec1ef711b447bc5
[INFO] running `Command { std: "docker" "start" "e7593c1abbb9482c9739183892eccf160a8d007c2b3363e08ec1ef711b447bc5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e7593c1abbb9482c9739183892eccf160a8d007c2b3363e08ec1ef711b447bc5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e7593c1abbb9482c9739183892eccf160a8d007c2b3363e08ec1ef711b447bc5" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e7593c1abbb9482c9739183892eccf160a8d007c2b3363e08ec1ef711b447bc5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Znext-solver=coherence" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e7593c1abbb9482c9739183892eccf160a8d007c2b3363e08ec1ef711b447bc5" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde_core v1.0.229
[INFO] [stderr]    Compiling serde_json v1.0.151
[INFO] [stderr]     Checking send-sync-lab v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0277]: `Rc<i32>` cannot be sent between threads safely
[INFO] [stdout]   --> src/main.rs:31:32
[INFO] [stdout]    |
[INFO] [stdout] 31 |       let handle = thread::spawn(move || {
[INFO] [stdout]    |                    ------------- ^------
[INFO] [stdout]    |                    |             |
[INFO] [stdout]    |  __________________|_____________within this `{closure@src/main.rs:31:32: 31:39}`
[INFO] [stdout]    | |                  |
[INFO] [stdout]    | |                  required by a bound introduced by this call
[INFO] [stdout] 32 | |         println!("{moved}");
[INFO] [stdout] 33 | |     });
[INFO] [stdout]    | |_____^ `Rc<i32>` cannot be sent between threads safely
[INFO] [stdout]    |
[INFO] [stdout]    = help: within `{closure@src/main.rs:31:32: 31:39}`, the trait `Send` is not implemented for `Rc<i32>`
[INFO] [stdout] note: required because `moved` is used within this closure
[INFO] [stdout]   --> src/main.rs:32:20
[INFO] [stdout]    |
[INFO] [stdout] 32 |         println!("{moved}");
[INFO] [stdout]    |                    ^^^^^
[INFO] [stdout] note: required by a bound in `spawn`
[INFO] [stdout]   --> /rustc/3154cc1a3e6424e44f438a95007d043ed5ceaaf6/library/std/src/thread/functions.rs:125:0
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `send-sync-lab` (bin "main") due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0277]: `Cell<i32>` cannot be shared between threads safely
[INFO] [stdout]   --> src/bin/not_sync.rs:27:17
[INFO] [stdout]    |
[INFO] [stdout] 27 |           s.spawn(|| {
[INFO] [stdout]    |  ___________-----_^
[INFO] [stdout]    | |           |
[INFO] [stdout]    | |           required by a bound introduced by this call
[INFO] [stdout] 28 | |             counter.set(counter.get() + 1);
[INFO] [stdout] 29 | |         });
[INFO] [stdout]    | |_________^ `Cell<i32>` cannot be shared between threads safely
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sync` is not implemented for `Cell<i32>`
[INFO] [stdout]    = note: if you want to do aliasing and mutation between multiple threads, use `std::sync::RwLock` or `std::sync::atomic::AtomicI32` instead
[INFO] [stdout]    = note: required for `&Cell<i32>` to implement `Send`
[INFO] [stdout] note: required because `counter` is used within this closure
[INFO] [stdout]   --> src/bin/not_sync.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |             counter.set(counter.get() + 1);
[INFO] [stdout]    |             ^^^^^^^
[INFO] [stdout] note: required by a bound in `Scope::<'scope, 'env>::spawn`
[INFO] [stdout]   --> /rustc/3154cc1a3e6424e44f438a95007d043ed5ceaaf6/library/std/src/thread/scoped.rs:201:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `send-sync-lab` (bin "not_sync") due to 1 previous error
[INFO] [stdout] error[E0277]: `Rc<i32>` cannot be sent between threads safely
[INFO] [stdout]   --> src/main.rs:31:32
[INFO] [stdout]    |
[INFO] [stdout] 31 |       let handle = thread::spawn(move || {
[INFO] [stdout]    |                    ------------- ^------
[INFO] [stdout]    |                    |             |
[INFO] [stdout]    |  __________________|_____________within this `{closure@src/main.rs:31:32: 31:39}`
[INFO] [stdout]    | |                  |
[INFO] [stdout]    | |                  required by a bound introduced by this call
[INFO] [stdout] 32 | |         println!("{moved}");
[INFO] [stdout] 33 | |     });
[INFO] [stdout]    | |_____^ `Rc<i32>` cannot be sent between threads safely
[INFO] [stdout]    |
[INFO] [stdout]    = help: within `{closure@src/main.rs:31:32: 31:39}`, the trait `Send` is not implemented for `Rc<i32>`
[INFO] [stdout] note: required because `moved` is used within this closure
[INFO] [stdout]   --> src/main.rs:32:20
[INFO] [stdout]    |
[INFO] [stdout] 32 |         println!("{moved}");
[INFO] [stdout]    |                    ^^^^^
[INFO] [stdout] note: required by a bound in `spawn`
[INFO] [stdout]   --> /rustc/3154cc1a3e6424e44f438a95007d043ed5ceaaf6/library/std/src/thread/functions.rs:125:0
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `Cell<i32>` cannot be shared between threads safely
[INFO] [stdout]   --> src/bin/not_sync.rs:27:17
[INFO] [stdout]    |
[INFO] [stdout] 27 |           s.spawn(|| {
[INFO] [stdout]    |  ___________-----_^
[INFO] [stdout]    | |           |
[INFO] [stdout]    | |           required by a bound introduced by this call
[INFO] [stdout] 28 | |             counter.set(counter.get() + 1);
[INFO] [stdout] 29 | |         });
[INFO] [stdout]    | |_________^ `Cell<i32>` cannot be shared between threads safely
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sync` is not implemented for `Cell<i32>`
[INFO] [stdout]    = note: if you want to do aliasing and mutation between multiple threads, use `std::sync::RwLock` or `std::sync::atomic::AtomicI32` instead
[INFO] [stdout]    = note: required for `&Cell<i32>` to implement `Send`
[INFO] [stdout] note: required because `counter` is used within this closure
[INFO] [stdout]   --> src/bin/not_sync.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |             counter.set(counter.get() + 1);
[INFO] [stdout]    |             ^^^^^^^
[INFO] [stdout] note: required by a bound in `Scope::<'scope, 'env>::spawn`
[INFO] [stdout]   --> /rustc/3154cc1a3e6424e44f438a95007d043ed5ceaaf6/library/std/src/thread/scoped.rs:201:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `send-sync-lab` (bin "not_sync" test) due to 1 previous error
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `send-sync-lab` (bin "main" test) due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "e7593c1abbb9482c9739183892eccf160a8d007c2b3363e08ec1ef711b447bc5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e7593c1abbb9482c9739183892eccf160a8d007c2b3363e08ec1ef711b447bc5", kill_on_drop: false }`
[INFO] [stdout] e7593c1abbb9482c9739183892eccf160a8d007c2b3363e08ec1ef711b447bc5
