[INFO] cloning repository https://github.com/felix-hedenstrom/ngramfiller [INFO] running `"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"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffelix-hedenstrom%2Fngramfiller'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] c5f2944db09e55f0f7bebb81c695e3cbedc11440 [INFO] checking felix-hedenstrom/ngramfiller against master#2748a9fd93dd1a00a4521f4f16de5befbf77f6cd for pr-62262-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffelix-hedenstrom%2Fngramfiller" "/workspace/builds/worker-8/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/felix-hedenstrom/ngramfiller on toolchain 2748a9fd93dd1a00a4521f4f16de5befbf77f6cd [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "read-manifest" "--manifest-path" "Cargo.toml"` [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-8/source/Cargo.toml [INFO] crate git repo https://github.com/felix-hedenstrom/ngramfiller already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 40b4a6a6fe5afe01d59745c5d09c8c90e9a3bafcff88713214a40fc0444d5783 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "40b4a6a6fe5afe01d59745c5d09c8c90e9a3bafcff88713214a40fc0444d5783"` [INFO] [stderr] Compiling cpython v0.2.1 (https://github.com/dgrunwald/rust-cpython#c5cfd32c) [INFO] [stderr] Compiling num-traits v0.2.8 [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] [stderr] warning: use of deprecated item 'r#try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:74:9 [INFO] [stderr] | [INFO] [stderr] 74 | r#try!(m.add(py, "__doc__", "This module is implemented in Rust")); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'r#try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:75:9 [INFO] [stderr] | [INFO] [stderr] 75 | r#try!(m.add(py, "depth", py_fn!(py, depth(val: PyDict)))); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'r#try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:76:9 [INFO] [stderr] | [INFO] [stderr] 76 | r#try!(m.add( [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'r#try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:74:9 [INFO] [stderr] | [INFO] [stderr] 74 | r#try!(m.add(py, "__doc__", "This module is implemented in Rust")); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'r#try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:75:9 [INFO] [stderr] | [INFO] [stderr] 75 | r#try!(m.add(py, "depth", py_fn!(py, depth(val: PyDict)))); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'r#try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:76:9 [INFO] [stderr] | [INFO] [stderr] 76 | r#try!(m.add( [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0499]: cannot borrow `ngrams` as mutable more than once at a time [INFO] [stderr] --> src/graph.rs:38:17 [INFO] [stderr] | [INFO] [stderr] 38 | ngrams.push(neighbor); [INFO] [stderr] | ^^^^^^ second mutable borrow occurs here [INFO] [stderr] 39 | let neighbor_p = ngrams.last_mut().unwrap(); [INFO] [stderr] | ------ first mutable borrow occurs here [INFO] [stderr] 40 | [INFO] [stderr] 41 | if !visited.insert(neighbor_p){ [INFO] [stderr] | ------- first borrow later used here [INFO] [stderr] [INFO] [stderr] error[E0499]: cannot borrow `ngrams` as mutable more than once at a time [INFO] [stderr] --> src/graph.rs:39:34 [INFO] [stderr] | [INFO] [stderr] 39 | let neighbor_p = ngrams.last_mut().unwrap(); [INFO] [stderr] | ^^^^^^ mutable borrow starts here in previous iteration of loop [INFO] [stderr] [INFO] [stderr] error[E0499]: cannot borrow `ngrams` as mutable more than once at a time [INFO] [stderr] --> src/graph.rs:38:17 [INFO] [stderr] | [INFO] [stderr] 38 | ngrams.push(neighbor); [INFO] [stderr] | ^^^^^^ second mutable borrow occurs here [INFO] [stderr] 39 | let neighbor_p = ngrams.last_mut().unwrap(); [INFO] [stderr] | ------ first mutable borrow occurs here [INFO] [stderr] 40 | [INFO] [stderr] 41 | if !visited.insert(neighbor_p){ [INFO] [stderr] | ------- first borrow later used here [INFO] [stderr] [INFO] [stderr] error[E0499]: cannot borrow `ngrams` as mutable more than once at a time [INFO] [stderr] --> src/graph.rs:39:34 [INFO] [stderr] | [INFO] [stderr] 39 | let neighbor_p = ngrams.last_mut().unwrap(); [INFO] [stderr] | ^^^^^^ mutable borrow starts here in previous iteration of loop [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0499`. [INFO] [stderr] error: could not compile `ngramconnector`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0499`. [INFO] [stderr] error: could not compile `ngramconnector`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "40b4a6a6fe5afe01d59745c5d09c8c90e9a3bafcff88713214a40fc0444d5783"` [INFO] running `"docker" "rm" "-f" "40b4a6a6fe5afe01d59745c5d09c8c90e9a3bafcff88713214a40fc0444d5783"` [INFO] [stdout] 40b4a6a6fe5afe01d59745c5d09c8c90e9a3bafcff88713214a40fc0444d5783