[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#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnnao45%2Fdummy-cargo-toml-creater" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nnao45/dummy-cargo-toml-creater on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "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-4-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "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 toml_edit v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0d3d25198f6e16f0c7f9f79b99296074b2d45f8fdb2a0e426fde15ec6499601e [INFO] running `Command { std: "docker" "start" "-a" "0d3d25198f6e16f0c7f9f79b99296074b2d45f8fdb2a0e426fde15ec6499601e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d3d25198f6e16f0c7f9f79b99296074b2d45f8fdb2a0e426fde15ec6499601e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d3d25198f6e16f0c7f9f79b99296074b2d45f8fdb2a0e426fde15ec6499601e", kill_on_drop: false }` [INFO] [stdout] 0d3d25198f6e16f0c7f9f79b99296074b2d45f8fdb2a0e426fde15ec6499601e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=forbid" "-e" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d815d90d821990e90fa58c1aac063677439577d363779723b8682b7dc9908ebd [INFO] running `Command { std: "docker" "start" "-a" "d815d90d821990e90fa58c1aac063677439577d363779723b8682b7dc9908ebd", 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 libc v0.2.58 [INFO] [stderr] Compiling serde v1.0.92 [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] Compiling quote v0.6.12 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking ascii v0.9.1 [INFO] [stderr] Checking either v1.5.2 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Checking linked-hash-map v0.5.2 [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" "d815d90d821990e90fa58c1aac063677439577d363779723b8682b7dc9908ebd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d815d90d821990e90fa58c1aac063677439577d363779723b8682b7dc9908ebd", kill_on_drop: false }` [INFO] [stdout] d815d90d821990e90fa58c1aac063677439577d363779723b8682b7dc9908ebd [INFO] checking nnao45/dummy-cargo-toml-creater against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnnao45%2Fdummy-cargo-toml-creater" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nnao45/dummy-cargo-toml-creater on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "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-4-tc2/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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 571dbb4683b60955226fe5d26b174e261fb8167e6847aaf40f696f2149e73a70 [INFO] running `Command { std: "docker" "start" "-a" "571dbb4683b60955226fe5d26b174e261fb8167e6847aaf40f696f2149e73a70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "571dbb4683b60955226fe5d26b174e261fb8167e6847aaf40f696f2149e73a70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "571dbb4683b60955226fe5d26b174e261fb8167e6847aaf40f696f2149e73a70", kill_on_drop: false }` [INFO] [stdout] 571dbb4683b60955226fe5d26b174e261fb8167e6847aaf40f696f2149e73a70 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 703ed0eca5d38be66f563a0486789b4665f47cf9f77a652dea3d3318f019994c [INFO] running `Command { std: "docker" "start" "-a" "703ed0eca5d38be66f563a0486789b4665f47cf9f77a652dea3d3318f019994c", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "703ed0eca5d38be66f563a0486789b4665f47cf9f77a652dea3d3318f019994c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "703ed0eca5d38be66f563a0486789b4665f47cf9f77a652dea3d3318f019994c", kill_on_drop: false }` [INFO] [stdout] 703ed0eca5d38be66f563a0486789b4665f47cf9f77a652dea3d3318f019994c