[INFO] fetching crate snowplow_tracker 0.2.0... [INFO] checking snowplow_tracker-0.2.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate snowplow_tracker 0.2.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate snowplow_tracker 0.2.0 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate snowplow_tracker 0.2.0 [INFO] finished tweaking crates.io crate snowplow_tracker 0.2.0 [INFO] tweaked toml for crates.io crate snowplow_tracker 0.2.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate snowplow_tracker 0.2.0 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 315e20040ae16a7b0a2bd44f88695d8a18fc98ef6c5cd3e349a30eb7b8b148f0 [INFO] running `Command { std: "docker" "start" "-a" "315e20040ae16a7b0a2bd44f88695d8a18fc98ef6c5cd3e349a30eb7b8b148f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "315e20040ae16a7b0a2bd44f88695d8a18fc98ef6c5cd3e349a30eb7b8b148f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "315e20040ae16a7b0a2bd44f88695d8a18fc98ef6c5cd3e349a30eb7b8b148f0", kill_on_drop: false }` [INFO] [stdout] 315e20040ae16a7b0a2bd44f88695d8a18fc98ef6c5cd3e349a30eb7b8b148f0 [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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 69c2bcdc40e9080117cb03bef4c59dff2e99320fce2ad7f4efdf276ad7615e2a [INFO] running `Command { std: "docker" "start" "-a" "69c2bcdc40e9080117cb03bef4c59dff2e99320fce2ad7f4efdf276ad7615e2a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.42 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Compiling serde_derive v1.0.140 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling serde v1.0.140 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Checking futures-sink v0.3.25 [INFO] [stderr] Compiling futures-task v0.3.25 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Checking bytes v1.2.0 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Compiling tokio v1.22.0 [INFO] [stderr] Checking futures-io v0.3.25 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Checking tracing-core v0.1.28 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling openssl v0.10.41 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking tracing v0.1.35 [INFO] [stderr] Checking percent-encoding v2.2.0 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking form_urlencoded v1.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling async-trait v0.1.58 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking ipnet v2.5.0 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking iana-time-zone v0.1.50 [INFO] [stderr] Checking cpufeatures v0.2.5 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking num_cpus v1.14.0 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling openssl-sys v0.9.75 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking unicode-normalization v0.1.21 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Checking url v2.3.1 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.3 [INFO] [stderr] Checking digest v0.10.5 [INFO] [stderr] Checking sha2 v0.10.6 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Compiling darling_core v0.14.1 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling futures-macro v0.3.25 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling darling_macro v0.14.1 [INFO] [stderr] Compiling darling v0.14.1 [INFO] [stderr] Compiling derive_builder_core v0.11.2 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Compiling derive_builder_macro v0.11.2 [INFO] [stderr] Checking derive_builder v0.11.2 [INFO] [stderr] Checking futures-executor v0.3.25 [INFO] [stderr] Checking futures v0.3.25 [INFO] [stderr] Checking tokio-util v0.7.3 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking uuid v1.1.2 [INFO] [stderr] Checking serde_with v1.14.0 [INFO] [stderr] Checking chrono v0.4.22 [INFO] [stderr] Checking hyper v0.14.20 [INFO] [stderr] Checking bollard-stubs v1.41.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.11 [INFO] [stderr] Checking snowplow_tracker v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `encode_base_64` is never read [INFO] [stdout] --> src/tracker.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct TrackerConfig { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | pub encode_base_64: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/emitter/batch_emitter.rs:363:30 [INFO] [stdout] | [INFO] [stdout] 350 | let client = http_client.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 351 | let retry_transmitter = retry_tx.clone(); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 352 | let store = event_store.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 363 | .await [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/event_store/in_memory_event_store.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 141 | Ok(drop(batch_id)) [INFO] [stdout] | ^^^^^--------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `Uuid` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/payload.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Serialize, Deserialize, Clone, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tracker.rs:54:22 [INFO] [stdout] | [INFO] [stdout] 48 | emitter: impl Emitter + 'static, [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | emitter: Box::new(emitter), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `snowplow_tracker` (lib) due to 4 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "69c2bcdc40e9080117cb03bef4c59dff2e99320fce2ad7f4efdf276ad7615e2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69c2bcdc40e9080117cb03bef4c59dff2e99320fce2ad7f4efdf276ad7615e2a", kill_on_drop: false }` [INFO] [stdout] 69c2bcdc40e9080117cb03bef4c59dff2e99320fce2ad7f4efdf276ad7615e2a