[INFO] fetching crate spirt 0.3.0... [INFO] checking spirt-0.3.0 against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] extracting crate spirt 0.3.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate spirt 0.3.0 on toolchain 23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate spirt 0.3.0 [INFO] finished tweaking crates.io crate spirt 0.3.0 [INFO] tweaked toml for crates.io crate spirt 0.3.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate spirt 0.3.0 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" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] db2e658825be0b5a73f143af6840ca8985d736b6c0ad06d587a2637119a25197 [INFO] running `Command { std: "docker" "start" "-a" "db2e658825be0b5a73f143af6840ca8985d736b6c0ad06d587a2637119a25197", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db2e658825be0b5a73f143af6840ca8985d736b6c0ad06d587a2637119a25197", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db2e658825be0b5a73f143af6840ca8985d736b6c0ad06d587a2637119a25197", kill_on_drop: false }` [INFO] [stdout] db2e658825be0b5a73f143af6840ca8985d736b6c0ad06d587a2637119a25197 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1db9bc9162cd9f7f192c88b8637dbfd925ceae74b753ac314fa45dfd2a76982 [INFO] running `Command { std: "docker" "start" "-a" "e1db9bc9162cd9f7f192c88b8637dbfd925ceae74b753ac314fa45dfd2a76982", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_json v1.0.96 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling spirt v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking either v1.8.0 [INFO] [stderr] Checking itoa v1.0.4 [INFO] [stderr] Checking internal-iterator v0.2.0 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Checking bytemuck v1.12.3 [INFO] [stderr] Checking longest-increasing-subsequence v0.1.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking elsa v1.7.0 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stdout] warning: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/print/mod.rs:230:41 [INFO] [stdout] | [INFO] [stdout] 230 | const ANCHOR_ALIGNMENT_NAME_PREFIX: &str = "AA."; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #115010 [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | future_incompatible, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(elided_lifetimes_in_associated_constant)]` implied by `#[warn(future_incompatible)]` [INFO] [stdout] help: use the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 230 | const ANCHOR_ALIGNMENT_NAME_PREFIX: &'static str = "AA."; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/print/mod.rs:230:41 [INFO] [stdout] | [INFO] [stdout] 230 | const ANCHOR_ALIGNMENT_NAME_PREFIX: &str = "AA."; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #115010 [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | future_incompatible, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(elided_lifetimes_in_associated_constant)]` implied by `#[warn(future_incompatible)]` [INFO] [stdout] help: use the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 230 | const ANCHOR_ALIGNMENT_NAME_PREFIX: &'static str = "AA."; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/transform.rs:555:21 [INFO] [stdout] | [INFO] [stdout] 548 | match &self.unstructured_cfg { [INFO] [stdout] | ---------------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 554 | for region in rpo { [INFO] [stdout] | --- immutable borrow later used here [INFO] [stdout] 555 | self.at_mut(region).inner_in_place_transform_with(transformer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.unstructured_cfg` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/transform.rs:557:31 [INFO] [stdout] | [INFO] [stdout] 548 | match &self.unstructured_cfg { [INFO] [stdout] | ---------------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 554 | for region in rpo { [INFO] [stdout] | --- immutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 557 | let cfg = self.unstructured_cfg.as_mut().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/transform.rs:555:21 [INFO] [stdout] | [INFO] [stdout] 548 | match &self.unstructured_cfg { [INFO] [stdout] | ---------------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 554 | for region in rpo { [INFO] [stdout] | --- immutable borrow later used here [INFO] [stdout] 555 | self.at_mut(region).inner_in_place_transform_with(transformer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.unstructured_cfg` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/transform.rs:557:31 [INFO] [stdout] | [INFO] [stdout] 548 | match &self.unstructured_cfg { [INFO] [stdout] | ---------------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 554 | for region in rpo { [INFO] [stdout] | --- immutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 557 | let cfg = self.unstructured_cfg.as_mut().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stderr] error: could not compile `spirt` (lib test) due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stderr] error: could not compile `spirt` (lib) due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "e1db9bc9162cd9f7f192c88b8637dbfd925ceae74b753ac314fa45dfd2a76982", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1db9bc9162cd9f7f192c88b8637dbfd925ceae74b753ac314fa45dfd2a76982", kill_on_drop: false }` [INFO] [stdout] e1db9bc9162cd9f7f192c88b8637dbfd925ceae74b753ac314fa45dfd2a76982