[INFO] cloning repository https://github.com/rohankumardubey/cargo-bump [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rohankumardubey/cargo-bump" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frohankumardubey%2Fcargo-bump", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frohankumardubey%2Fcargo-bump'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ad3860d18a2f61f9d73418cc2dbe8f0baa2d821a [INFO] testing rohankumardubey/cargo-bump against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frohankumardubey%2Fcargo-bump" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rohankumardubey/cargo-bump [INFO] finished tweaking git repo https://github.com/rohankumardubey/cargo-bump [INFO] tweaked toml for git repo https://github.com/rohankumardubey/cargo-bump written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rohankumardubey/cargo-bump on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rohankumardubey/cargo-bump 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded time v0.1.42 [INFO] [stderr] Downloaded redox_termios v0.1.1 [INFO] [stderr] Downloaded autocfg v0.1.2 [INFO] [stderr] Downloaded error-chain v0.12.0 [INFO] [stderr] Downloaded itoa v0.4.3 [INFO] [stderr] Downloaded cargo_metadata v0.7.0 [INFO] [stderr] Downloaded cc v1.0.28 [INFO] [stderr] Downloaded serde v1.0.85 [INFO] [stderr] Downloaded chrono v0.4.6 [INFO] [stderr] Downloaded combine v3.6.6 [INFO] [stderr] Downloaded serde_derive v1.0.85 [INFO] [stderr] Downloaded serde_json v1.0.36 [INFO] [stderr] Downloaded clap v2.32.0 [INFO] [stderr] Downloaded ryu v0.2.7 [INFO] [stderr] Downloaded termion v1.5.1 [INFO] [stderr] Downloaded unicode-width v0.1.5 [INFO] [stderr] Downloaded ascii v0.9.1 [INFO] [stderr] Downloaded memchr v2.1.3 [INFO] [stderr] Downloaded linked-hash-map v0.5.1 [INFO] [stderr] Downloaded rustc-demangle v0.1.13 [INFO] [stderr] Downloaded backtrace-sys v0.1.28 [INFO] [stderr] Downloaded backtrace v0.3.13 [INFO] [stderr] Downloaded quote v0.6.11 [INFO] [stderr] Downloaded atty v0.2.11 [INFO] [stderr] Downloaded winapi v0.3.6 [INFO] [stderr] Downloaded byteorder v1.3.0 [INFO] [stderr] Downloaded textwrap v0.10.0 [INFO] [stderr] Downloaded proc-macro2 v0.4.26 [INFO] [stderr] Downloaded toml_edit v0.1.3 [INFO] [stderr] Downloaded vec_map v0.8.1 [INFO] [stderr] Downloaded redox_syscall v0.1.51 [INFO] [stderr] Downloaded strsim v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f6348a043ad70afaec54449b8733c564aa22d1872107e544800c79568fb1ae11 [INFO] running `Command { std: "docker" "start" "-a" "f6348a043ad70afaec54449b8733c564aa22d1872107e544800c79568fb1ae11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f6348a043ad70afaec54449b8733c564aa22d1872107e544800c79568fb1ae11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6348a043ad70afaec54449b8733c564aa22d1872107e544800c79568fb1ae11", kill_on_drop: false }` [INFO] [stdout] f6348a043ad70afaec54449b8733c564aa22d1872107e544800c79568fb1ae11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c4b89ed7fffb8e6d5b3997964aaac7981f615e8875341ddb7ac0ea907134b67c [INFO] running `Command { std: "docker" "start" "-a" "c4b89ed7fffb8e6d5b3997964aaac7981f615e8875341ddb7ac0ea907134b67c", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.47 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling cc v1.0.28 [INFO] [stderr] Compiling proc-macro2 v0.4.26 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling serde v1.0.85 [INFO] [stderr] Compiling memchr v2.1.3 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling byteorder v1.3.0 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling rustc-demangle v0.1.13 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling ascii v0.9.1 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling linked-hash-map v0.5.1 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling backtrace v0.3.13 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling combine v3.6.6 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling error-chain v0.12.0 [INFO] [stderr] Compiling serde_json v1.0.36 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling serde_derive v1.0.85 [INFO] [stderr] Compiling toml_edit v0.1.3 [INFO] [stderr] Compiling cargo_metadata v0.7.0 [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" "c4b89ed7fffb8e6d5b3997964aaac7981f615e8875341ddb7ac0ea907134b67c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4b89ed7fffb8e6d5b3997964aaac7981f615e8875341ddb7ac0ea907134b67c", kill_on_drop: false }` [INFO] [stdout] c4b89ed7fffb8e6d5b3997964aaac7981f615e8875341ddb7ac0ea907134b67c