[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] testing felix-hedenstrom/ngramfiller against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffelix-hedenstrom%2Fngramfiller" "/workspace/builds/worker-7/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/felix-hedenstrom/ngramfiller on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "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-7/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" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stdout] f22b2964178208ab4982d193389d9c8c74f593ef316d4e5606feb2355891f6c2 [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" "f22b2964178208ab4982d193389d9c8c74f593ef316d4e5606feb2355891f6c2"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling cpython v0.2.1 (https://github.com/dgrunwald/rust-cpython#c5cfd32c) [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] [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; 3 warnings emitted [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" "f22b2964178208ab4982d193389d9c8c74f593ef316d4e5606feb2355891f6c2"` [INFO] running `"docker" "rm" "-f" "f22b2964178208ab4982d193389d9c8c74f593ef316d4e5606feb2355891f6c2"` [INFO] [stdout] f22b2964178208ab4982d193389d9c8c74f593ef316d4e5606feb2355891f6c2