[INFO] cloning repository https://github.com/felix-hedenstrom/ngramfiller [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/felix-hedenstrom/ngramfiller" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffelix-hedenstrom%2Fngramfiller", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffelix-hedenstrom%2Fngramfiller'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c5f2944db09e55f0f7bebb81c695e3cbedc11440 [INFO] checking felix-hedenstrom/ngramfiller against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffelix-hedenstrom%2Fngramfiller" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/felix-hedenstrom/ngramfiller on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/felix-hedenstrom/ngramfiller [INFO] finished tweaking git repo https://github.com/felix-hedenstrom/ngramfiller [INFO] tweaked toml for git repo https://github.com/felix-hedenstrom/ngramfiller written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/felix-hedenstrom/ngramfiller 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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/dgrunwald/rust-cpython` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded utf8-ranges v1.0.3 [INFO] [stderr] Downloaded aho-corasick v0.7.4 [INFO] [stderr] Downloaded ucd-util v0.1.5 [INFO] [stderr] Downloaded regex v1.2.0 [INFO] [stderr] Downloaded regex-syntax v0.6.10 [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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f409b24b5c2cd65360c2aa2ad2f8407602847da454d313f8011a0e324713b9f9 [INFO] running `Command { std: "docker" "start" "-a" "f409b24b5c2cd65360c2aa2ad2f8407602847da454d313f8011a0e324713b9f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f409b24b5c2cd65360c2aa2ad2f8407602847da454d313f8011a0e324713b9f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f409b24b5c2cd65360c2aa2ad2f8407602847da454d313f8011a0e324713b9f9", kill_on_drop: false }` [INFO] [stdout] f409b24b5c2cd65360c2aa2ad2f8407602847da454d313f8011a0e324713b9f9 [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a78a1c5142398b2185df78498156e6c5add2718ee51feadc603187e75668e1a4 [INFO] running `Command { std: "docker" "start" "-a" "a78a1c5142398b2185df78498156e6c5add2718ee51feadc603187e75668e1a4", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling ucd-util v0.1.5 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling utf8-ranges v1.0.3 [INFO] [stderr] Compiling cpython v0.2.1 (https://github.com/dgrunwald/rust-cpython#c5cfd32c) [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling regex-syntax v0.6.10 [INFO] [stderr] Compiling aho-corasick v0.7.4 [INFO] [stderr] Compiling regex v1.2.0 [INFO] [stderr] Compiling python3-sys v0.2.1 (https://github.com/dgrunwald/rust-cpython#c5cfd32c) [INFO] [stderr] Checking ngramconnector v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0499]: cannot borrow `ngrams` as mutable more than once at a time [INFO] [stdout] --> src/graph.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | ngrams.push(neighbor); [INFO] [stdout] | ^^^^^^ second mutable borrow occurs here [INFO] [stdout] 39 | let neighbor_p = ngrams.last_mut().unwrap(); [INFO] [stdout] | ------ first mutable borrow occurs here [INFO] [stdout] 40 | [INFO] [stdout] 41 | if !visited.insert(neighbor_p){ [INFO] [stdout] | ------- first borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `ngrams` as mutable more than once at a time [INFO] [stdout] --> src/graph.rs:39:34 [INFO] [stdout] | [INFO] [stdout] 39 | let neighbor_p = ngrams.last_mut().unwrap(); [INFO] [stdout] | ^^^^^^ `ngrams` was mutably borrowed here in the previous iteration of the loop [INFO] [stdout] 40 | [INFO] [stdout] 41 | if !visited.insert(neighbor_p){ [INFO] [stdout] | ------- first borrow used here, in later iteration of loop [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `ngrams` as mutable more than once at a time [INFO] [stdout] --> src/graph.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | ngrams.push(neighbor); [INFO] [stdout] | ^^^^^^ second mutable borrow occurs here [INFO] [stdout] 39 | let neighbor_p = ngrams.last_mut().unwrap(); [INFO] [stdout] | ------ first mutable borrow occurs here [INFO] [stdout] 40 | [INFO] [stdout] 41 | if !visited.insert(neighbor_p){ [INFO] [stdout] | ------- first borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `ngrams` as mutable more than once at a time [INFO] [stdout] --> src/graph.rs:39:34 [INFO] [stdout] | [INFO] [stdout] 39 | let neighbor_p = ngrams.last_mut().unwrap(); [INFO] [stdout] | ^^^^^^ `ngrams` was mutably borrowed here in the previous iteration of the loop [INFO] [stdout] 40 | [INFO] [stdout] 41 | if !visited.insert(neighbor_p){ [INFO] [stdout] | ------- first borrow used here, in later iteration of loop [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ngramconnector` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ngramconnector` (lib test) due to 3 previous errors; 34 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a78a1c5142398b2185df78498156e6c5add2718ee51feadc603187e75668e1a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a78a1c5142398b2185df78498156e6c5add2718ee51feadc603187e75668e1a4", kill_on_drop: false }` [INFO] [stdout] a78a1c5142398b2185df78498156e6c5add2718ee51feadc603187e75668e1a4