[INFO] updating cached repository https://github.com/srijs/cargo-cross [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] cbb792e7ba4d8d0ce1cf67e764f0df3fd394ecc6 [INFO] testing srijs/cargo-cross against try#41997647ba6a77908f6ef64401414feb00bccf16 for pr-71274 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsrijs%2Fcargo-cross" "/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/srijs/cargo-cross on toolchain 41997647ba6a77908f6ef64401414feb00bccf16 [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/srijs/cargo-cross [INFO] finished tweaking git repo https://github.com/srijs/cargo-cross [INFO] tweaked toml for git repo https://github.com/srijs/cargo-cross written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/srijs/cargo-cross already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [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=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" "+41997647ba6a77908f6ef64401414feb00bccf16" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 61c6f16744d0e23ddc7fc9245d897512920235b4132fa703a894ce2101e9620d [INFO] running `"docker" "start" "-a" "61c6f16744d0e23ddc7fc9245d897512920235b4132fa703a894ce2101e9620d"` [INFO] [stderr] Compiling cc v1.0.22 [INFO] [stderr] Compiling proc-macro2 v0.4.13 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling utf8-ranges v1.0.1 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling serde v1.0.75 [INFO] [stderr] Compiling regex v1.0.4 [INFO] [stderr] Compiling ryu v0.2.6 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling rand_core v0.2.1 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling ringtail v0.1.1 [INFO] [stderr] Compiling remove_dir_all v0.5.1 [INFO] [stderr] Compiling termcolor v1.0.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling platforms v0.1.4 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling memchr v2.0.2 [INFO] [stderr] Compiling termios v0.2.2 [INFO] [stderr] Compiling xattr v0.2.2 [INFO] [stderr] Compiling directories v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling filetime v0.2.1 [INFO] [stderr] Compiling log v0.4.4 [INFO] [stderr] Compiling socket2 v0.3.7 [INFO] [stderr] Compiling humantime v1.1.1 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling heck v0.3.0 [INFO] [stderr] Compiling clicolors-control v0.2.0 [INFO] [stderr] Compiling aho-corasick v0.6.7 [INFO] [stderr] Compiling bytes v0.4.9 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling tar v0.4.16 [INFO] [stderr] Compiling smallvec v0.6.5 [INFO] [stderr] Compiling lock_api v0.1.3 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling parking_lot_core v0.2.14 [INFO] [stderr] Compiling http v0.1.10 [INFO] [stderr] Compiling openssl-sys v0.9.35 [INFO] [stderr] Compiling libz-sys v1.0.20 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling curl-sys v0.4.8 [INFO] [stderr] Compiling lzma-sys v0.1.10 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Compiling parking_lot v0.6.3 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling tempfile v3.0.3 [INFO] [stderr] Compiling xz2 v0.1.5 [INFO] [stderr] Compiling backtrace v0.3.9 [INFO] [stderr] Compiling env_logger v0.5.12 [INFO] [stderr] Compiling console v0.6.1 [INFO] [stderr] Compiling indicatif v0.9.0 [INFO] [stderr] Compiling synstructure v0.9.0 [INFO] [stderr] Compiling serde_derive v1.0.75 [INFO] [stderr] Compiling structopt-derive v0.2.10 [INFO] [stderr] Compiling failure_derive v0.1.2 [INFO] [stderr] Compiling failure v0.1.2 [INFO] [stderr] Compiling structopt v0.2.10 [INFO] [stderr] Compiling serde_json v1.0.26 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling curl v0.4.14 [INFO] [stderr] Compiling chttp v0.1.5 [INFO] [stderr] Compiling cargo-cross v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 46s [INFO] running `"docker" "inspect" "61c6f16744d0e23ddc7fc9245d897512920235b4132fa703a894ce2101e9620d"` [INFO] running `"docker" "rm" "-f" "61c6f16744d0e23ddc7fc9245d897512920235b4132fa703a894ce2101e9620d"` [INFO] [stdout] 61c6f16744d0e23ddc7fc9245d897512920235b4132fa703a894ce2101e9620d [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=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" "+41997647ba6a77908f6ef64401414feb00bccf16" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ccd1ac933dca1db0cebdc8b2e70cce231f5869270c9ca5a1eb90deb22b696813 [INFO] running `"docker" "start" "-a" "ccd1ac933dca1db0cebdc8b2e70cce231f5869270c9ca5a1eb90deb22b696813"` [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Compiling ascii v0.7.1 [INFO] [stderr] Compiling predicates-core v0.9.0 [INFO] [stderr] Compiling escargot v0.3.1 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling linked-hash-map v0.5.1 [INFO] [stderr] Compiling predicates-tree v0.9.0 [INFO] [stderr] Compiling combine v3.5.1 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling float-cmp v0.4.0 [INFO] [stderr] Compiling predicates v0.9.0 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling assert_cmd v0.9.1 [INFO] [stderr] Compiling toml_edit v0.1.3 [INFO] [stderr] error[E0502]: cannot borrow `v` as immutable because it is also borrowed as mutable [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/toml_edit-0.1.3/src/index.rs:55:65 [INFO] [stderr] | [INFO] [stderr] 44 | fn index_or_insert<'v>(&self, v: &'v mut Item) -> &'v mut Item { [INFO] [stderr] | -- lifetime `'v` defined here [INFO] [stderr] 45 | / match *v { [INFO] [stderr] 46 | | Item::ArrayOfTables(ref mut vec) => { [INFO] [stderr] 47 | | vec.values.get_mut(*self).expect("index out of bounds") [INFO] [stderr] 48 | | } [INFO] [stderr] 49 | | Item::Value(ref mut a) if a.is_array() => a [INFO] [stderr] | | --------- mutable borrow occurs here [INFO] [stderr] ... | [INFO] [stderr] 55 | | _ => panic!("cannot access index {} in {:?}", self, v), [INFO] [stderr] | | ^ immutable borrow occurs here [INFO] [stderr] 56 | | } [INFO] [stderr] | |_________- returning this value requires that `v.0` is borrowed for `'v` [INFO] [stderr] [INFO] [stderr] error[E0502]: cannot borrow `v` as immutable because it is also borrowed as mutable [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/toml_edit-0.1.3/src/index.rs:88:63 [INFO] [stderr] | [INFO] [stderr] 70 | fn index_or_insert<'v>(&self, v: &'v mut Item) -> &'v mut Item { [INFO] [stderr] | -- lifetime `'v` defined here [INFO] [stderr] ... [INFO] [stderr] 77 | / match *v { [INFO] [stderr] 78 | | Item::Table(ref mut t) => t.entry(self).or_insert(Item::None), [INFO] [stderr] 79 | | Item::Value(ref mut v) if v.is_inline_table() => { [INFO] [stderr] | | --------- mutable borrow occurs here [INFO] [stderr] 80 | | &mut v [INFO] [stderr] ... | [INFO] [stderr] 88 | | _ => panic!("cannot access key {} in {:?}", self, v), [INFO] [stderr] | | ^ immutable borrow occurs here [INFO] [stderr] 89 | | } [INFO] [stderr] | |_________- returning this value requires that `v.0` is borrowed for `'v` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0502`. [INFO] [stderr] error: could not compile `toml_edit`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "ccd1ac933dca1db0cebdc8b2e70cce231f5869270c9ca5a1eb90deb22b696813"` [INFO] running `"docker" "rm" "-f" "ccd1ac933dca1db0cebdc8b2e70cce231f5869270c9ca5a1eb90deb22b696813"` [INFO] [stdout] ccd1ac933dca1db0cebdc8b2e70cce231f5869270c9ca5a1eb90deb22b696813