[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#cb40c25f6aebb637163d26bf76a680ed6e5d1eda for pr-156157-1
[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] 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] validating manifest of git repo https://github.com/nnao45/dummy-cargo-toml-creater on toolchain cb40c25f6aebb637163d26bf76a680ed6e5d1eda
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cb40c25f6aebb637163d26bf76a680ed6e5d1eda" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+cb40c25f6aebb637163d26bf76a680ed6e5d1eda" "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]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded linked-hash-map v0.5.2
[INFO] [stderr]   Downloaded byteorder v1.3.2
[INFO] [stderr]   Downloaded toml_edit v0.1.3
[INFO] [stderr]   Downloaded either v1.5.2
[INFO] [stderr]   Downloaded memchr v2.2.0
[INFO] [stderr]   Downloaded time v0.1.42
[INFO] [stderr]   Downloaded cargo_toml v0.6.4
[INFO] [stderr]   Downloaded redox_syscall v0.1.54
[INFO] [stderr]   Downloaded ascii v0.9.1
[INFO] [stderr]   Downloaded num-integer v0.1.41
[INFO] [stderr]   Downloaded autocfg v0.1.4
[INFO] [stderr]   Downloaded serde_derive v1.0.92
[INFO] [stderr]   Downloaded toml v0.4.10
[INFO] [stderr]   Downloaded num-traits v0.2.8
[INFO] [stderr]   Downloaded toml v0.5.1
[INFO] [stderr]   Downloaded serde v1.0.92
[INFO] [stderr]   Downloaded chrono v0.4.6
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cb40c25f6aebb637163d26bf76a680ed6e5d1eda" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 226679a49878445857c1b5cc65e7a4476d607a005072b0b619f6ba1a3a04dfb2
[INFO] running `Command { std: "docker" "start" "-a" "226679a49878445857c1b5cc65e7a4476d607a005072b0b619f6ba1a3a04dfb2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "226679a49878445857c1b5cc65e7a4476d607a005072b0b619f6ba1a3a04dfb2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "226679a49878445857c1b5cc65e7a4476d607a005072b0b619f6ba1a3a04dfb2", kill_on_drop: false }`
[INFO] [stdout] 226679a49878445857c1b5cc65e7a4476d607a005072b0b619f6ba1a3a04dfb2
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cb40c25f6aebb637163d26bf76a680ed6e5d1eda" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4bd95d07f0f6e30cb85f5397eb6da3e3b3c07ba917a1aee5f6210cb0e75b6c90
[INFO] running `Command { std: "docker" "start" "-a" "4bd95d07f0f6e30cb85f5397eb6da3e3b3c07ba917a1aee5f6210cb0e75b6c90", 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 libc v0.2.58
[INFO] [stderr]    Compiling serde v1.0.92
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling byteorder v1.3.2
[INFO] [stderr]    Compiling syn v0.15.35
[INFO] [stderr]    Compiling memchr v2.2.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]     Checking time v0.1.42
[INFO] [stderr]     Checking combine v3.8.1
[INFO] [stderr]    Compiling quote v0.6.12
[INFO] [stderr]     Checking chrono v0.4.6
[INFO] [stderr]     Checking toml v0.4.10
[INFO] [stderr]     Checking toml v0.5.1
[INFO] [stderr]    Compiling serde_derive v1.0.92
[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-1949cf8c6b5b557f/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/index.crates.io-1949cf8c6b5b557f/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] For more information about this error, try `rustc --explain E0502`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `toml_edit` (lib) due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "4bd95d07f0f6e30cb85f5397eb6da3e3b3c07ba917a1aee5f6210cb0e75b6c90", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4bd95d07f0f6e30cb85f5397eb6da3e3b3c07ba917a1aee5f6210cb0e75b6c90", kill_on_drop: false }`
[INFO] [stdout] 4bd95d07f0f6e30cb85f5397eb6da3e3b3c07ba917a1aee5f6210cb0e75b6c90
