[INFO] cloning repository https://github.com/47degrees/rust-2023-11-09
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/47degrees/rust-2023-11-09" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F47degrees%2Frust-2023-11-09", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F47degrees%2Frust-2023-11-09'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 89c8c18245262b6fb6d3c6d639c66cf669e5adab
[INFO] checking 47degrees/rust-2023-11-09 against try#ddcf048784667508cd676fef4667f88ae15628a3 for pr-148271
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F47degrees%2Frust-2023-11-09" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/47degrees/rust-2023-11-09
[INFO] finished tweaking git repo https://github.com/47degrees/rust-2023-11-09
[INFO] tweaked toml for git repo https://github.com/47degrees/rust-2023-11-09 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/47degrees/rust-2023-11-09 on toolchain ddcf048784667508cd676fef4667f88ae15628a3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ddcf048784667508cd676fef4667f88ae15628a3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/47degrees/rust-2023-11-09 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" "+ddcf048784667508cd676fef4667f88ae15628a3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ddcf048784667508cd676fef4667f88ae15628a3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2e2a31a1b86995f23c580a598ace8e12965bcb038fea5e171e3b25edf1eaa57a
[INFO] running `Command { std: "docker" "start" "-a" "2e2a31a1b86995f23c580a598ace8e12965bcb038fea5e171e3b25edf1eaa57a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2e2a31a1b86995f23c580a598ace8e12965bcb038fea5e171e3b25edf1eaa57a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2e2a31a1b86995f23c580a598ace8e12965bcb038fea5e171e3b25edf1eaa57a", kill_on_drop: false }`
[INFO] [stdout] 2e2a31a1b86995f23c580a598ace8e12965bcb038fea5e171e3b25edf1eaa57a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ddcf048784667508cd676fef4667f88ae15628a3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 384595e5e37d5f8082ef328b058803b05ad55ccb7a9257c53e0d8c860d496394
[INFO] running `Command { std: "docker" "start" "-a" "384595e5e37d5f8082ef328b058803b05ad55ccb7a9257c53e0d8c860d496394", kill_on_drop: false }`
[INFO] [stderr]     Checking double-free v0.1.0 (/opt/rustwide/workdir/double-free)
[INFO] [stderr]     Checking concurrent-rc v0.1.0 (/opt/rustwide/workdir/concurrent-rc)
[INFO] [stderr]     Checking rust-presentation-2023-11-09 v0.1.0 (/opt/rustwide/workdir/naive-borrow)
[INFO] [stderr]     Checking concurrent-arc v0.1.0 (/opt/rustwide/workdir/concurrent-arc)
[INFO] [stderr]     Checking concurrent-rc-in-arc v0.1.0 (/opt/rustwide/workdir/concurrent-rc-in-arc)
[INFO] [stderr]     Checking borrow v0.1.0 (/opt/rustwide/workdir/borrow)
[INFO] [stdout] error[E0277]: `Rc<i32>` cannot be sent between threads safely
[INFO] [stdout]   --> concurrent-rc/src/main.rs:7:21
[INFO] [stdout]    |
[INFO] [stdout]  7 |       let forked = spawn(move ||
[INFO] [stdout]    |                    ----- ^------
[INFO] [stdout]    |                    |     |
[INFO] [stdout]    |  __________________|_____within this `{closure@concurrent-rc/src/main.rs:7:21: 7:28}`
[INFO] [stdout]    | |                  |
[INFO] [stdout]    | |                  required by a bound introduced by this call
[INFO] [stdout]  8 | |         {
[INFO] [stdout]  9 | |             println!("first thread: {}", *copy);
[INFO] [stdout] 10 | |         }
[INFO] [stdout]    | |_________^ `Rc<i32>` cannot be sent between threads safely
[INFO] [stdout]    |
[INFO] [stdout]    = help: within `{closure@concurrent-rc/src/main.rs:7:21: 7:28}`, the trait `Send` is not implemented for `Rc<i32>`
[INFO] [stdout] note: required because it's used within this closure
[INFO] [stdout]   --> concurrent-rc/src/main.rs:7:21
[INFO] [stdout]    |
[INFO] [stdout]  7 |     let forked = spawn(move ||
[INFO] [stdout]    |                        ^^^^^^^
[INFO] [stdout] note: required by a bound in `spawn`
[INFO] [stdout]   --> /rustc/ddcf048784667508cd676fef4667f88ae15628a3/library/std/src/thread/mod.rs:725:1
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `concurrent-rc` (bin "concurrent-rc") due to 1 previous error
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0597]: `owner` does not live long enough
[INFO] [stdout]  --> naive-borrow/src/main.rs:6:18
[INFO] [stdout]   |
[INFO] [stdout] 5 |         let owner: i32 = 10;
[INFO] [stdout]   |             ----- binding `owner` declared here
[INFO] [stdout] 6 |         inner_borrow = &owner;
[INFO] [stdout]   |                        ^^^^^^ borrowed value does not live long enough
[INFO] [stdout] 7 |         outer_borrow = inner_borrow;
[INFO] [stdout] 8 |     }
[INFO] [stdout]   |     - `owner` dropped here while still borrowed
[INFO] [stdout] 9 |     println!("heh, heh = {}", outer_borrow);
[INFO] [stdout]   |                               ------------ borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `x`
[INFO] [stdout]  --> double-free/src/main.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 2 |     let x = SomeStruct::default();
[INFO] [stdout]   |         - move occurs because `x` has type `SomeStruct`, which does not implement the `Copy` trait
[INFO] [stdout] 3 |     drop(x);
[INFO] [stdout]   |          - value moved here
[INFO] [stdout] 4 |     drop(x);
[INFO] [stdout]   |          ^ value used here after move
[INFO] [stdout]   |
[INFO] [stdout] note: if `SomeStruct` implemented `Clone`, you could clone the value
[INFO] [stdout]  --> double-free/src/main.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 3 |     drop(x);
[INFO] [stdout]   |          - you could clone this value
[INFO] [stdout] ...
[INFO] [stdout] 8 | struct SomeStruct
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0597`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-presentation-2023-11-09` (bin "rust-presentation-2023-11-09" test) due to 1 previous error
[INFO] [stdout] error[E0382]: use of moved value: `x`
[INFO] [stdout]  --> double-free/src/main.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 2 |     let x = SomeStruct::default();
[INFO] [stdout]   |         - move occurs because `x` has type `SomeStruct`, which does not implement the `Copy` trait
[INFO] [stdout] 3 |     drop(x);
[INFO] [stdout]   |          - value moved here
[INFO] [stdout] 4 |     drop(x);
[INFO] [stdout]   |          ^ value used here after move
[INFO] [stdout]   |
[INFO] [stdout] note: if `SomeStruct` implemented `Clone`, you could clone the value
[INFO] [stdout]  --> double-free/src/main.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 3 |     drop(x);
[INFO] [stdout]   |          - you could clone this value
[INFO] [stdout] ...
[INFO] [stdout] 8 | struct SomeStruct
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `double-free` (bin "double-free") due to 1 previous error
[INFO] [stderr] error: could not compile `double-free` (bin "double-free" test) due to 1 previous error
[INFO] [stdout] error[E0277]: `Rc<i32>` cannot be shared between threads safely
[INFO] [stdout]   --> concurrent-rc-in-arc/src/main.rs:9:21
[INFO] [stdout]    |
[INFO] [stdout]  9 |       let forked = spawn(move ||
[INFO] [stdout]    |  __________________-----_^
[INFO] [stdout]    | |                  |
[INFO] [stdout]    | |                  required by a bound introduced by this call
[INFO] [stdout] 10 | |         {
[INFO] [stdout] 11 | |             println!("first thread: {}", **copy);
[INFO] [stdout] 12 | |         }
[INFO] [stdout]    | |_________^ `Rc<i32>` cannot be shared between threads safely
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sync` is not implemented for `Rc<i32>`
[INFO] [stdout]    = note: required for `Arc<Rc<i32>>` to implement `Send`
[INFO] [stdout] note: required because it's used within this closure
[INFO] [stdout]   --> concurrent-rc-in-arc/src/main.rs:9:21
[INFO] [stdout]    |
[INFO] [stdout]  9 |     let forked = spawn(move ||
[INFO] [stdout]    |                        ^^^^^^^
[INFO] [stdout] note: required by a bound in `spawn`
[INFO] [stdout]   --> /rustc/ddcf048784667508cd676fef4667f88ae15628a3/library/std/src/thread/mod.rs:725:1
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `Rc<i32>` cannot be sent between threads safely
[INFO] [stdout]   --> concurrent-rc-in-arc/src/main.rs:9:21
[INFO] [stdout]    |
[INFO] [stdout]  9 |       let forked = spawn(move ||
[INFO] [stdout]    |  __________________-----_^
[INFO] [stdout]    | |                  |
[INFO] [stdout]    | |                  required by a bound introduced by this call
[INFO] [stdout] 10 | |         {
[INFO] [stdout] 11 | |             println!("first thread: {}", **copy);
[INFO] [stdout] 12 | |         }
[INFO] [stdout]    | |_________^ `Rc<i32>` cannot be sent between threads safely
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Send` is not implemented for `Rc<i32>`
[INFO] [stdout]    = note: required for `Arc<Rc<i32>>` to implement `Send`
[INFO] [stdout] note: required because it's used within this closure
[INFO] [stdout]   --> concurrent-rc-in-arc/src/main.rs:9:21
[INFO] [stdout]    |
[INFO] [stdout]  9 |     let forked = spawn(move ||
[INFO] [stdout]    |                        ^^^^^^^
[INFO] [stdout] note: required by a bound in `spawn`
[INFO] [stdout]   --> /rustc/ddcf048784667508cd676fef4667f88ae15628a3/library/std/src/thread/mod.rs:725:1
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `concurrent-rc-in-arc` (bin "concurrent-rc-in-arc") due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "384595e5e37d5f8082ef328b058803b05ad55ccb7a9257c53e0d8c860d496394", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "384595e5e37d5f8082ef328b058803b05ad55ccb7a9257c53e0d8c860d496394", kill_on_drop: false }`
[INFO] [stdout] 384595e5e37d5f8082ef328b058803b05ad55ccb7a9257c53e0d8c860d496394
