[INFO] cloning repository https://github.com/UnicornRust/rust-crawler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/UnicornRust/rust-crawler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUnicornRust%2Frust-crawler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUnicornRust%2Frust-crawler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 47ac13a6cacfe25c9f2e57f0fafdbd7a5ce639fb [INFO] checking UnicornRust/rust-crawler/47ac13a6cacfe25c9f2e57f0fafdbd7a5ce639fb against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUnicornRust%2Frust-crawler" "/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/UnicornRust/rust-crawler 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 git repo https://github.com/UnicornRust/rust-crawler [INFO] finished tweaking git repo https://github.com/UnicornRust/rust-crawler [INFO] tweaked toml for git repo https://github.com/UnicornRust/rust-crawler written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/UnicornRust/rust-crawler 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] 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] fd0fd013ff14fadc3e2bd49dfe127afa6abe7a43e2aa831280540f14242312a3 [INFO] running `Command { std: "docker" "start" "-a" "fd0fd013ff14fadc3e2bd49dfe127afa6abe7a43e2aa831280540f14242312a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd0fd013ff14fadc3e2bd49dfe127afa6abe7a43e2aa831280540f14242312a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd0fd013ff14fadc3e2bd49dfe127afa6abe7a43e2aa831280540f14242312a3", kill_on_drop: false }` [INFO] [stdout] fd0fd013ff14fadc3e2bd49dfe127afa6abe7a43e2aa831280540f14242312a3 [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] 5e96546e12950b1d71aed8ae0b6a61bad04111c1918e63ce54cb5731d643b885 [INFO] running `Command { std: "docker" "start" "-a" "5e96546e12950b1d71aed8ae0b6a61bad04111c1918e63ce54cb5731d643b885", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking value-bag v1.8.1 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking concurrent-queue v2.4.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking futures-sink-preview v0.3.0-alpha.19 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking futures-core-preview v0.3.0-alpha.19 [INFO] [stderr] Checking event-listener v4.0.3 [INFO] [stderr] Checking fastrand v2.0.2 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking futures-channel-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking event-listener-strategy v0.4.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking futures-io-preview v0.3.0-alpha.19 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Checking async-lock v3.3.0 [INFO] [stderr] Checking futures-lite v2.3.0 [INFO] [stderr] Checking event-listener v5.2.0 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking event-listener-strategy v0.5.1 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Checking async-task v4.7.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling curl v0.4.46 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking futf v0.1.5 [INFO] [stderr] Checking piper v0.2.1 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking async-channel v2.2.0 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling libnghttp2-sys v0.1.9+1.58.0 [INFO] [stderr] Compiling libz-sys v1.1.16 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling curl-sys v0.4.72+curl-8.6.0 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling isahc v0.7.6 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking waker-fn v1.1.1 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking tendril v0.4.3 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking futures-util-preview v0.3.0-alpha.19 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking async-executor v1.9.1 [INFO] [stderr] Checking blocking v1.5.1 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Checking async-lock v2.8.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Checking sluice v0.4.2 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Compiling markup5ever v0.10.1 [INFO] [stderr] Checking string_cache v0.8.7 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking futures-executor-preview v0.3.0-alpha.19 [INFO] [stderr] Checking futures-preview v0.3.0-alpha.19 [INFO] [stderr] Checking surf v1.0.3 [INFO] [stderr] Checking polling v3.6.0 [INFO] [stderr] Checking async-io v2.3.2 [INFO] [stderr] Compiling html5ever v0.25.2 [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Checking async-std v1.12.0 [INFO] [stderr] Checking crawler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/fetch.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::string::String` [INFO] [stdout] --> src/parse.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::string::String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `html5ever::tendril::TendrilSink` [INFO] [stdout] --> src/parse.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use html5ever::tendril::TendrilSink; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `html5ever::parse_document` [INFO] [stdout] --> src/parse.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use html5ever::parse_document; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `html5ever::interface::Attribute` [INFO] [stdout] --> src/parse.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use html5ever::interface::Attribute; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/fetch.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::string::String` [INFO] [stdout] --> src/parse.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::string::String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `html5ever::tendril::TendrilSink` [INFO] [stdout] --> src/parse.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use html5ever::tendril::TendrilSink; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `html5ever::parse_document` [INFO] [stdout] --> src/parse.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use html5ever::parse_document; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `html5ever::interface::Attribute` [INFO] [stdout] --> src/parse.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use html5ever::interface::Attribute; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_number` [INFO] [stdout] --> src/crawl.rs:28:47 [INFO] [stdout] | [INFO] [stdout] 28 | fn process_token(&mut self, token: Token, line_number: u64) -> TokenSinkResult { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_number` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch` is never used [INFO] [stdout] --> src/fetch.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn fetch() { [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/crawl.rs:98:49 [INFO] [stdout] | [INFO] [stdout] 92 | let mut res = surf::get(&url).await?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 98 | box_crawl(links, current + 1, max).await [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `crawler` (lib test) due to 2 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `line_number` [INFO] [stdout] --> src/crawl.rs:28:47 [INFO] [stdout] | [INFO] [stdout] 28 | fn process_token(&mut self, token: Token, line_number: u64) -> TokenSinkResult { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_number` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch` is never used [INFO] [stdout] --> src/fetch.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn fetch() { [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/crawl.rs:98:49 [INFO] [stdout] | [INFO] [stdout] 92 | let mut res = surf::get(&url).await?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 98 | box_crawl(links, current + 1, max).await [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `crawler` (lib) due to 2 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5e96546e12950b1d71aed8ae0b6a61bad04111c1918e63ce54cb5731d643b885", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e96546e12950b1d71aed8ae0b6a61bad04111c1918e63ce54cb5731d643b885", kill_on_drop: false }` [INFO] [stdout] 5e96546e12950b1d71aed8ae0b6a61bad04111c1918e63ce54cb5731d643b885