[INFO] cloning repository https://github.com/mirnagomesti33/reborrowing_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mirnagomesti33/reborrowing_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmirnagomesti33%2Freborrowing_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmirnagomesti33%2Freborrowing_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6849f75921e9b16e174e243fea6757a3434e5ccc
[INFO] checking mirnagomesti33/reborrowing_rust against 3154cc1a3e6424e44f438a95007d043ed5ceaaf6 for pr-133502-30
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmirnagomesti33%2Freborrowing_rust" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/mirnagomesti33/reborrowing_rust
[INFO] finished tweaking git repo https://github.com/mirnagomesti33/reborrowing_rust
[INFO] tweaked toml for git repo https://github.com/mirnagomesti33/reborrowing_rust written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mirnagomesti33/reborrowing_rust 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/mirnagomesti33/reborrowing_rust 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-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 6e53caaab4ff058a0c57173f393590236cdca12437e7a03487cf27442250728b
[INFO] running `Command { std: "docker" "start" "6e53caaab4ff058a0c57173f393590236cdca12437e7a03487cf27442250728b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6e53caaab4ff058a0c57173f393590236cdca12437e7a03487cf27442250728b", 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" "6e53caaab4ff058a0c57173f393590236cdca12437e7a03487cf27442250728b" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6e53caaab4ff058a0c57173f393590236cdca12437e7a03487cf27442250728b", 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" "6e53caaab4ff058a0c57173f393590236cdca12437e7a03487cf27442250728b" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking Rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0428]: the name `main` is defined multiple times
[INFO] [stdout]   --> src/main.rs:14:4
[INFO] [stdout]    |
[INFO] [stdout]  1 | fn main() {
[INFO] [stdout]    | --------- previous definition of the value `main` here
[INFO] [stdout] ...
[INFO] [stdout] 14 |    fn main() {
[INFO] [stdout]    |    ^^^^^^^^^ `main` redefined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `main` must be defined only once in the value namespace of this module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0428]: the name `main` is defined multiple times
[INFO] [stdout]   --> src/main.rs:23:4
[INFO] [stdout]    |
[INFO] [stdout]  1 | fn main() {
[INFO] [stdout]    | --------- previous definition of the value `main` here
[INFO] [stdout] ...
[INFO] [stdout] 23 |    fn main() {
[INFO] [stdout]    |    ^^^^^^^^^ `main` redefined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `main` must be defined only once in the value namespace of this module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: cannot find value `i32` in this scope
[INFO] [stdout]   --> src/main.rs:24:30
[INFO] [stdout]    |
[INFO] [stdout] 24 |          imprime_valor( &mut i32);
[INFO] [stdout]    |                              ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout]    = note: a builtin type named `i32` exists in another namespace
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `valor` in this scope
[INFO] [stdout]   --> src/main.rs:25:10
[INFO] [stdout]    |
[INFO] [stdout] 25 |         *valor += 1; // modificando o valor o valor referenciado utilizando um reborrowing
[INFO] [stdout]    |          ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `valor` in this scope
[INFO] [stdout]   --> src/main.rs:28:62
[INFO] [stdout]    |
[INFO] [stdout] 28 |         println!("O valor é: {}, endereço de memória: {:p}", valor, valor);
[INFO] [stdout]    |                                                              ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `valor` in this scope
[INFO] [stdout]   --> src/main.rs:28:69
[INFO] [stdout]    |
[INFO] [stdout] 28 |         println!("O valor é: {}, endereço de memória: {:p}", valor, valor);
[INFO] [stdout]    |                                                                     ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/main.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 |    let mut x: i32 = 4;
[INFO] [stdout]   |        ----^
[INFO] [stdout]   |        |
[INFO] [stdout]   |        help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0425, E0428.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] 
[INFO] [stdout] error[E0428]: the name `main` is defined multiple times
[INFO] [stdout]   --> src/main.rs:14:4
[INFO] [stdout]    |
[INFO] [stdout]  1 | fn main() {
[INFO] [stdout]    | --------- previous definition of the value `main` here
[INFO] [stdout] ...
[INFO] [stdout] 14 |    fn main() {
[INFO] [stdout]    |    ^^^^^^^^^ `main` redefined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `main` must be defined only once in the value namespace of this module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `Rust` (bin "Rust") due to 6 previous errors; 1 warning emitted
[INFO] [stdout] error[E0428]: the name `main` is defined multiple times
[INFO] [stdout]   --> src/main.rs:23:4
[INFO] [stdout]    |
[INFO] [stdout]  1 | fn main() {
[INFO] [stdout]    | --------- previous definition of the value `main` here
[INFO] [stdout] ...
[INFO] [stdout] 23 |    fn main() {
[INFO] [stdout]    |    ^^^^^^^^^ `main` redefined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `main` must be defined only once in the value namespace of this module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0423]: cannot find value `i32` in this scope
[INFO] [stdout]   --> src/main.rs:24:30
[INFO] [stdout]    |
[INFO] [stdout] 24 |          imprime_valor( &mut i32);
[INFO] [stdout]    |                              ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout]    = note: a builtin type named `i32` exists in another namespace
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `valor` in this scope
[INFO] [stdout]   --> src/main.rs:25:10
[INFO] [stdout]    |
[INFO] [stdout] 25 |         *valor += 1; // modificando o valor o valor referenciado utilizando um reborrowing
[INFO] [stdout]    |          ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `valor` in this scope
[INFO] [stdout]   --> src/main.rs:28:62
[INFO] [stdout]    |
[INFO] [stdout] 28 |         println!("O valor é: {}, endereço de memória: {:p}", valor, valor);
[INFO] [stdout]    |                                                              ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `valor` in this scope
[INFO] [stdout]   --> src/main.rs:28:69
[INFO] [stdout]    |
[INFO] [stdout] 28 |         println!("O valor é: {}, endereço de memória: {:p}", valor, valor);
[INFO] [stdout]    |                                                                     ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/main.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 |    let mut x: i32 = 4;
[INFO] [stdout]   |        ----^
[INFO] [stdout]   |        |
[INFO] [stdout]   |        help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0425, E0428.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `Rust` (bin "Rust" test) due to 6 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "6e53caaab4ff058a0c57173f393590236cdca12437e7a03487cf27442250728b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6e53caaab4ff058a0c57173f393590236cdca12437e7a03487cf27442250728b", kill_on_drop: false }`
[INFO] [stdout] 6e53caaab4ff058a0c57173f393590236cdca12437e7a03487cf27442250728b
