[INFO] cloning repository https://github.com/srijs/cargo-cross [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/srijs/cargo-cross" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsrijs%2Fcargo-cross", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsrijs%2Fcargo-cross'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cbb792e7ba4d8d0ce1cf67e764f0df3fd394ecc6 [INFO] checking srijs/cargo-cross against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsrijs%2Fcargo-cross" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/srijs/cargo-cross on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-4/source/Cargo.toml [INFO] crate git repo https://github.com/srijs/cargo-cross already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded aho-corasick v0.6.7 [INFO] [stderr] Downloaded curl v0.4.14 [INFO] [stderr] Downloaded xz2 v0.1.5 [INFO] [stderr] Downloaded combine v3.5.1 [INFO] [stderr] Downloaded structopt-derive v0.2.10 [INFO] [stderr] Downloaded structopt v0.2.10 [INFO] [stderr] Downloaded curl-sys v0.4.8 [INFO] [stderr] Downloaded assert_cmd v0.9.1 [INFO] [stderr] Downloaded predicates-tree v0.9.0 [INFO] [stderr] Downloaded chttp v0.1.5 [INFO] [stderr] Downloaded try_from v0.2.2 [INFO] [stderr] Downloaded predicates v0.9.0 [INFO] [stderr] Downloaded toml_edit v0.1.3 [INFO] [stderr] Downloaded lzma-sys v0.1.10 [INFO] [stderr] Downloaded directories v1.0.1 [INFO] [stderr] Downloaded ringtail v0.1.1 [INFO] [stderr] Downloaded platforms v0.1.4 [INFO] [stderr] Downloaded predicates-core v0.9.0 [INFO] [stderr] Downloaded cargo-toml-builder v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] df689d4a9f03a85962e74d6cf4d166e327e98f665f97c17cb2ce4df128f42259 [INFO] running `Command { std: "docker" "start" "-a" "df689d4a9f03a85962e74d6cf4d166e327e98f665f97c17cb2ce4df128f42259", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df689d4a9f03a85962e74d6cf4d166e327e98f665f97c17cb2ce4df128f42259", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df689d4a9f03a85962e74d6cf4d166e327e98f665f97c17cb2ce4df128f42259", kill_on_drop: false }` [INFO] [stdout] df689d4a9f03a85962e74d6cf4d166e327e98f665f97c17cb2ce4df128f42259 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=forbid" "-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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d305d3070ed7f5b50db34f03eee65908110b5b96dd0c1fa5ed82a421c725640f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d305d3070ed7f5b50db34f03eee65908110b5b96dd0c1fa5ed82a421c725640f", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.22 [INFO] [stderr] Compiling pkg-config v0.3.13 [INFO] [stderr] Compiling version_check v0.1.4 [INFO] [stderr] Checking cfg-if v0.1.5 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Checking utf8-ranges v1.0.1 [INFO] [stderr] Compiling serde v1.0.75 [INFO] [stderr] Checking byteorder v1.2.6 [INFO] [stderr] Compiling regex v1.0.4 [INFO] [stderr] Checking itoa v0.4.2 [INFO] [stderr] Compiling failure_derive v0.1.2 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Checking predicates-core v0.9.0 [INFO] [stderr] Checking ascii v0.7.1 [INFO] [stderr] Compiling escargot v0.3.1 [INFO] [stderr] Checking rand_core v0.2.1 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking termcolor v1.0.2 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking normalize-line-endings v0.2.2 [INFO] [stderr] Checking ringtail v0.1.1 [INFO] [stderr] Checking remove_dir_all v0.5.1 [INFO] [stderr] Checking treeline v0.1.0 [INFO] [stderr] Checking platforms v0.1.4 [INFO] [stderr] Checking try_from v0.2.2 [INFO] [stderr] Checking sha1 v0.6.0 [INFO] [stderr] Checking memchr v2.0.2 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking termios v0.2.2 [INFO] [stderr] Checking xattr v0.2.2 [INFO] [stderr] Checking directories v1.0.1 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Compiling filetime v0.2.1 [INFO] [stderr] Checking socket2 v0.3.7 [INFO] [stderr] Checking log v0.4.4 [INFO] [stderr] Checking clicolors-control v0.2.0 [INFO] [stderr] Checking regex-syntax v0.6.2 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Checking heck v0.3.0 [INFO] [stderr] Checking humantime v1.1.1 [INFO] [stderr] Checking predicates-tree v0.9.0 [INFO] [stderr] Compiling proc-macro2 v0.4.13 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Checking bytes v0.4.9 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Checking aho-corasick v0.6.7 [INFO] [stderr] Checking combine v3.5.1 [INFO] [stderr] Checking lock_api v0.1.3 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking parking_lot_core v0.2.14 [INFO] [stderr] Checking tar v0.4.16 [INFO] [stderr] Checking parking_lot v0.6.3 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking http v0.1.10 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Compiling libz-sys v1.0.20 [INFO] [stderr] Compiling openssl-sys v0.9.35 [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 syn v0.14.9 [INFO] [stderr] Checking num-integer v0.1.39 [INFO] [stderr] Checking float-cmp v0.4.0 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking tempfile v3.0.3 [INFO] [stderr] Checking xz2 v0.1.5 [INFO] [stderr] Checking backtrace v0.3.9 [INFO] [stderr] Checking regex v0.2.11 [INFO] [stderr] Checking env_logger v0.5.12 [INFO] [stderr] Checking predicates v0.9.0 [INFO] [stderr] Checking console v0.6.1 [INFO] [stderr] Checking 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] Checking failure v0.1.2 [INFO] [stderr] Checking structopt v0.2.10 [INFO] [stderr] Checking toml_edit v0.1.3 [INFO] [stdout] error[E0502]: cannot borrow `v` as immutable because it is also borrowed as mutable [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/toml_edit-0.1.3/src/index.rs:55:65 [INFO] [stdout] | [INFO] [stdout] 44 | fn index_or_insert<'v>(&self, v: &'v mut Item) -> &'v mut Item { [INFO] [stdout] | -- lifetime `'v` defined here [INFO] [stdout] 45 | / match *v { [INFO] [stdout] 46 | | Item::ArrayOfTables(ref mut vec) => { [INFO] [stdout] 47 | | vec.values.get_mut(*self).expect("index out of bounds") [INFO] [stdout] 48 | | } [INFO] [stdout] 49 | | Item::Value(ref mut a) if a.is_array() => a [INFO] [stdout] | | --------- mutable borrow occurs here [INFO] [stdout] ... | [INFO] [stdout] 55 | | _ => panic!("cannot access index {} in {:?}", self, v), [INFO] [stdout] | | ^ immutable borrow occurs here [INFO] [stdout] 56 | | } [INFO] [stdout] | |_________- returning this value requires that `v.0` is borrowed for `'v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `v` as immutable because it is also borrowed as mutable [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/toml_edit-0.1.3/src/index.rs:88:63 [INFO] [stdout] | [INFO] [stdout] 70 | fn index_or_insert<'v>(&self, v: &'v mut Item) -> &'v mut Item { [INFO] [stdout] | -- lifetime `'v` defined here [INFO] [stdout] ... [INFO] [stdout] 77 | / match *v { [INFO] [stdout] 78 | | Item::Table(ref mut t) => t.entry(self).or_insert(Item::None), [INFO] [stdout] 79 | | Item::Value(ref mut v) if v.is_inline_table() => { [INFO] [stdout] | | --------- mutable borrow occurs here [INFO] [stdout] 80 | | &mut v [INFO] [stdout] ... | [INFO] [stdout] 88 | | _ => panic!("cannot access key {} in {:?}", self, v), [INFO] [stdout] | | ^ immutable borrow occurs here [INFO] [stdout] 89 | | } [INFO] [stdout] | |_________- returning this value requires that `v.0` is borrowed for `'v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stderr] error: could not compile `toml_edit` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "d305d3070ed7f5b50db34f03eee65908110b5b96dd0c1fa5ed82a421c725640f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d305d3070ed7f5b50db34f03eee65908110b5b96dd0c1fa5ed82a421c725640f", kill_on_drop: false }` [INFO] [stdout] d305d3070ed7f5b50db34f03eee65908110b5b96dd0c1fa5ed82a421c725640f