[INFO] cloning repository https://github.com/M2Ys4U/bin-day [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/M2Ys4U/bin-day" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FM2Ys4U%2Fbin-day", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FM2Ys4U%2Fbin-day'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c80f6cf5e06590a200e8c40e2d080f3a62b29306 [INFO] checking M2Ys4U/bin-day/c80f6cf5e06590a200e8c40e2d080f3a62b29306 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FM2Ys4U%2Fbin-day" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/M2Ys4U/bin-day on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/M2Ys4U/bin-day [INFO] finished tweaking git repo https://github.com/M2Ys4U/bin-day [INFO] tweaked toml for git repo https://github.com/M2Ys4U/bin-day written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/M2Ys4U/bin-day 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2f0bcf43edc06b5c263dfb7ff40f15ca647a9973a40952dfb78fd05d4d5a536e [INFO] running `Command { std: "docker" "start" "-a" "2f0bcf43edc06b5c263dfb7ff40f15ca647a9973a40952dfb78fd05d4d5a536e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2f0bcf43edc06b5c263dfb7ff40f15ca647a9973a40952dfb78fd05d4d5a536e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f0bcf43edc06b5c263dfb7ff40f15ca647a9973a40952dfb78fd05d4d5a536e", kill_on_drop: false }` [INFO] [stdout] 2f0bcf43edc06b5c263dfb7ff40f15ca647a9973a40952dfb78fd05d4d5a536e [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=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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2fa9f2c2f43eacf7c0efdf76a1b46a71db001f11232c713c12e2603e70e0e4a7 [INFO] running `Command { std: "docker" "start" "-a" "2fa9f2c2f43eacf7c0efdf76a1b46a71db001f11232c713c12e2603e70e0e4a7", 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.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling tokio v1.26.0 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking tracing-core v0.1.26 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling indexmap v1.8.2 [INFO] [stderr] Checking new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking http v0.2.7 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Checking parking_lot_core v0.9.3 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Compiling rustls v0.21.6 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Checking futf v0.1.5 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking dtoa-short v0.3.3 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking miniz_oxide v0.5.3 [INFO] [stderr] Checking tendril v0.4.3 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling selectors v0.22.0 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking servo_arc v0.1.1 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking flate2 v1.0.24 [INFO] [stderr] Checking base64 v0.21.2 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Checking thin-slice v0.1.1 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking rustls-pemfile v1.0.3 [INFO] [stderr] Checking array-init v0.0.4 [INFO] [stderr] Checking ipnet v2.5.0 [INFO] [stderr] Checking cpufeatures v0.2.9 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking ego-tree v0.6.2 [INFO] [stderr] Checking sha2 v0.10.7 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking rustls-webpki v0.101.3 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking webpki-roots v0.22.3 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.21 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling phf_macros v0.10.0 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling cssparser-macros v0.6.0 [INFO] [stderr] Compiling cssparser v0.27.2 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Checking phf v0.10.1 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling cssparser v0.29.6 [INFO] [stderr] Checking tracing v0.1.34 [INFO] [stderr] Checking tokio-util v0.7.2 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking async-compression v0.4.1 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Checking string_cache v0.8.4 [INFO] [stderr] Checking serde_json v1.0.81 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking serde-hex v0.1.0 [INFO] [stderr] Checking hyper v0.14.19 [INFO] [stderr] Checking scraper v0.13.0 [INFO] [stderr] Checking hyper-rustls v0.24.1 [INFO] [stderr] Checking reqwest v0.11.18 [INFO] [stderr] Checking bin-day v0.2.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/main.rs (1 fix) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.37s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking bin-day v0.2.0 (/tmp/fixit) [INFO] [stdout] error[E0597]: `client` does not live long enough [INFO] [stdout] --> src/main.rs:92:27 [INFO] [stdout] | [INFO] [stdout] 48 | let client = match reqwest::Client::builder() [INFO] [stdout] | ------ binding `client` declared here [INFO] [stdout] ... [INFO] [stdout] 92 | match post_to_webhook(&client, &webhook_url, webhook_secret, &output).await { [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] 104 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `client` 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 `Result<(), impl StdError>` [INFO] [stdout] | [INFO] [stdout] help: consider adding semicolon after the expression so its temporaries are dropped sooner, before the local variables declared by the block are dropped [INFO] [stdout] | [INFO] [stdout] 103 | }; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `webhook_url` does not live long enough [INFO] [stdout] --> src/main.rs:92:36 [INFO] [stdout] | [INFO] [stdout] 26 | let webhook_url = match env::var("WEBHOOK_URL") { [INFO] [stdout] | ----------- binding `webhook_url` declared here [INFO] [stdout] ... [INFO] [stdout] 92 | match post_to_webhook(&client, &webhook_url, webhook_secret, &output).await { [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] 104 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `webhook_url` 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 `Result<(), impl StdError>` [INFO] [stdout] | [INFO] [stdout] help: consider adding semicolon after the expression so its temporaries are dropped sooner, before the local variables declared by the block are dropped [INFO] [stdout] | [INFO] [stdout] 103 | }; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `output` does not live long enough [INFO] [stdout] --> src/main.rs:92:66 [INFO] [stdout] | [INFO] [stdout] 85 | let output = Output { [INFO] [stdout] | ------ binding `output` declared here [INFO] [stdout] ... [INFO] [stdout] 92 | match post_to_webhook(&client, &webhook_url, webhook_secret, &output).await { [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] 104 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `output` 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 `Result<(), impl StdError>` [INFO] [stdout] | [INFO] [stdout] help: consider adding semicolon after the expression so its temporaries are dropped sooner, before the local variables declared by the block are dropped [INFO] [stdout] | [INFO] [stdout] 103 | }; [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 E0597`. [INFO] [stdout] [INFO] [stdout] error[E0597]: `client` does not live long enough [INFO] [stdout] --> src/main.rs:92:27 [INFO] [stdout] | [INFO] [stdout] 48 | let client = match reqwest::Client::builder() [INFO] [stdout] | ------ binding `client` declared here [INFO] [stdout] ... [INFO] [stdout] 92 | match post_to_webhook(&client, &webhook_url, webhook_secret, &output).await { [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] 104 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `client` 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 `Result<(), impl StdError>` [INFO] [stdout] | [INFO] [stdout] help: consider adding semicolon after the expression so its temporaries are dropped sooner, before the local variables declared by the block are dropped [INFO] [stdout] | [INFO] [stdout] 103 | }; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `webhook_url` does not live long enough [INFO] [stdout] --> src/main.rs:92:36 [INFO] [stdout] | [INFO] [stdout] 26 | let webhook_url = match env::var("WEBHOOK_URL") { [INFO] [stdout] | ----------- binding `webhook_url` declared here [INFO] [stdout] ... [INFO] [stdout] 92 | match post_to_webhook(&client, &webhook_url, webhook_secret, &output).await { [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] 104 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `webhook_url` 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 `Result<(), impl StdError>` [INFO] [stdout] | [INFO] [stdout] help: consider adding semicolon after the expression so its temporaries are dropped sooner, before the local variables declared by the block are dropped [INFO] [stdout] | [INFO] [stdout] 103 | }; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `output` does not live long enough [INFO] [stdout] --> src/main.rs:92:66 [INFO] [stdout] | [INFO] [stdout] 85 | let output = Output { [INFO] [stdout] | ------ binding `output` declared here [INFO] [stdout] ... [INFO] [stdout] 92 | match post_to_webhook(&client, &webhook_url, webhook_secret, &output).await { [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] 104 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `output` 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 `Result<(), impl StdError>` [INFO] [stdout] | [INFO] [stdout] help: consider adding semicolon after the expression so its temporaries are dropped sooner, before the local variables declared by the block are dropped [INFO] [stdout] | [INFO] [stdout] 103 | }; [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 E0597`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bin-day` (bin "bin-day") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `bin-day` (bin "bin-day" test) due to 4 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" "2fa9f2c2f43eacf7c0efdf76a1b46a71db001f11232c713c12e2603e70e0e4a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fa9f2c2f43eacf7c0efdf76a1b46a71db001f11232c713c12e2603e70e0e4a7", kill_on_drop: false }` [INFO] [stdout] 2fa9f2c2f43eacf7c0efdf76a1b46a71db001f11232c713c12e2603e70e0e4a7