[INFO] updating cached repository https://github.com/felix-hedenstrom/ngramfiller [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] c5f2944db09e55f0f7bebb81c695e3cbedc11440 [INFO] checking felix-hedenstrom/ngramfiller against try#ba14a92a10441c4b839ce71e6ef5f7a48bbff18f for prs-64470-and-65389 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffelix-hedenstrom%2Fngramfiller" "/workspace/builds/worker-2/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/felix-hedenstrom/ngramfiller on toolchain ba14a92a10441c4b839ce71e6ef5f7a48bbff18f [INFO] running `"/workspace/cargo-home/bin/cargo" "+ba14a92a10441c4b839ce71e6ef5f7a48bbff18f" "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-2/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" "+ba14a92a10441c4b839ce71e6ef5f7a48bbff18f" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+ba14a92a10441c4b839ce71e6ef5f7a48bbff18f" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ddb4f1fd7e074144698151674cd21828b65939e275341d547fd4887388a58b5b [INFO] running `"docker" "start" "-a" "ddb4f1fd7e074144698151674cd21828b65939e275341d547fd4887388a58b5b"` [INFO] [stderr] Compiling cpython v0.2.1 (https://github.com/dgrunwald/rust-cpython#c5cfd32c) [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] [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: 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[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] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "ddb4f1fd7e074144698151674cd21828b65939e275341d547fd4887388a58b5b"` [INFO] running `"docker" "rm" "-f" "ddb4f1fd7e074144698151674cd21828b65939e275341d547fd4887388a58b5b"` [INFO] [stdout] ddb4f1fd7e074144698151674cd21828b65939e275341d547fd4887388a58b5b