[INFO] cloning repository https://github.com/datdenkikniet/influxdb-temp-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/datdenkikniet/influxdb-temp-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdatdenkikniet%2Finfluxdb-temp-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdatdenkikniet%2Finfluxdb-temp-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 13e23c27022c5455ae059baa34c5e44750f78000 [INFO] checking datdenkikniet/influxdb-temp-server/13e23c27022c5455ae059baa34c5e44750f78000 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdatdenkikniet%2Finfluxdb-temp-server" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/datdenkikniet/influxdb-temp-server 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/datdenkikniet/influxdb-temp-server [INFO] finished tweaking git repo https://github.com/datdenkikniet/influxdb-temp-server [INFO] tweaked toml for git repo https://github.com/datdenkikniet/influxdb-temp-server written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/datdenkikniet/influxdb-temp-server 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 8de560517c3492db886fbb3df96ee3be590b46cef18f7d097c1b54596c30a690 [INFO] running `Command { std: "docker" "start" "-a" "8de560517c3492db886fbb3df96ee3be590b46cef18f7d097c1b54596c30a690", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8de560517c3492db886fbb3df96ee3be590b46cef18f7d097c1b54596c30a690", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8de560517c3492db886fbb3df96ee3be590b46cef18f7d097c1b54596c30a690", kill_on_drop: false }` [INFO] [stdout] 8de560517c3492db886fbb3df96ee3be590b46cef18f7d097c1b54596c30a690 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] cc056629991975f57a01ba24f3fb2b227aeb38a19c03bdf78ee4a25bb3cdb951 [INFO] running `Command { std: "docker" "start" "-a" "cc056629991975f57a01ba24f3fb2b227aeb38a19c03bdf78ee4a25bb3cdb951", 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 autocfg v1.3.0 [INFO] [stderr] Checking bytes v1.6.1 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling syn v2.0.71 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking parking_lot_core v0.8.6 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking clap_lex v0.7.1 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking ordered-float v3.9.2 [INFO] [stderr] Checking headers v0.3.9 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stderr] Checking go-parse-duration v0.1.1 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking clap_builder v4.5.9 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking http-range-header v0.3.1 [INFO] [stderr] Checking duration-string v0.3.0 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling clap_derive v4.5.8 [INFO] [stderr] Checking tokio v1.38.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling snafu-derive v0.6.10 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Checking clap v4.5.9 [INFO] [stderr] Checking snafu v0.6.10 [INFO] [stderr] Compiling influxdb2-derive v0.1.1 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tower-http v0.2.5 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking influxdb2-structmap v0.2.0 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking influxdb2 v0.4.5 [INFO] [stderr] Checking temp_from_influxdb v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `temp_from_influxdb` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/client.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/client.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | ($thing:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 67 | ($thing:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] The following errors were reported: [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/client.rs:67:6 [INFO] [stderr] | [INFO] [stderr] 67 | ($thing:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/client.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | ($thing:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 67 | ($thing:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `temp_from_influxdb` [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/client.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/client.rs:67:6 [INFO] [stderr] | [INFO] [stderr] 67 | ($thing:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.77s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking temp_from_influxdb v0.1.0 (/tmp/fixit) [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> src/client.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | self.in_range(&format!("start: -{duration_ms}ms"), window as u64) [INFO] [stdout] | ^ ---------------------------------- temporary value created here [INFO] [stdout] | _________| [INFO] [stdout] | | [INFO] [stdout] 137 | | .await [INFO] [stdout] | |__________________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> src/client.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | self.in_range(&format!("start: -{duration_ms}ms"), window as u64) [INFO] [stdout] | ^ ---------------------------------- temporary value created here [INFO] [stdout] | _________| [INFO] [stdout] | | [INFO] [stdout] 137 | | .await [INFO] [stdout] | |__________________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> src/client.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | self.in_range(&format!("start: {start}, stop: {stop}"), window) [INFO] [stdout] | ^ --------------------------------------- temporary value created here [INFO] [stdout] | _________| [INFO] [stdout] | | [INFO] [stdout] 126 | | .await [INFO] [stdout] | |__________________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> src/client.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | self.in_range(&format!("start: {start}, stop: {stop}"), window) [INFO] [stdout] | ^ --------------------------------------- temporary value created here [INFO] [stdout] | _________| [INFO] [stdout] | | [INFO] [stdout] 126 | | .await [INFO] [stdout] | |__________________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `temp_from_influxdb` (bin "temp_from_influxdb") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `temp_from_influxdb` (bin "temp_from_influxdb" test) due to 3 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" "cc056629991975f57a01ba24f3fb2b227aeb38a19c03bdf78ee4a25bb3cdb951", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc056629991975f57a01ba24f3fb2b227aeb38a19c03bdf78ee4a25bb3cdb951", kill_on_drop: false }` [INFO] [stdout] cc056629991975f57a01ba24f3fb2b227aeb38a19c03bdf78ee4a25bb3cdb951