[INFO] cloning repository https://github.com/grimmy-dev/rust_concepts
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/grimmy-dev/rust_concepts" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgrimmy-dev%2Frust_concepts", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgrimmy-dev%2Frust_concepts'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6be8a5984a45290720b7ff9352fffa70b97f55db
[INFO] checking grimmy-dev/rust_concepts against 760e1de835e253bf28bbcbfee38b5e8ed9ffe074 for pr-133502-27
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgrimmy-dev%2Frust_concepts" "/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/grimmy-dev/rust_concepts
[INFO] finished tweaking git repo https://github.com/grimmy-dev/rust_concepts
[INFO] tweaked toml for git repo https://github.com/grimmy-dev/rust_concepts written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/grimmy-dev/rust_concepts on toolchain 760e1de835e253bf28bbcbfee38b5e8ed9ffe074
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+760e1de835e253bf28bbcbfee38b5e8ed9ffe074" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/grimmy-dev/rust_concepts 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" "+760e1de835e253bf28bbcbfee38b5e8ed9ffe074" "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/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:c36f533e8924a726b63f9d01e781fa8c8c28c96d1d595403829afb31452ee0f5" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] efec2577f15daa412996eecde96f82095fc0ed1fbf4e1e002059f2333919ba2b
[INFO] running `Command { std: "docker" "start" "efec2577f15daa412996eecde96f82095fc0ed1fbf4e1e002059f2333919ba2b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "efec2577f15daa412996eecde96f82095fc0ed1fbf4e1e002059f2333919ba2b", 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" "efec2577f15daa412996eecde96f82095fc0ed1fbf4e1e002059f2333919ba2b" "/opt/rustwide/cargo-home/bin/cargo" "+760e1de835e253bf28bbcbfee38b5e8ed9ffe074" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "efec2577f15daa412996eecde96f82095fc0ed1fbf4e1e002059f2333919ba2b", 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" "efec2577f15daa412996eecde96f82095fc0ed1fbf4e1e002059f2333919ba2b" "/opt/rustwide/cargo-home/bin/cargo" "+760e1de835e253bf28bbcbfee38b5e8ed9ffe074" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling quote v1.0.46
[INFO] [stderr]     Checking same-file v1.0.6
[INFO] [stderr]     Checking config v0.1.0 (/opt/rustwide/workdir/config)
[INFO] [stderr]     Checking calc v0.1.0 (/opt/rustwide/workdir/calc)
[INFO] [stderr]     Checking arena v0.1.0 (/opt/rustwide/workdir/arena)
[INFO] [stderr]     Checking walkdir v2.5.0
[INFO] [stdout] error[E0499]: cannot borrow `arena` as mutable more than once at a time
[INFO] [stdout]   --> arena/src/lib.rs:58:18
[INFO] [stdout]    |
[INFO] [stdout] 55 |         let t1 = arena.alloc(String::from("hello"));
[INFO] [stdout]    |                  ----- first mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 58 |         let t2 = arena.alloc(String::from("world"));
[INFO] [stdout]    |                  ^^^^^ second mutable borrow occurs here
[INFO] [stdout] 59 |
[INFO] [stdout] 60 |         t1.push_str("!");
[INFO] [stdout]    |         -- first borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0505]: cannot move out of `arena` because it is borrowed
[INFO] [stdout]   --> arena/src/lib.rs:84:14
[INFO] [stdout]    |
[INFO] [stdout] 77 |         let mut arena = Arena::new();
[INFO] [stdout]    |             --------- binding `arena` declared here
[INFO] [stdout] ...
[INFO] [stdout] 81 |         let reference = arena.alloc(String::from("hello"));
[INFO] [stdout]    |                         ----- borrow of `arena` occurs here
[INFO] [stdout] ...
[INFO] [stdout] 84 |         drop(arena);
[INFO] [stdout]    |              ^^^^^ move out of `arena` occurs here
[INFO] [stdout] ...
[INFO] [stdout] 87 |         println!("{:?}", reference);
[INFO] [stdout]    |                          --------- borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0499, E0505.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0499`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `arena` (lib test) due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "efec2577f15daa412996eecde96f82095fc0ed1fbf4e1e002059f2333919ba2b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "efec2577f15daa412996eecde96f82095fc0ed1fbf4e1e002059f2333919ba2b", kill_on_drop: false }`
[INFO] [stdout] efec2577f15daa412996eecde96f82095fc0ed1fbf4e1e002059f2333919ba2b
