[INFO] fetching crate wsdl 0.1.3... [INFO] checking wsdl-0.1.3 against master#91c0823ee63e793d990bb9fed898dc95b5d6db51 for pr-125384-2 [INFO] extracting crate wsdl 0.1.3 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate wsdl 0.1.3 on toolchain 91c0823ee63e793d990bb9fed898dc95b5d6db51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "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-6-tc1/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" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v1.0.66 [INFO] [stderr] Downloaded windows-targets v0.48.1 [INFO] [stderr] Downloaded thiserror v1.0.44 [INFO] [stderr] Downloaded anstyle-wincon v1.0.1 [INFO] [stderr] Downloaded hermit-abi v0.3.2 [INFO] [stderr] Downloaded anstyle-query v1.0.0 [INFO] [stderr] Downloaded bitflags v2.3.3 [INFO] [stderr] Downloaded roxmltree v0.18.0 [INFO] [stderr] Downloaded anyhow v1.0.72 [INFO] [stderr] Downloaded clap_builder v4.3.19 [INFO] [stderr] Downloaded rustix v0.38.4 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.48.0 [INFO] [stderr] Downloaded libc v0.2.147 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.48.0 [INFO] [stderr] Downloaded linux-raw-sys v0.4.3 [INFO] [stderr] Downloaded windows_i686_gnu v0.48.0 [INFO] [stderr] Downloaded windows_i686_msvc v0.48.0 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.48.0 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.48.0 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.48.0 [INFO] [stderr] Downloaded syn v2.0.27 [INFO] [stderr] Downloaded anstyle-parse v0.2.1 [INFO] [stderr] Downloaded cc v1.0.79 [INFO] [stderr] Downloaded clap v4.3.19 [INFO] [stderr] Downloaded unicode-ident v1.0.11 [INFO] [stderr] Downloaded anstream v0.3.2 [INFO] [stderr] Downloaded anstyle v1.0.1 [INFO] [stderr] Downloaded clap_lex v0.5.0 [INFO] [stderr] Downloaded xmlparser v0.13.5 [INFO] [stderr] Downloaded quote v1.0.31 [INFO] [stderr] Downloaded errno v0.3.1 [INFO] [stderr] Downloaded thiserror-impl v1.0.44 [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] af2c20fa926d4e0a5583eb058b58d7cf5b9cf36500fbfb5281114d8f1488ae03 [INFO] running `Command { std: "docker" "start" "-a" "af2c20fa926d4e0a5583eb058b58d7cf5b9cf36500fbfb5281114d8f1488ae03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "af2c20fa926d4e0a5583eb058b58d7cf5b9cf36500fbfb5281114d8f1488ae03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af2c20fa926d4e0a5583eb058b58d7cf5b9cf36500fbfb5281114d8f1488ae03", kill_on_drop: false }` [INFO] [stdout] af2c20fa926d4e0a5583eb058b58d7cf5b9cf36500fbfb5281114d8f1488ae03 [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 03031f61ecfbbd7198862409d019ee280691a5341902f64620cf24eaeb1d69a6 [INFO] running `Command { std: "docker" "start" "-a" "03031f61ecfbbd7198862409d019ee280691a5341902f64620cf24eaeb1d69a6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling rustix v0.38.4 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Checking linux-raw-sys v0.4.3 [INFO] [stderr] Checking bitflags v2.3.3 [INFO] [stderr] Compiling thiserror v1.0.44 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking anstyle-parse v0.2.1 [INFO] [stderr] Checking anstyle v1.0.1 [INFO] [stderr] Checking xmlparser v0.13.5 [INFO] [stderr] Compiling anyhow v1.0.72 [INFO] [stderr] Checking clap_lex v0.5.0 [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.41s [INFO] running `Command { std: "docker" "inspect" "03031f61ecfbbd7198862409d019ee280691a5341902f64620cf24eaeb1d69a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03031f61ecfbbd7198862409d019ee280691a5341902f64620cf24eaeb1d69a6", kill_on_drop: false }` [INFO] [stdout] 03031f61ecfbbd7198862409d019ee280691a5341902f64620cf24eaeb1d69a6 [INFO] checking wsdl-0.1.3 against try#519d6e23a6cb73c4d0f295f71ad37db8e95c54ab for pr-125384-2 [INFO] extracting crate wsdl 0.1.3 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate wsdl 0.1.3 on toolchain 519d6e23a6cb73c4d0f295f71ad37db8e95c54ab [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "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-6-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" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f0d8923f14c10280188fd4c21e4ef1b7981c6e97fed79febb4680be465536e82 [INFO] running `Command { std: "docker" "start" "-a" "f0d8923f14c10280188fd4c21e4ef1b7981c6e97fed79febb4680be465536e82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f0d8923f14c10280188fd4c21e4ef1b7981c6e97fed79febb4680be465536e82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0d8923f14c10280188fd4c21e4ef1b7981c6e97fed79febb4680be465536e82", kill_on_drop: false }` [INFO] [stdout] f0d8923f14c10280188fd4c21e4ef1b7981c6e97fed79febb4680be465536e82 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c597da44bfe19f45149a076f84d61dc3932fe20cc48f9192b1cdffe56c3fa00b [INFO] running `Command { std: "docker" "start" "-a" "c597da44bfe19f45149a076f84d61dc3932fe20cc48f9192b1cdffe56c3fa00b", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling rustix v0.38.4 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Checking bitflags v2.3.3 [INFO] [stderr] Checking linux-raw-sys v0.4.3 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking anstyle v1.0.1 [INFO] [stderr] Compiling thiserror v1.0.44 [INFO] [stderr] Checking xmlparser v0.13.5 [INFO] [stderr] Compiling anyhow v1.0.72 [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 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/traverse.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.97s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking wsdl v0.1.3 (/tmp/fixit) [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: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: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: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: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: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: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: 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[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] [stderr] error: could not compile `wsdl` (lib test) due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "c597da44bfe19f45149a076f84d61dc3932fe20cc48f9192b1cdffe56c3fa00b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c597da44bfe19f45149a076f84d61dc3932fe20cc48f9192b1cdffe56c3fa00b", kill_on_drop: false }` [INFO] [stdout] c597da44bfe19f45149a076f84d61dc3932fe20cc48f9192b1cdffe56c3fa00b