[INFO] cloning repository https://github.com/nnao45/dummy-cargo-toml-creater [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nnao45/dummy-cargo-toml-creater" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnnao45%2Fdummy-cargo-toml-creater", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnnao45%2Fdummy-cargo-toml-creater'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8ad5f88ce8507cc56ac22c8f9f5ed8cb8f498a9a [INFO] checking nnao45/dummy-cargo-toml-creater against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnnao45%2Fdummy-cargo-toml-creater" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nnao45/dummy-cargo-toml-creater on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nnao45/dummy-cargo-toml-creater [INFO] finished tweaking git repo https://github.com/nnao45/dummy-cargo-toml-creater [INFO] tweaked toml for git repo https://github.com/nnao45/dummy-cargo-toml-creater written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/nnao45/dummy-cargo-toml-creater already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cargo_toml v0.6.4 [INFO] [stderr] Downloaded syn v0.15.35 [INFO] [stderr] Downloaded toml_edit v0.1.3 [INFO] [stderr] Downloaded ascii v0.9.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 067b0b2023956a4e7b6d989774bba5ec4c03f5ad2568f6ae1439359e32b5e453 [INFO] running `Command { std: "docker" "start" "-a" "067b0b2023956a4e7b6d989774bba5ec4c03f5ad2568f6ae1439359e32b5e453", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "067b0b2023956a4e7b6d989774bba5ec4c03f5ad2568f6ae1439359e32b5e453", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "067b0b2023956a4e7b6d989774bba5ec4c03f5ad2568f6ae1439359e32b5e453", kill_on_drop: false }` [INFO] [stdout] 067b0b2023956a4e7b6d989774bba5ec4c03f5ad2568f6ae1439359e32b5e453 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 61c3f8db9036723564b31fc82ae50fc5cb348a1992d257a27a5466141c7cebfd [INFO] running `Command { std: "docker" "start" "-a" "61c3f8db9036723564b31fc82ae50fc5cb348a1992d257a27a5466141c7cebfd", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling serde v1.0.92 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling syn v0.15.35 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking either v1.5.2 [INFO] [stderr] Checking ascii v0.9.1 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Checking combine v3.8.1 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Compiling serde_derive v1.0.92 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking toml v0.5.1 [INFO] [stderr] Checking toml_edit v0.1.3 [INFO] [stderr] Checking cargo_toml v0.6.4 [INFO] [stdout] error[E0502]: cannot borrow `v` as immutable because it is also borrowed as mutable [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/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] = note: this error originates in the macro `$crate::const_format_args` which comes from the expansion of the macro `panic` (in Nightly builds, run with -Z macro-backtrace for more info) [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/index.crates.io-6f17d22bba15001f/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] = note: this error originates in the macro `$crate::const_format_args` which comes from the expansion of the macro `panic` (in Nightly builds, run with -Z macro-backtrace for more info) [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` (lib) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "61c3f8db9036723564b31fc82ae50fc5cb348a1992d257a27a5466141c7cebfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61c3f8db9036723564b31fc82ae50fc5cb348a1992d257a27a5466141c7cebfd", kill_on_drop: false }` [INFO] [stdout] 61c3f8db9036723564b31fc82ae50fc5cb348a1992d257a27a5466141c7cebfd