[INFO] fetching crate yaml-peg 1.0.6... [INFO] checking yaml-peg-1.0.6 against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] extracting crate yaml-peg 1.0.6 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate yaml-peg 1.0.6 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 yaml-peg 1.0.6 [INFO] finished tweaking crates.io crate yaml-peg 1.0.6 [INFO] tweaked toml for crates.io crate yaml-peg 1.0.6 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 1e35e63bef21445b5ab79c2fd54e16ee4e1ea62c654fa2eca2221f2dad4f4757 [INFO] running `Command { std: "docker" "start" "-a" "1e35e63bef21445b5ab79c2fd54e16ee4e1ea62c654fa2eca2221f2dad4f4757", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e35e63bef21445b5ab79c2fd54e16ee4e1ea62c654fa2eca2221f2dad4f4757", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e35e63bef21445b5ab79c2fd54e16ee4e1ea62c654fa2eca2221f2dad4f4757", kill_on_drop: false }` [INFO] [stdout] 1e35e63bef21445b5ab79c2fd54e16ee4e1ea62c654fa2eca2221f2dad4f4757 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 3a7c7cd0628b538f0371e3581542c1730894bcd78f403e1ce2c6b9fd2003bee0 [INFO] running `Command { std: "docker" "start" "-a" "3a7c7cd0628b538f0371e3581542c1730894bcd78f403e1ce2c6b9fd2003bee0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking griddle v0.5.2 [INFO] [stderr] Checking ritelinked v0.3.2 [INFO] [stderr] Checking yaml-peg v1.0.6 (/opt/rustwide/workdir) [INFO] [stdout] error[E0499]: cannot borrow `*self` as mutable more than once at a time [INFO] [stdout] --> src/parser/base/grammar.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 188 | let chomp = self.chomp(); [INFO] [stdout] | ---- first mutable borrow occurs here [INFO] [stdout] 189 | self.ws(TakeOpt::More(0))?; [INFO] [stdout] | ^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 192 | } [INFO] [stdout] | - first borrow might be used here, when `chomp` is dropped and runs the destructor for type `impl Fn(std::string::String) -> std::string::String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*self` as mutable more than once at a time [INFO] [stdout] --> src/parser/base/grammar.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 188 | let chomp = self.chomp(); [INFO] [stdout] | ---- first mutable borrow occurs here [INFO] [stdout] 189 | self.ws(TakeOpt::More(0))?; [INFO] [stdout] 190 | let s = self.string_wrapped(level, b'\n', true)?; [INFO] [stdout] | ^^^^ second mutable borrow occurs here [INFO] [stdout] 191 | Ok(chomp(s)) [INFO] [stdout] | ----- first borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*self` as mutable more than once at a time [INFO] [stdout] --> src/parser/base/grammar.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 197 | let chomp = self.chomp(); [INFO] [stdout] | ---- first mutable borrow occurs here [INFO] [stdout] 198 | self.ws(TakeOpt::More(0))?; [INFO] [stdout] | ^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 201 | } [INFO] [stdout] | - first borrow might be used here, when `chomp` is dropped and runs the destructor for type `impl Fn(std::string::String) -> std::string::String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*self` as mutable more than once at a time [INFO] [stdout] --> src/parser/base/grammar.rs:199:17 [INFO] [stdout] | [INFO] [stdout] 197 | let chomp = self.chomp(); [INFO] [stdout] | ---- first mutable borrow occurs here [INFO] [stdout] 198 | self.ws(TakeOpt::More(0))?; [INFO] [stdout] 199 | let s = self.string_wrapped(level, b' ', false)?; [INFO] [stdout] | ^^^^ second mutable borrow occurs here [INFO] [stdout] 200 | Ok(chomp(s)) [INFO] [stdout] | ----- first borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*self` as mutable more than once at a time [INFO] [stdout] --> src/parser/base/grammar.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 188 | let chomp = self.chomp(); [INFO] [stdout] | ---- first mutable borrow occurs here [INFO] [stdout] 189 | self.ws(TakeOpt::More(0))?; [INFO] [stdout] | ^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 192 | } [INFO] [stdout] | - first borrow might be used here, when `chomp` is dropped and runs the destructor for type `impl Fn(std::string::String) -> std::string::String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*self` as mutable more than once at a time [INFO] [stdout] --> src/parser/base/grammar.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 188 | let chomp = self.chomp(); [INFO] [stdout] | ---- first mutable borrow occurs here [INFO] [stdout] 189 | self.ws(TakeOpt::More(0))?; [INFO] [stdout] 190 | let s = self.string_wrapped(level, b'\n', true)?; [INFO] [stdout] | ^^^^ second mutable borrow occurs here [INFO] [stdout] 191 | Ok(chomp(s)) [INFO] [stdout] | ----- first borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*self` as mutable more than once at a time [INFO] [stdout] --> src/parser/base/grammar.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 197 | let chomp = self.chomp(); [INFO] [stdout] | ---- first mutable borrow occurs here [INFO] [stdout] 198 | self.ws(TakeOpt::More(0))?; [INFO] [stdout] | ^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 201 | } [INFO] [stdout] | - first borrow might be used here, when `chomp` is dropped and runs the destructor for type `impl Fn(std::string::String) -> std::string::String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*self` as mutable more than once at a time [INFO] [stdout] --> src/parser/base/grammar.rs:199:17 [INFO] [stdout] | [INFO] [stdout] 197 | let chomp = self.chomp(); [INFO] [stdout] | ---- first mutable borrow occurs here [INFO] [stdout] 198 | self.ws(TakeOpt::More(0))?; [INFO] [stdout] 199 | let s = self.string_wrapped(level, b' ', false)?; [INFO] [stdout] | ^^^^ second mutable borrow occurs here [INFO] [stdout] 200 | Ok(chomp(s)) [INFO] [stdout] | ----- first borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stderr] error: could not compile `yaml-peg` (lib) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stderr] error: could not compile `yaml-peg` (lib test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "3a7c7cd0628b538f0371e3581542c1730894bcd78f403e1ce2c6b9fd2003bee0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a7c7cd0628b538f0371e3581542c1730894bcd78f403e1ce2c6b9fd2003bee0", kill_on_drop: false }` [INFO] [stdout] 3a7c7cd0628b538f0371e3581542c1730894bcd78f403e1ce2c6b9fd2003bee0