[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/c5f2944db09e55f0f7bebb81c695e3cbedc11440 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffelix-hedenstrom%2Fngramfiller" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/felix-hedenstrom/ngramfiller on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "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-0-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" "+ff1737bb00913444173658b4e0b274fd79aabf66" "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 memchr v2.2.1 [INFO] [stderr] Downloaded lazy_static v1.3.0 [INFO] [stderr] Downloaded utf8-ranges v1.0.3 [INFO] [stderr] Downloaded aho-corasick v0.7.4 [INFO] [stderr] Downloaded autocfg v0.1.5 [INFO] [stderr] Downloaded num-traits v0.2.8 [INFO] [stderr] Downloaded ucd-util v0.1.5 [INFO] [stderr] Downloaded regex v1.2.0 [INFO] [stderr] Downloaded regex-syntax v0.6.10 [INFO] [stderr] Downloaded libc v0.2.60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 92036a4655e6ff87862a1731f1a309d6d71ab526153f5ecb666745f31ed75d89 [INFO] running `Command { std: "docker" "start" "-a" "92036a4655e6ff87862a1731f1a309d6d71ab526153f5ecb666745f31ed75d89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "92036a4655e6ff87862a1731f1a309d6d71ab526153f5ecb666745f31ed75d89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92036a4655e6ff87862a1731f1a309d6d71ab526153f5ecb666745f31ed75d89", kill_on_drop: false }` [INFO] [stdout] 92036a4655e6ff87862a1731f1a309d6d71ab526153f5ecb666745f31ed75d89 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b1c62cb9b115e8ae2729e58335c56d4f94701735ba51f03dc67261807467947 [INFO] running `Command { std: "docker" "start" "-a" "5b1c62cb9b115e8ae2729e58335c56d4f94701735ba51f03dc67261807467947", 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 libc v0.2.60 [INFO] [stderr] Compiling autocfg v0.1.5 [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 num-traits v0.2.8 [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] 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 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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 2 previous errors; 34 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5b1c62cb9b115e8ae2729e58335c56d4f94701735ba51f03dc67261807467947", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b1c62cb9b115e8ae2729e58335c56d4f94701735ba51f03dc67261807467947", kill_on_drop: false }` [INFO] [stdout] 5b1c62cb9b115e8ae2729e58335c56d4f94701735ba51f03dc67261807467947