[INFO] fetching crate serde-roxmltree 0.6.1... [INFO] checking serde-roxmltree-0.6.1 against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] extracting crate serde-roxmltree 0.6.1 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate serde-roxmltree 0.6.1 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 serde-roxmltree 0.6.1 [INFO] finished tweaking crates.io crate serde-roxmltree 0.6.1 [INFO] tweaked toml for crates.io crate serde-roxmltree 0.6.1 written to /workspace/builds/worker-7-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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] ff05d568a5c146c50ad2866909c5adb02dc6a55ea7539729544dfe9bb6eedee2 [INFO] running `Command { std: "docker" "start" "-a" "ff05d568a5c146c50ad2866909c5adb02dc6a55ea7539729544dfe9bb6eedee2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff05d568a5c146c50ad2866909c5adb02dc6a55ea7539729544dfe9bb6eedee2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff05d568a5c146c50ad2866909c5adb02dc6a55ea7539729544dfe9bb6eedee2", kill_on_drop: false }` [INFO] [stdout] ff05d568a5c146c50ad2866909c5adb02dc6a55ea7539729544dfe9bb6eedee2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 7d58ce908263715aa4e71669a50527956f1fdc16e13b69507c77f334cc16a114 [INFO] running `Command { std: "docker" "start" "-a" "7d58ce908263715aa4e71669a50527956f1fdc16e13b69507c77f334cc16a114", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Checking xmlparser v0.13.5 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Checking roxmltree v0.18.0 [INFO] [stderr] Checking serde-roxmltree v0.6.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0502]: cannot borrow `*self.visited` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/lib.rs:392:22 [INFO] [stdout] | [INFO] [stdout] 391 | source: self.siblings()?, [INFO] [stdout] | ---------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | a temporary with access to the immutable borrow is created here ... [INFO] [stdout] 392 | visited: self.visited, [INFO] [stdout] | ^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] 393 | }) [INFO] [stdout] 394 | } [INFO] [stdout] | - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `ControlFlow, impl Iterator>>` [INFO] [stdout] | [INFO] [stdout] = note: the temporary is part of an expression at the end of a block; [INFO] [stdout] consider forcing this temporary to be dropped sooner, before the block's local variables are dropped [INFO] [stdout] help: for example, you could save the expression's value in a new local variable `x` and then make `x` be the expression at the end of the block [INFO] [stdout] | [INFO] [stdout] 390 ~ let x = visitor.visit_seq(SeqAccess { [INFO] [stdout] 391 | source: self.siblings()?, [INFO] [stdout] 392 | visited: self.visited, [INFO] [stdout] 393 ~ }); x [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self.visited` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/lib.rs:421:22 [INFO] [stdout] | [INFO] [stdout] 420 | source: self.children_and_attributes()?.peekable(), [INFO] [stdout] | ------------------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | a temporary with access to the immutable borrow is created here ... [INFO] [stdout] 421 | visited: self.visited, [INFO] [stdout] | ^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] 422 | }) [INFO] [stdout] 423 | } [INFO] [stdout] | - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `ControlFlow, impl Iterator>>` [INFO] [stdout] | [INFO] [stdout] = note: the temporary is part of an expression at the end of a block; [INFO] [stdout] consider forcing this temporary to be dropped sooner, before the block's local variables are dropped [INFO] [stdout] help: for example, you could save the expression's value in a new local variable `x` and then make `x` be the expression at the end of the block [INFO] [stdout] | [INFO] [stdout] 419 ~ let x = visitor.visit_map(MapAccess { [INFO] [stdout] 420 | source: self.children_and_attributes()?.peekable(), [INFO] [stdout] 421 | visited: self.visited, [INFO] [stdout] 422 ~ }); x [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self.visited` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/lib.rs:448:22 [INFO] [stdout] | [INFO] [stdout] 447 | source: self.children_and_attributes()?, [INFO] [stdout] | ------------------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | a temporary with access to the immutable borrow is created here ... [INFO] [stdout] 448 | visited: self.visited, [INFO] [stdout] | ^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] 449 | }) [INFO] [stdout] 450 | } [INFO] [stdout] | - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `ControlFlow, impl Iterator>>` [INFO] [stdout] | [INFO] [stdout] = note: the temporary is part of an expression at the end of a block; [INFO] [stdout] consider forcing this temporary to be dropped sooner, before the block's local variables are dropped [INFO] [stdout] help: for example, you could save the expression's value in a new local variable `x` and then make `x` be the expression at the end of the block [INFO] [stdout] | [INFO] [stdout] 446 ~ let x = visitor.visit_enum(EnumAccess { [INFO] [stdout] 447 | source: self.children_and_attributes()?, [INFO] [stdout] 448 | visited: self.visited, [INFO] [stdout] 449 ~ }); x [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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 `serde-roxmltree` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0502]: cannot borrow `*self.visited` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/lib.rs:392:22 [INFO] [stdout] | [INFO] [stdout] 391 | source: self.siblings()?, [INFO] [stdout] | ---------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | a temporary with access to the immutable borrow is created here ... [INFO] [stdout] 392 | visited: self.visited, [INFO] [stdout] | ^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] 393 | }) [INFO] [stdout] 394 | } [INFO] [stdout] | - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `ControlFlow, impl Iterator>>` [INFO] [stdout] | [INFO] [stdout] = note: the temporary is part of an expression at the end of a block; [INFO] [stdout] consider forcing this temporary to be dropped sooner, before the block's local variables are dropped [INFO] [stdout] help: for example, you could save the expression's value in a new local variable `x` and then make `x` be the expression at the end of the block [INFO] [stdout] | [INFO] [stdout] 390 ~ let x = visitor.visit_seq(SeqAccess { [INFO] [stdout] 391 | source: self.siblings()?, [INFO] [stdout] 392 | visited: self.visited, [INFO] [stdout] 393 ~ }); x [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self.visited` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/lib.rs:421:22 [INFO] [stdout] | [INFO] [stdout] 420 | source: self.children_and_attributes()?.peekable(), [INFO] [stdout] | ------------------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | a temporary with access to the immutable borrow is created here ... [INFO] [stdout] 421 | visited: self.visited, [INFO] [stdout] | ^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] 422 | }) [INFO] [stdout] 423 | } [INFO] [stdout] | - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `ControlFlow, impl Iterator>>` [INFO] [stdout] | [INFO] [stdout] = note: the temporary is part of an expression at the end of a block; [INFO] [stdout] consider forcing this temporary to be dropped sooner, before the block's local variables are dropped [INFO] [stdout] help: for example, you could save the expression's value in a new local variable `x` and then make `x` be the expression at the end of the block [INFO] [stdout] | [INFO] [stdout] 419 ~ let x = visitor.visit_map(MapAccess { [INFO] [stdout] 420 | source: self.children_and_attributes()?.peekable(), [INFO] [stdout] 421 | visited: self.visited, [INFO] [stdout] 422 ~ }); x [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self.visited` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/lib.rs:448:22 [INFO] [stdout] | [INFO] [stdout] 447 | source: self.children_and_attributes()?, [INFO] [stdout] | ------------------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | a temporary with access to the immutable borrow is created here ... [INFO] [stdout] 448 | visited: self.visited, [INFO] [stdout] | ^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] 449 | }) [INFO] [stdout] 450 | } [INFO] [stdout] | - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `ControlFlow, impl Iterator>>` [INFO] [stdout] | [INFO] [stdout] = note: the temporary is part of an expression at the end of a block; [INFO] [stdout] consider forcing this temporary to be dropped sooner, before the block's local variables are dropped [INFO] [stdout] help: for example, you could save the expression's value in a new local variable `x` and then make `x` be the expression at the end of the block [INFO] [stdout] | [INFO] [stdout] 446 ~ let x = visitor.visit_enum(EnumAccess { [INFO] [stdout] 447 | source: self.children_and_attributes()?, [INFO] [stdout] 448 | visited: self.visited, [INFO] [stdout] 449 ~ }); x [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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 `serde-roxmltree` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "7d58ce908263715aa4e71669a50527956f1fdc16e13b69507c77f334cc16a114", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d58ce908263715aa4e71669a50527956f1fdc16e13b69507c77f334cc16a114", kill_on_drop: false }` [INFO] [stdout] 7d58ce908263715aa4e71669a50527956f1fdc16e13b69507c77f334cc16a114