[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] testing felix-hedenstrom/ngramfiller against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffelix-hedenstrom%2Fngramfiller" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/felix-hedenstrom/ngramfiller on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-11/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: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/dgrunwald/rust-cpython` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5a19e6b99792dd969bde286027c0db85ec4e76d431afc7d942559af79a3772f9 [INFO] running `Command { std: "docker" "start" "-a" "5a19e6b99792dd969bde286027c0db85ec4e76d431afc7d942559af79a3772f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a19e6b99792dd969bde286027c0db85ec4e76d431afc7d942559af79a3772f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a19e6b99792dd969bde286027c0db85ec4e76d431afc7d942559af79a3772f9", kill_on_drop: false }` [INFO] [stdout] 5a19e6b99792dd969bde286027c0db85ec4e76d431afc7d942559af79a3772f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4323acb3c285c30f7fa37f0ef1097c8d8aa2f40a50c1a0c331400da145262626 [INFO] running `Command { std: "docker" "start" "-a" "4323acb3c285c30f7fa37f0ef1097c8d8aa2f40a50c1a0c331400da145262626", kill_on_drop: false }` [INFO] [stderr] Compiling ucd-util v0.1.5 [INFO] [stderr] Compiling utf8-ranges v1.0.3 [INFO] [stderr] Compiling autocfg v0.1.5 [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Compiling cpython v0.2.1 (https://github.com/dgrunwald/rust-cpython#c5cfd32c) [INFO] [stderr] Compiling aho-corasick v0.7.4 [INFO] [stderr] Compiling regex-syntax v0.6.10 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling regex v1.2.0 [INFO] [stderr] Compiling python3-sys v0.2.1 (https://github.com/dgrunwald/rust-cpython#c5cfd32c) [INFO] [stderr] Compiling ngramconnector v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | r#try!(m.add(py, "__doc__", "This module is implemented in Rust")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | r#try!(m.add(py, "depth", py_fn!(py, depth(val: PyDict)))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | r#try!(m.add( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/graph.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(hash_set_entry)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted [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` due to 3 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4323acb3c285c30f7fa37f0ef1097c8d8aa2f40a50c1a0c331400da145262626", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4323acb3c285c30f7fa37f0ef1097c8d8aa2f40a50c1a0c331400da145262626", kill_on_drop: false }` [INFO] [stdout] 4323acb3c285c30f7fa37f0ef1097c8d8aa2f40a50c1a0c331400da145262626