[INFO] cloning repository https://github.com/rsantiago/rust-ownership-samples
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rsantiago/rust-ownership-samples" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frsantiago%2Frust-ownership-samples", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frsantiago%2Frust-ownership-samples'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f08eb83a4f4cadd97204d794026822b2fa95b02b
[INFO] testing rsantiago/rust-ownership-samples against 1.62.0 for beta-1.63-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frsantiago%2Frust-ownership-samples" "/workspace/builds/worker-0/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/rsantiago/rust-ownership-samples on toolchain 1.62.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/rsantiago/rust-ownership-samples
[INFO] finished tweaking git repo https://github.com/rsantiago/rust-ownership-samples
[INFO] tweaked toml for git repo https://github.com/rsantiago/rust-ownership-samples written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/rsantiago/rust-ownership-samples already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f5719b2a08f253ab1e5f911e9ea42ec9f135077af371754b8feebf74532958c8
[INFO] running `Command { std: "docker" "start" "-a" "f5719b2a08f253ab1e5f911e9ea42ec9f135077af371754b8feebf74532958c8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f5719b2a08f253ab1e5f911e9ea42ec9f135077af371754b8feebf74532958c8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f5719b2a08f253ab1e5f911e9ea42ec9f135077af371754b8feebf74532958c8", kill_on_drop: false }`
[INFO] [stdout] f5719b2a08f253ab1e5f911e9ea42ec9f135077af371754b8feebf74532958c8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 559cf35348d69da67b9a75857f4d68c724baac8f9c8c8fbee6762c8f235f4a28
[INFO] running `Command { std: "docker" "start" "-a" "559cf35348d69da67b9a75857f4d68c724baac8f9c8c8fbee6762c8f235f4a28", kill_on_drop: false }`
[INFO] [stderr]    Compiling rust_presentation v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find value `b` in this scope
[INFO] [stdout]   --> src/bin/_12_mutable_outofscope.rs:25:24
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let d : &String = &b;
[INFO] [stdout]    |                        ^ help: a local variable with a similar name exists: `a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]   --> src/bin/_06_set_after_function.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let b = a; // valor movido para funcao
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_presentation` due to 2 previous errors
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0382]: borrow of moved value: `a`
[INFO] [stdout]   --> src/bin/_05_function_ownership.rs:13:23
[INFO] [stdout]    |
[INFO] [stdout] 7  |     let a = "Esta string é constante".to_string();
[INFO] [stdout]    |         - move occurs because `a` has type `String`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 11 |     imprime(a);
[INFO] [stdout]    |             - value moved here
[INFO] [stdout] 12 | 
[INFO] [stdout] 13 |     println!("a: {}", a);
[INFO] [stdout]    |                       ^ value borrowed here after move
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_presentation` due to 2 previous errors
[INFO] [stdout] error[E0382]: borrow of moved value: `a`
[INFO] [stdout]   --> src/bin/_03_ownership.rs:21:27
[INFO] [stdout]    |
[INFO] [stdout] 8  |     let a = "Esta string é constante?"
[INFO] [stdout]    |         - move occurs because `a` has type `String`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 15 |     let mut b = a;
[INFO] [stdout]    |                 - value moved here
[INFO] [stdout] ...
[INFO] [stdout] 21 |     println!("a: {}\n\n", a);
[INFO] [stdout]    |                           ^ value borrowed here after move
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `a`
[INFO] [stdout]   --> src/bin/_06_set_after_function.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 8  |     let a = "Esta string é constante".to_string();
[INFO] [stdout]    |         - move occurs because `a` has type `String`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 12 |     imprime(a);
[INFO] [stdout]    |             - value moved here
[INFO] [stdout] 13 | 
[INFO] [stdout] 14 |     let b = a; // valor movido para funcao
[INFO] [stdout]    |             ^ value used here after move
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `*uma_string` as mutable, as it is behind a `&` reference
[INFO] [stdout]   --> src/bin/_09_appending_string.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | fn imprime(uma_string: &String) {
[INFO] [stdout]    |                        ------- help: consider changing this to be a mutable reference: `&mut String`
[INFO] [stdout] ...
[INFO] [stdout] 21 |     uma_string.push_str(" tentando adicionar mais coisas à string");
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `uma_string` is a `&` reference, so the data it refers to cannot be borrowed as mutable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0596`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_presentation` due to 2 previous errors; 1 warning emitted
[INFO] [stderr] error: could not compile `rust_presentation` due to 2 previous errors
[INFO] [stderr] error: could not compile `rust_presentation` due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "559cf35348d69da67b9a75857f4d68c724baac8f9c8c8fbee6762c8f235f4a28", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "559cf35348d69da67b9a75857f4d68c724baac8f9c8c8fbee6762c8f235f4a28", kill_on_drop: false }`
[INFO] [stdout] 559cf35348d69da67b9a75857f4d68c724baac8f9c8c8fbee6762c8f235f4a28
