[INFO] fetching crate wsdl 0.1.3... [INFO] checking wsdl-0.1.3 against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] extracting crate wsdl 0.1.3 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate wsdl 0.1.3 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 wsdl 0.1.3 [INFO] finished tweaking crates.io crate wsdl 0.1.3 [INFO] tweaked toml for crates.io crate wsdl 0.1.3 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate wsdl 0.1.3 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-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] 79f4d0eb0719fb93997caac628f851465d0889ceb1c8397030dc180d8694c945 [INFO] running `Command { std: "docker" "start" "-a" "79f4d0eb0719fb93997caac628f851465d0889ceb1c8397030dc180d8694c945", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "79f4d0eb0719fb93997caac628f851465d0889ceb1c8397030dc180d8694c945", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79f4d0eb0719fb93997caac628f851465d0889ceb1c8397030dc180d8694c945", kill_on_drop: false }` [INFO] [stdout] 79f4d0eb0719fb93997caac628f851465d0889ceb1c8397030dc180d8694c945 [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] d262eda01dd712ec0caa4e32b56d776e019e11fbc4a34d13ecbbda7023f5d560 [INFO] running `Command { std: "docker" "start" "-a" "d262eda01dd712ec0caa4e32b56d776e019e11fbc4a34d13ecbbda7023f5d560", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling rustix v0.38.4 [INFO] [stderr] Checking linux-raw-sys v0.4.3 [INFO] [stderr] Checking bitflags v2.3.3 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking anstyle v1.0.1 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Compiling thiserror v1.0.44 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Compiling anyhow v1.0.72 [INFO] [stderr] Checking xmlparser v0.13.5 [INFO] [stderr] Checking clap_lex v0.5.0 [INFO] [stderr] Checking anstyle-parse v0.2.1 [INFO] [stderr] Checking roxmltree v0.18.0 [INFO] [stderr] Compiling quote v1.0.31 [INFO] [stderr] Compiling syn v2.0.27 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking anstream v0.3.2 [INFO] [stderr] Checking clap_builder v4.3.19 [INFO] [stderr] Compiling thiserror-impl v1.0.44 [INFO] [stderr] Checking clap v4.3.19 [INFO] [stderr] Checking wsdl v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0597]: `def` does not live long enough [INFO] [stdout] --> src/wsdl.rs:246:13 [INFO] [stdout] | [INFO] [stdout] 244 | let def = WsDefinitions::find_parent(self.0)?; [INFO] [stdout] | --- binding `def` declared here [INFO] [stdout] 245 | Ok(Some( [INFO] [stdout] 246 | def.messages()? [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | a temporary with access to the borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 253 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `def` dropped here while still borrowed [INFO] [stdout] | ... and the 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] 245 ~ let x = Ok(Some( [INFO] [stdout] 246 | def.messages()? [INFO] [stdout] ... [INFO] [stdout] 251 | ))?, [INFO] [stdout] 252 ~ )); x [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `def` does not live long enough [INFO] [stdout] --> src/wsdl.rs:246:13 [INFO] [stdout] | [INFO] [stdout] 244 | let def = WsDefinitions::find_parent(self.0)?; [INFO] [stdout] | --- binding `def` declared here [INFO] [stdout] 245 | Ok(Some( [INFO] [stdout] 246 | def.messages()? [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | a temporary with access to the borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 253 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `def` dropped here while still borrowed [INFO] [stdout] | ... and the 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] 245 ~ let x = Ok(Some( [INFO] [stdout] 246 | def.messages()? [INFO] [stdout] ... [INFO] [stdout] 251 | ))?, [INFO] [stdout] 252 ~ )); x [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `def` does not live long enough [INFO] [stdout] --> src/wsdl.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 271 | let def = WsDefinitions::find_parent(self.0)?; [INFO] [stdout] | --- binding `def` declared here [INFO] [stdout] 272 | Ok(Some( [INFO] [stdout] 273 | def.messages()? [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | a temporary with access to the borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 280 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `def` dropped here while still borrowed [INFO] [stdout] | ... and the 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] 272 ~ let x = Ok(Some( [INFO] [stdout] 273 | def.messages()? [INFO] [stdout] ... [INFO] [stdout] 278 | ))?, [INFO] [stdout] 279 ~ )); x [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `def` does not live long enough [INFO] [stdout] --> src/wsdl.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 271 | let def = WsDefinitions::find_parent(self.0)?; [INFO] [stdout] | --- binding `def` declared here [INFO] [stdout] 272 | Ok(Some( [INFO] [stdout] 273 | def.messages()? [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | a temporary with access to the borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 280 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `def` dropped here while still borrowed [INFO] [stdout] | ... and the 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] 272 ~ let x = Ok(Some( [INFO] [stdout] 273 | def.messages()? [INFO] [stdout] ... [INFO] [stdout] 278 | ))?, [INFO] [stdout] 279 ~ )); x [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `def` does not live long enough [INFO] [stdout] --> src/wsdl.rs:300:13 [INFO] [stdout] | [INFO] [stdout] 298 | let def = WsDefinitions::find_parent(self.0)?; [INFO] [stdout] | --- binding `def` declared here [INFO] [stdout] 299 | Ok(Some( [INFO] [stdout] 300 | def.messages()? [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | a temporary with access to the borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 307 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `def` dropped here while still borrowed [INFO] [stdout] | ... and the 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] 299 ~ let x = Ok(Some( [INFO] [stdout] 300 | def.messages()? [INFO] [stdout] ... [INFO] [stdout] 305 | ))?, [INFO] [stdout] 306 ~ )); x [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `def` does not live long enough [INFO] [stdout] --> src/wsdl.rs:300:13 [INFO] [stdout] | [INFO] [stdout] 298 | let def = WsDefinitions::find_parent(self.0)?; [INFO] [stdout] | --- binding `def` declared here [INFO] [stdout] 299 | Ok(Some( [INFO] [stdout] 300 | def.messages()? [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | a temporary with access to the borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 307 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `def` dropped here while still borrowed [INFO] [stdout] | ... and the 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] 299 ~ let x = Ok(Some( [INFO] [stdout] 300 | def.messages()? [INFO] [stdout] ... [INFO] [stdout] 305 | ))?, [INFO] [stdout] 306 ~ )); x [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `def` does not live long enough [INFO] [stdout] --> src/wsdl.rs:378:9 [INFO] [stdout] | [INFO] [stdout] 377 | let def = WsDefinitions::find_parent(self.0)?; [INFO] [stdout] | --- binding `def` declared here [INFO] [stdout] 378 | def.port_types()? [INFO] [stdout] | ^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | a temporary with access to the borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 384 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `def` dropped here while still borrowed [INFO] [stdout] | ... and the 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] 378 ~ let x = def.port_types()? [INFO] [stdout] 379 | .find(|n| n.0.attribute("name") == Some(port_name)) [INFO] [stdout] ... [INFO] [stdout] 382 | WsErrorType::InvalidReference(port_name.to_string()), [INFO] [stdout] 383 ~ )); x [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `def` does not live long enough [INFO] [stdout] --> src/wsdl.rs:378:9 [INFO] [stdout] | [INFO] [stdout] 377 | let def = WsDefinitions::find_parent(self.0)?; [INFO] [stdout] | --- binding `def` declared here [INFO] [stdout] 378 | def.port_types()? [INFO] [stdout] | ^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | a temporary with access to the borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 384 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `def` dropped here while still borrowed [INFO] [stdout] | ... and the 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] 378 ~ let x = def.port_types()? [INFO] [stdout] 379 | .find(|n| n.0.attribute("name") == Some(port_name)) [INFO] [stdout] ... [INFO] [stdout] 382 | WsErrorType::InvalidReference(port_name.to_string()), [INFO] [stdout] 383 ~ )); x [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `def` does not live long enough [INFO] [stdout] --> src/wsdl.rs:424:9 [INFO] [stdout] | [INFO] [stdout] 423 | let def = WsDefinitions::find_parent(self.0)?; [INFO] [stdout] | --- binding `def` declared here [INFO] [stdout] 424 | def.bindings()? [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | a temporary with access to the borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 430 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `def` dropped here while still borrowed [INFO] [stdout] | ... and the 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] 424 ~ let x = def.bindings()? [INFO] [stdout] 425 | .find(|n| n.0.attribute("name") == Some(binding_name)) [INFO] [stdout] ... [INFO] [stdout] 428 | WsErrorType::InvalidReference(binding_name.to_string()), [INFO] [stdout] 429 ~ )); x [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `def` does not live long enough [INFO] [stdout] --> src/wsdl.rs:424:9 [INFO] [stdout] | [INFO] [stdout] 423 | let def = WsDefinitions::find_parent(self.0)?; [INFO] [stdout] | --- binding `def` declared here [INFO] [stdout] 424 | def.bindings()? [INFO] [stdout] | ^^^------------ [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | a temporary with access to the borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 430 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `def` dropped here while still borrowed [INFO] [stdout] | ... and the 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] 424 ~ let x = def.bindings()? [INFO] [stdout] 425 | .find(|n| n.0.attribute("name") == Some(binding_name)) [INFO] [stdout] ... [INFO] [stdout] 428 | WsErrorType::InvalidReference(binding_name.to_string()), [INFO] [stdout] 429 ~ )); x [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0597`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0597`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wsdl` (lib) due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `wsdl` (lib test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "d262eda01dd712ec0caa4e32b56d776e019e11fbc4a34d13ecbbda7023f5d560", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d262eda01dd712ec0caa4e32b56d776e019e11fbc4a34d13ecbbda7023f5d560", kill_on_drop: false }` [INFO] [stdout] d262eda01dd712ec0caa4e32b56d776e019e11fbc4a34d13ecbbda7023f5d560