[INFO] cloning repository https://github.com/MrFoxPro/osm-admin-boundaries-experiments [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MrFoxPro/osm-admin-boundaries-experiments" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMrFoxPro%2Fosm-admin-boundaries-experiments", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMrFoxPro%2Fosm-admin-boundaries-experiments'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d467d92aaaf2690e1970932282c6f63d8d762512 [INFO] checking MrFoxPro/osm-admin-boundaries-experiments/d467d92aaaf2690e1970932282c6f63d8d762512 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%2FMrFoxPro%2Fosm-admin-boundaries-experiments" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MrFoxPro/osm-admin-boundaries-experiments 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] removed /workspace/builds/worker-4-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/MrFoxPro/osm-admin-boundaries-experiments [INFO] finished tweaking git repo https://github.com/MrFoxPro/osm-admin-boundaries-experiments [INFO] tweaked toml for git repo https://github.com/MrFoxPro/osm-admin-boundaries-experiments written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/MrFoxPro/osm-admin-boundaries-experiments 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 82a2e44c5314a909dcd7bd4abce5219ed8fb3fe1762615d5abd6c36bd7384dc2 [INFO] running `Command { std: "docker" "start" "-a" "82a2e44c5314a909dcd7bd4abce5219ed8fb3fe1762615d5abd6c36bd7384dc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "82a2e44c5314a909dcd7bd4abce5219ed8fb3fe1762615d5abd6c36bd7384dc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82a2e44c5314a909dcd7bd4abce5219ed8fb3fe1762615d5abd6c36bd7384dc2", kill_on_drop: false }` [INFO] [stdout] 82a2e44c5314a909dcd7bd4abce5219ed8fb3fe1762615d5abd6c36bd7384dc2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 5eaea9ce97f26961cde3fbfb0d837ab6c17a83e8b2d6c6f0b905e2064bed18c1 [INFO] running `Command { std: "docker" "start" "-a" "5eaea9ce97f26961cde3fbfb0d837ab6c17a83e8b2d6c6f0b905e2064bed18c1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking tinyvec v1.6.1 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling heapless v0.8.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling prettyplease v0.2.20 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Checking unicode-properties v0.1.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking hash32 v0.3.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Checking siphasher v0.3.11 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking phf_shared v0.11.2 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking zerocopy v0.7.34 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Compiling rlimit v0.10.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking num_threads v0.1.7 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling multimap v0.10.0 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking rstar v0.12.0 [INFO] [stderr] Checking postgres-protocol v0.6.6 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Checking whoami v1.5.1 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking postgres-types v0.2.6 [INFO] [stderr] Compiling serde_json v1.0.119 [INFO] [stderr] Checking binary-layout v2.1.0 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking command-executor v0.1.1 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Compiling protobuf-codegen v2.28.0 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking robust v1.1.0 [INFO] [stderr] Checking pub-iterator-type v0.1.1 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking spade v2.9.0 [INFO] [stderr] Checking num-format v0.4.4 [INFO] [stderr] Compiling protobuf-codegen-pure v2.28.0 [INFO] [stderr] Checking uuid v1.9.1 [INFO] [stderr] Checking geographiclib-rs v0.2.4 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking par-map v0.1.4 [INFO] [stderr] Compiling venial v0.5.0 [INFO] [stderr] Checking self_cell v1.0.4 [INFO] [stderr] Checking simple_logger v4.3.3 [INFO] [stderr] Checking unescape v0.1.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking json v0.12.4 [INFO] [stderr] Checking escape_string v0.1.2 [INFO] [stderr] Checking indicatif v0.17.8 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking earcutr v0.4.3 [INFO] [stderr] Compiling structstruck v0.4.1 [INFO] [stderr] Compiling deepsize_derive v0.1.2 [INFO] [stderr] Checking deepsize v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Compiling osmpbfreader v0.16.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking text-file-sort v0.1.2 [INFO] [stderr] Compiling prost v0.12.6 [INFO] [stderr] Compiling prost-types v0.12.6 [INFO] [stderr] Compiling prost-build v0.12.6 [INFO] [stderr] Checking tokio-postgres v0.7.10 [INFO] [stderr] Compiling osm-io v0.1.4 [INFO] [stderr] Checking postgres v0.19.7 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking geo-types v0.7.13 [INFO] [stderr] Checking flat_map v0.0.10 [INFO] [stderr] Checking transient-btree-index v0.5.1 [INFO] [stderr] Checking geo v0.28.0 [INFO] [stderr] Checking geojson v0.24.1 [INFO] [stderr] Checking rs-osm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/main.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | let Some(name) = rel.tags.get("name") else { return false }; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/main.rs:246:13 [INFO] [stdout] | [INFO] [stdout] 246 | let Some(name) = rel.tags.get("name") else { return false }; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_centers` is never used [INFO] [stdout] --> src/main.rs:474:4 [INFO] [stdout] | [INFO] [stdout] 474 | fn find_centers(pbf: &mut OsmPbfReader, places: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `TAGS_TO_RETAIN` is never used [INFO] [stdout] --> src/main.rs:549:8 [INFO] [stdout] | [INFO] [stdout] 549 | static TAGS_TO_RETAIN: &[&str] = &["name", "name_en", "admin_level", "place", "capital", "population", "boundary"]; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `filter_tags` is never used [INFO] [stdout] --> src/main.rs:550:4 [INFO] [stdout] | [INFO] [stdout] 550 | fn filter_tags(tags: &mut Tags) -> &Tags { [INFO] [stdout] | ^^^^^^^^^^^ [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/main.rs:127:4 [INFO] [stdout] | [INFO] [stdout] 126 | let node = el.node().filter(|node| needed_nodes_ids.contains(&node.id)).cloned()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 127 | (node.id, node).into() [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:133:4 [INFO] [stdout] | [INFO] [stdout] 132 | let nodes = node_ids.into_par_iter().filter_map(|n| node_ids_to_nodes.get(&n).cloned()).collect::>(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 133 | (way.clone(), nodes) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:148:57 [INFO] [stdout] | [INFO] [stdout] 148 | let ways_to_nodes = ways_to_way_nodes(&elements, |way| way_ids.lock().contains(&way.id)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:154:14 [INFO] [stdout] | [INFO] [stdout] 153 | let result = relations_to_way_ids.into_par_iter().map(|(relation, way_ids)| { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 154 | (relation, way_ids.iter().filter_map(|wid| ways_to_nodes.get(wid).cloned()).collect()) [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] warning: unused variable: `name` [INFO] [stdout] --> src/main.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | let Some(name) = rel.tags.get("name") else { return false }; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` 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/main.rs:317:3 [INFO] [stdout] | [INFO] [stdout] 298 | let places_countries = countries_relations.into_par_iter().filter_map(|(rel, nnodes)| { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 317 | / Place { [INFO] [stdout] 318 | | mapped_type: MappedType::Country, [INFO] [stdout] 319 | | parents: vec![], [INFO] [stdout] 320 | | geometry: build_polygon(nnodes)?, [INFO] [stdout] ... | [INFO] [stdout] 323 | | source: rel.into(), [INFO] [stdout] 324 | | }.into() [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] warning: unused variable: `name` [INFO] [stdout] --> src/main.rs:246:13 [INFO] [stdout] | [INFO] [stdout] 246 | let Some(name) = rel.tags.get("name") else { return false }; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [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/main.rs:336:3 [INFO] [stdout] | [INFO] [stdout] 329 | let places_regions = regions_relations.into_par_iter().filter_map(|(rel, nnodes)| { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 336 | / Place { [INFO] [stdout] 337 | | mapped_type: MappedType::Region, [INFO] [stdout] 338 | | parents: vec![], [INFO] [stdout] 339 | | geometry: build_polygon(nnodes)?, [INFO] [stdout] ... | [INFO] [stdout] 342 | | source: rel.into() [INFO] [stdout] 343 | | }.into() [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:352:3 [INFO] [stdout] | [INFO] [stdout] 347 | let places_cities = cities_nodes.into_par_iter().filter_map(|node| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 352 | / Place { [INFO] [stdout] 353 | | mapped_type: MappedType::City, [INFO] [stdout] 354 | | parents: vec![], [INFO] [stdout] 355 | | geometry: geo::Geometry::Point(geo::Point(geo::Coord { x: node.lon(), y: node.lat() })), [INFO] [stdout] ... | [INFO] [stdout] 358 | | source: node.into(), [INFO] [stdout] 359 | | }.into() [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:363:12 [INFO] [stdout] | [INFO] [stdout] 363 | .map(|c| c.into_iter().map(|p| Arc::new(RwLock::new(p))).collect::>() ) [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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] [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/main.rs:363:43 [INFO] [stdout] | [INFO] [stdout] 363 | .map(|c| c.into_iter().map(|p| Arc::new(RwLock::new(p))).collect::>() ) [INFO] [stdout] | - ^^^^^^^^^^^^^^ [INFO] [stdout] | | [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] [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/main.rs:388:25 [INFO] [stdout] | [INFO] [stdout] 388 | parents.retain(|p| !places_to_delete.read().contains(&p.read().source.str_id())); [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:388:59 [INFO] [stdout] | [INFO] [stdout] 388 | parents.retain(|p| !places_to_delete.read().contains(&p.read().source.str_id())); [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:409:48 [INFO] [stdout] | [INFO] [stdout] 409 | places.retain(|p| !places_to_delete.contains(&p.read().source.str_id())); [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:479:59 [INFO] [stdout] | [INFO] [stdout] 479 | let nodes_ids_to_nodes = pbf.par_iter().filter_map(|el| (el.ok()?.node().cloned())).map(|n| (n.id.0, n)).collect::>(); [INFO] [stdout] | -- ^^^^^^^^ [INFO] [stdout] | | [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] [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/main.rs:497:18 [INFO] [stdout] | [INFO] [stdout] 497 | .map(|n| (n, rf.role.clone())) [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 14 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rs-osm` (bin "rs-osm") due to 15 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: function `find_centers` is never used [INFO] [stdout] --> src/main.rs:474:4 [INFO] [stdout] | [INFO] [stdout] 474 | fn find_centers(pbf: &mut OsmPbfReader, places: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `TAGS_TO_RETAIN` is never used [INFO] [stdout] --> src/main.rs:549:8 [INFO] [stdout] | [INFO] [stdout] 549 | static TAGS_TO_RETAIN: &[&str] = &["name", "name_en", "admin_level", "place", "capital", "population", "boundary"]; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `filter_tags` is never used [INFO] [stdout] --> src/main.rs:550:4 [INFO] [stdout] | [INFO] [stdout] 550 | fn filter_tags(tags: &mut Tags) -> &Tags { [INFO] [stdout] | ^^^^^^^^^^^ [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/main.rs:127:4 [INFO] [stdout] | [INFO] [stdout] 126 | let node = el.node().filter(|node| needed_nodes_ids.contains(&node.id)).cloned()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 127 | (node.id, node).into() [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:133:4 [INFO] [stdout] | [INFO] [stdout] 132 | let nodes = node_ids.into_par_iter().filter_map(|n| node_ids_to_nodes.get(&n).cloned()).collect::>(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 133 | (way.clone(), nodes) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:148:57 [INFO] [stdout] | [INFO] [stdout] 148 | let ways_to_nodes = ways_to_way_nodes(&elements, |way| way_ids.lock().contains(&way.id)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:154:14 [INFO] [stdout] | [INFO] [stdout] 153 | let result = relations_to_way_ids.into_par_iter().map(|(relation, way_ids)| { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 154 | (relation, way_ids.iter().filter_map(|wid| ways_to_nodes.get(wid).cloned()).collect()) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:317:3 [INFO] [stdout] | [INFO] [stdout] 298 | let places_countries = countries_relations.into_par_iter().filter_map(|(rel, nnodes)| { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 317 | / Place { [INFO] [stdout] 318 | | mapped_type: MappedType::Country, [INFO] [stdout] 319 | | parents: vec![], [INFO] [stdout] 320 | | geometry: build_polygon(nnodes)?, [INFO] [stdout] ... | [INFO] [stdout] 323 | | source: rel.into(), [INFO] [stdout] 324 | | }.into() [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:336:3 [INFO] [stdout] | [INFO] [stdout] 329 | let places_regions = regions_relations.into_par_iter().filter_map(|(rel, nnodes)| { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 336 | / Place { [INFO] [stdout] 337 | | mapped_type: MappedType::Region, [INFO] [stdout] 338 | | parents: vec![], [INFO] [stdout] 339 | | geometry: build_polygon(nnodes)?, [INFO] [stdout] ... | [INFO] [stdout] 342 | | source: rel.into() [INFO] [stdout] 343 | | }.into() [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:352:3 [INFO] [stdout] | [INFO] [stdout] 347 | let places_cities = cities_nodes.into_par_iter().filter_map(|node| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 352 | / Place { [INFO] [stdout] 353 | | mapped_type: MappedType::City, [INFO] [stdout] 354 | | parents: vec![], [INFO] [stdout] 355 | | geometry: geo::Geometry::Point(geo::Point(geo::Coord { x: node.lon(), y: node.lat() })), [INFO] [stdout] ... | [INFO] [stdout] 358 | | source: node.into(), [INFO] [stdout] 359 | | }.into() [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:363:12 [INFO] [stdout] | [INFO] [stdout] 363 | .map(|c| c.into_iter().map(|p| Arc::new(RwLock::new(p))).collect::>() ) [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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] [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/main.rs:363:43 [INFO] [stdout] | [INFO] [stdout] 363 | .map(|c| c.into_iter().map(|p| Arc::new(RwLock::new(p))).collect::>() ) [INFO] [stdout] | - ^^^^^^^^^^^^^^ [INFO] [stdout] | | [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] [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/main.rs:388:25 [INFO] [stdout] | [INFO] [stdout] 388 | parents.retain(|p| !places_to_delete.read().contains(&p.read().source.str_id())); [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:388:59 [INFO] [stdout] | [INFO] [stdout] 388 | parents.retain(|p| !places_to_delete.read().contains(&p.read().source.str_id())); [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:409:48 [INFO] [stdout] | [INFO] [stdout] 409 | places.retain(|p| !places_to_delete.contains(&p.read().source.str_id())); [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:479:59 [INFO] [stdout] | [INFO] [stdout] 479 | let nodes_ids_to_nodes = pbf.par_iter().filter_map(|el| (el.ok()?.node().cloned())).map(|n| (n.id.0, n)).collect::>(); [INFO] [stdout] | -- ^^^^^^^^ [INFO] [stdout] | | [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] [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/main.rs:497:18 [INFO] [stdout] | [INFO] [stdout] 497 | .map(|n| (n, rf.role.clone())) [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 14 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rs-osm` (bin "rs-osm" test) due to 15 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5eaea9ce97f26961cde3fbfb0d837ab6c17a83e8b2d6c6f0b905e2064bed18c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5eaea9ce97f26961cde3fbfb0d837ab6c17a83e8b2d6c6f0b905e2064bed18c1", kill_on_drop: false }` [INFO] [stdout] 5eaea9ce97f26961cde3fbfb0d837ab6c17a83e8b2d6c6f0b905e2064bed18c1