[INFO] cloning repository https://github.com/Aeronica/learn_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Aeronica/learn_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAeronica%2Flearn_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAeronica%2Flearn_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2e32bc7f32cdd996fab6da9b988d5954ed581cc7
[INFO] checking Aeronica/learn_rust against master#c8a31b780d5415358566a20b94912620a3f27067 for pr-139493-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAeronica%2Flearn_rust" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Aeronica/learn_rust
[INFO] removed 0 missing examples
[INFO] finished tweaking git repo https://github.com/Aeronica/learn_rust
[INFO] tweaked toml for git repo https://github.com/Aeronica/learn_rust written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Aeronica/learn_rust on toolchain c8a31b780d5415358566a20b94912620a3f27067
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c8a31b780d5415358566a20b94912620a3f27067" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Aeronica/learn_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" "+c8a31b780d5415358566a20b94912620a3f27067" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded libc v0.2.140
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "+c8a31b780d5415358566a20b94912620a3f27067" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3a32024f35221e4591f08bececd6847972aa624cdb0840811f862bca5882a111
[INFO] running `Command { std: "docker" "start" "-a" "3a32024f35221e4591f08bececd6847972aa624cdb0840811f862bca5882a111", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3a32024f35221e4591f08bececd6847972aa624cdb0840811f862bca5882a111", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3a32024f35221e4591f08bececd6847972aa624cdb0840811f862bca5882a111", kill_on_drop: false }`
[INFO] [stdout] 3a32024f35221e4591f08bececd6847972aa624cdb0840811f862bca5882a111
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "+c8a31b780d5415358566a20b94912620a3f27067" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 01cc284fafc7996b0659503c529232ecdeb0ee1651adcfd596c50ece196d7f17
[INFO] running `Command { std: "docker" "start" "-a" "01cc284fafc7996b0659503c529232ecdeb0ee1651adcfd596c50ece196d7f17", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.140
[INFO] [stderr]     Checking getrandom v0.2.8
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking learn_rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `spaces`
[INFO] [stdout]  --> examples/section_3_1_5_variables_mutability_shadowing.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     let spaces = spaces.len();
[INFO] [stdout]   |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_spaces`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `THREE_HOURS_IN_SECONDS` is never used
[INFO] [stdout]  --> examples/section_3_1_2_variables_mutability_constants.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 |     const THREE_HOURS_IN_SECONDS: u32 = 60 * 60 * 3;
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0384]: cannot assign twice to immutable variable `x`
[INFO] [stdout]  --> examples/section_3_1_0_variables_mutability.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     let x = 5;
[INFO] [stdout]   |         - first assignment to `x`
[INFO] [stdout] 3 |     println!("The value of x is: {x}");
[INFO] [stdout] 4 |     x = 6;
[INFO] [stdout]   |     ^^^^^ cannot assign twice to immutable variable
[INFO] [stdout]   |
[INFO] [stdout] help: consider making this binding mutable
[INFO] [stdout]   |
[INFO] [stdout] 2 |     let mut x = 5;
[INFO] [stdout]   |         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0384`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `learn_rust` (example "section_3_1_0_variables_mutability") due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> examples/section_3_1_6_variables_mutability_shadowing.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 2 |     let mut spaces = "   ";
[INFO] [stdout]   |                      ----- expected due to this value
[INFO] [stdout] 3 |     spaces = spaces.len();
[INFO] [stdout]   |              ^^^^^^^^^^^^ expected `&str`, found `usize`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `learn_rust` (example "section_3_1_6_variables_mutability_shadowing") due to 1 previous error
[INFO] [stdout] error[E0284]: type annotations needed
[INFO] [stdout]  --> examples/section_3_2_1_data_types.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     let guess = "42".parse().expect("Not a number!");
[INFO] [stdout]   |         ^^^^^        ----- type must be known at this point
[INFO] [stdout]   |
[INFO] [stdout]   = note: cannot satisfy `<_ as FromStr>::Err == _`
[INFO] [stdout] help: consider giving `guess` an explicit type
[INFO] [stdout]   |
[INFO] [stdout] 3 |     let guess: /* Type */ = "42".parse().expect("Not a number!");
[INFO] [stdout]   |              ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0284`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `learn_rust` (example "section_3_2_1_data_types") due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "01cc284fafc7996b0659503c529232ecdeb0ee1651adcfd596c50ece196d7f17", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "01cc284fafc7996b0659503c529232ecdeb0ee1651adcfd596c50ece196d7f17", kill_on_drop: false }`
[INFO] [stdout] 01cc284fafc7996b0659503c529232ecdeb0ee1651adcfd596c50ece196d7f17
