[INFO] cloning repository https://github.com/pigfox/rust-move-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-move-lab" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpigfox%2Frust-move-lab", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpigfox%2Frust-move-lab'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] fdcb74e2b8aab278f5d00b84688d4fcf709d61a1
[INFO] checking pigfox/rust-move-lab against 3154cc1a3e6424e44f438a95007d043ed5ceaaf6 for pr-133502-30
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpigfox%2Frust-move-lab" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-7-tc2/source/.cargo/config.toml
[INFO] removed /workspace/builds/worker-7-tc2/source/rust-toolchain.toml
[INFO] started tweaking git repo https://github.com/pigfox/rust-move-lab
[INFO] finished tweaking git repo https://github.com/pigfox/rust-move-lab
[INFO] tweaked toml for git repo https://github.com/pigfox/rust-move-lab written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/pigfox/rust-move-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-move-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-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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] 1cf49242c9c69147fdd923b88a77ab3572dc6a01b4a35ebc2275075e9b899d23
[INFO] running `Command { std: "docker" "start" "1cf49242c9c69147fdd923b88a77ab3572dc6a01b4a35ebc2275075e9b899d23", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1cf49242c9c69147fdd923b88a77ab3572dc6a01b4a35ebc2275075e9b899d23", 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" "1cf49242c9c69147fdd923b88a77ab3572dc6a01b4a35ebc2275075e9b899d23" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1cf49242c9c69147fdd923b88a77ab3572dc6a01b4a35ebc2275075e9b899d23", 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" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1cf49242c9c69147fdd923b88a77ab3572dc6a01b4a35ebc2275075e9b899d23" "/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 hashbrown v0.17.1
[INFO] [stderr]     Checking move-lab v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0382]: borrow of moved value: `a`
[INFO] [stdout]   --> src/main.rs:22:16
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let a = String::from("hello");
[INFO] [stdout]    |         - move occurs because `a` has type `String`, which does not implement the `Copy` trait
[INFO] [stdout] 21 |     let b = a;
[INFO] [stdout]    |             - value moved here
[INFO] [stdout] 22 |     println!("{a} {b}");
[INFO] [stdout]    |                ^ value borrowed here after move
[INFO] [stdout]    |
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let b = a.clone();
[INFO] [stdout]    |              ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: borrow of moved value: `a`
[INFO] [stdout]   --> src/bin/into_call.rs:21:20
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let a = String::from("hello");
[INFO] [stdout]    |         - move occurs because `a` has type `String`, which does not implement the `Copy` trait
[INFO] [stdout] 20 |     let n = consume(a);
[INFO] [stdout]    |                     - value moved here
[INFO] [stdout] 21 |     println!("{n} {a}");
[INFO] [stdout]    |                    ^ value borrowed here after move
[INFO] [stdout]    |
[INFO] [stdout] note: consider changing this parameter type in function `consume` to borrow instead if owning the value isn't necessary
[INFO] [stdout]   --> src/bin/into_call.rs:14:15
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn consume(s: String) -> usize {
[INFO] [stdout]    |    -------    ^^^^^^ this parameter takes ownership of the value
[INFO] [stdout]    |    |
[INFO] [stdout]    |    in this function
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let n = consume(a.clone());
[INFO] [stdout]    |                      ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: borrow of moved value: `a`
[INFO] [stdout]   --> src/main.rs:22:16
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let a = String::from("hello");
[INFO] [stdout]    |         - move occurs because `a` has type `String`, which does not implement the `Copy` trait
[INFO] [stdout] 21 |     let b = a;
[INFO] [stdout]    |             - value moved here
[INFO] [stdout] 22 |     println!("{a} {b}");
[INFO] [stdout]    |                ^ value borrowed here after move
[INFO] [stdout]    |
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let b = a.clone();
[INFO] [stdout]    |              ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `move-lab` (bin "main") due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `move-lab` (bin "into_call" test) due to 1 previous error
[INFO] [stdout] error[E0382]: borrow of moved value: `a`
[INFO] [stdout]   --> src/bin/into_call.rs:21:20
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let a = String::from("hello");
[INFO] [stdout]    |         - move occurs because `a` has type `String`, which does not implement the `Copy` trait
[INFO] [stdout] 20 |     let n = consume(a);
[INFO] [stdout]    |                     - value moved here
[INFO] [stdout] 21 |     println!("{n} {a}");
[INFO] [stdout]    |                    ^ value borrowed here after move
[INFO] [stdout]    |
[INFO] [stdout] note: consider changing this parameter type in function `consume` to borrow instead if owning the value isn't necessary
[INFO] [stdout]   --> src/bin/into_call.rs:14:15
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn consume(s: String) -> usize {
[INFO] [stdout]    |    -------    ^^^^^^ this parameter takes ownership of the value
[INFO] [stdout]    |    |
[INFO] [stdout]    |    in this function
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let n = consume(a.clone());
[INFO] [stdout]    |                      ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `move-lab` (bin "main" test) due to 1 previous error
[INFO] [stderr] error: could not compile `move-lab` (bin "into_call") due to 1 previous error
[INFO] [stdout] error[E0382]: use of moved value: `a`
[INFO] [stdout]   --> src/bin/in_loop.rs:27:26
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let a = String::from("hello");
[INFO] [stdout]    |         - move occurs because `a` has type `String`, which does not implement the `Copy` trait
[INFO] [stdout] 25 |     let mut total = 0;
[INFO] [stdout] 26 |     for _ in 0..2 {
[INFO] [stdout]    |     ------------- inside of this loop
[INFO] [stdout] 27 |         total += consume(a);
[INFO] [stdout]    |                          ^ value moved here, in previous iteration of loop
[INFO] [stdout]    |
[INFO] [stdout] note: consider changing this parameter type in function `consume` to borrow instead if owning the value isn't necessary
[INFO] [stdout]   --> src/bin/in_loop.rs:19:15
[INFO] [stdout]    |
[INFO] [stdout] 19 | fn consume(s: String) -> usize {
[INFO] [stdout]    |    -------    ^^^^^^ this parameter takes ownership of the value
[INFO] [stdout]    |    |
[INFO] [stdout]    |    in this function
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]    |
[INFO] [stdout] 27 |         total += consume(a.clone());
[INFO] [stdout]    |                           ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `move-lab` (bin "in_loop" test) due to 1 previous error
[INFO] [stdout] error[E0382]: use of moved value: `a`
[INFO] [stdout]   --> src/bin/in_loop.rs:27:26
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let a = String::from("hello");
[INFO] [stdout]    |         - move occurs because `a` has type `String`, which does not implement the `Copy` trait
[INFO] [stdout] 25 |     let mut total = 0;
[INFO] [stdout] 26 |     for _ in 0..2 {
[INFO] [stdout]    |     ------------- inside of this loop
[INFO] [stdout] 27 |         total += consume(a);
[INFO] [stdout]    |                          ^ value moved here, in previous iteration of loop
[INFO] [stdout]    |
[INFO] [stdout] note: consider changing this parameter type in function `consume` to borrow instead if owning the value isn't necessary
[INFO] [stdout]   --> src/bin/in_loop.rs:19:15
[INFO] [stdout]    |
[INFO] [stdout] 19 | fn consume(s: String) -> usize {
[INFO] [stdout]    |    -------    ^^^^^^ this parameter takes ownership of the value
[INFO] [stdout]    |    |
[INFO] [stdout]    |    in this function
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]    |
[INFO] [stdout] 27 |         total += consume(a.clone());
[INFO] [stdout]    |                           ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `move-lab` (bin "in_loop") due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "1cf49242c9c69147fdd923b88a77ab3572dc6a01b4a35ebc2275075e9b899d23", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1cf49242c9c69147fdd923b88a77ab3572dc6a01b4a35ebc2275075e9b899d23", kill_on_drop: false }`
[INFO] [stdout] 1cf49242c9c69147fdd923b88a77ab3572dc6a01b4a35ebc2275075e9b899d23
