[INFO] fetching crate colon 0.1.0... [INFO] checking colon-0.1.0 against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] extracting crate colon 0.1.0 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate colon 0.1.0 on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate colon 0.1.0 [INFO] finished tweaking crates.io crate colon 0.1.0 [INFO] tweaked toml for crates.io crate colon 0.1.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 3 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 82980edee20d45ec1594d22968ae9ba7e4e4d4d5715ac2b1d67e764134c6a758 [INFO] running `Command { std: "docker" "start" "-a" "82980edee20d45ec1594d22968ae9ba7e4e4d4d5715ac2b1d67e764134c6a758", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "82980edee20d45ec1594d22968ae9ba7e4e4d4d5715ac2b1d67e764134c6a758", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82980edee20d45ec1594d22968ae9ba7e4e4d4d5715ac2b1d67e764134c6a758", kill_on_drop: false }` [INFO] [stdout] 82980edee20d45ec1594d22968ae9ba7e4e4d4d5715ac2b1d67e764134c6a758 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] abfbb821ab6e1e14b93831bd8b72fda6dd19fe32e83398436b21a725bf31c7fa [INFO] running `Command { std: "docker" "start" "-a" "abfbb821ab6e1e14b93831bd8b72fda6dd19fe32e83398436b21a725bf31c7fa", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking colon v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/sorted_index.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | Ok(i) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `chunk` is never used [INFO] [stdout] --> src/chunk.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn chunk(v: Vec, n: usize) -> Vec> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compact` is never used [INFO] [stdout] --> src/compact.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn compact(v: Vec>) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `concat` is never used [INFO] [stdout] --> src/concat.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn concat(v1: Vec, v2: Vec) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `difference` is never used [INFO] [stdout] --> src/difference.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn difference(v1: Vec, v2: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `drop` is never used [INFO] [stdout] --> src/drop.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn drop(v: Vec, n: usize) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fill` is never used [INFO] [stdout] --> src/fill.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn fill(v: Vec, val: T) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_index` is never used [INFO] [stdout] --> src/find_index.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn find_index(v: Vec, f: F) -> usize [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_last_index` is never used [INFO] [stdout] --> src/find_last_index.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn find_last_index(v: Vec, f: F) -> usize [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `first` is never used [INFO] [stdout] --> src/first.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn first(v: Vec) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `flatten` is never used [INFO] [stdout] --> src/flatten.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn flatten(v: Vec>) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `from_pairs` is never used [INFO] [stdout] --> src/from_pairs.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn from_pairs(v: Vec<(&str, T)>) -> HashMap<&str, T> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `head` is never used [INFO] [stdout] --> src/head.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn head(v: Vec) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `index_of` is never used [INFO] [stdout] --> src/index_of.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn index_of(v: Vec, val: T) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `initial` is never used [INFO] [stdout] --> src/initial.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn initial(mut v: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `intersection` is never used [INFO] [stdout] --> src/intersection.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn intersection(v1: Vec, v2: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `join` is never used [INFO] [stdout] --> src/join.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn join(v: Vec, sep: &str) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `last` is never used [INFO] [stdout] --> src/last.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn last(v: Vec) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `last_index_of` is never used [INFO] [stdout] --> src/last_index_of.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn last_index_of(v: Vec, val: T) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nth` is never used [INFO] [stdout] --> src/nth.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn nth(v: Vec, idx: isize) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pull` is never used [INFO] [stdout] --> src/pull.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn pull(v: &mut Vec, vals: Vec) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pull_at` is never used [INFO] [stdout] --> src/pull_at.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn pull_at(v: &mut Vec, mut idxs: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove` is never used [INFO] [stdout] --> src/remove.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn remove(v: &mut Vec, f: F) -> Vec [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reverse` is never used [INFO] [stdout] --> src/reverse.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn reverse(v: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `slice` is never used [INFO] [stdout] --> src/slice.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn slice(v: Vec, start: usize, end: usize) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sorted_index` is never used [INFO] [stdout] --> src/sorted_index.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn sorted_index(v: Vec, val: T) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sorted_last_index` is never used [INFO] [stdout] --> src/sorted_last_index.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn sorted_last_index(v: Vec, val: T) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sorted_uniq` is never used [INFO] [stdout] --> src/sorted_uniq.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn sorted_uniq(v: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tail` is never used [INFO] [stdout] --> src/tail.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn tail(v: Vec) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `take` is never used [INFO] [stdout] --> src/take.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn take(v: Vec, n: usize) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `take_right` is never used [INFO] [stdout] --> src/take_right.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn take_right(v: Vec, n: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `union` is never used [INFO] [stdout] --> src/union.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn union(v1: Vec, v2: Vec) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unzip` is never used [INFO] [stdout] --> src/unzip.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn unzip(v: Vec>) -> Vec> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `without` is never used [INFO] [stdout] --> src/without.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn without(v: Vec, vals: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `xor` is never used [INFO] [stdout] --> src/xor.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn xor(v1: Vec, v2: Vec) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `zip` is never used [INFO] [stdout] --> src/zip.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn zip(v: Vec>) -> Vec> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add` is never used [INFO] [stdout] --> src/add.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn add(v1: T, v2: T) -> T { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ceil` is never used [INFO] [stdout] --> src/ceil.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn ceil(v: T, precision: i32) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `divide` is never used [INFO] [stdout] --> src/divide.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn divide(dividend: T, divisor: T) -> T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `floor` is never used [INFO] [stdout] --> src/floor.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn floor(v: T, precision: i32) -> T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `max` is never used [INFO] [stdout] --> src/max.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn max(v: Vec) -> T { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mean` is never used [INFO] [stdout] --> src/mean.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn mean(v: Vec) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `min` is never used [INFO] [stdout] --> src/min.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn min(v: Vec) -> T { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `multiply` is never used [INFO] [stdout] --> src/multiply.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn multiply(v1: A, v2: B) -> f64 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `round` is never used [INFO] [stdout] --> src/round.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn round(v: T, precision: i32) -> T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `subtract` is never used [INFO] [stdout] --> src/subtract.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn subtract(v1: A, v2: B) -> f64 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sum` is never used [INFO] [stdout] --> src/sum.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn sum(v: Vec) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 47 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/sorted_index.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | Ok(i) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `head` is never used [INFO] [stdout] --> src/head.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn head(v: Vec) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `index_of` is never used [INFO] [stdout] --> src/index_of.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn index_of(v: Vec, val: T) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `last_index_of` is never used [INFO] [stdout] --> src/last_index_of.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn last_index_of(v: Vec, val: T) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.31s [INFO] running `Command { std: "docker" "inspect" "abfbb821ab6e1e14b93831bd8b72fda6dd19fe32e83398436b21a725bf31c7fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abfbb821ab6e1e14b93831bd8b72fda6dd19fe32e83398436b21a725bf31c7fa", kill_on_drop: false }` [INFO] [stdout] abfbb821ab6e1e14b93831bd8b72fda6dd19fe32e83398436b21a725bf31c7fa [INFO] checking colon-0.1.0 against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] extracting crate colon 0.1.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate colon 0.1.0 on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate colon 0.1.0 [INFO] finished tweaking crates.io crate colon 0.1.0 [INFO] tweaked toml for crates.io crate colon 0.1.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 3 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc3fec074e1be4ceca4ca1322bb27b13775d7dcc9e8713ff7f690c88b2af5cbd [INFO] running `Command { std: "docker" "start" "-a" "cc3fec074e1be4ceca4ca1322bb27b13775d7dcc9e8713ff7f690c88b2af5cbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc3fec074e1be4ceca4ca1322bb27b13775d7dcc9e8713ff7f690c88b2af5cbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc3fec074e1be4ceca4ca1322bb27b13775d7dcc9e8713ff7f690c88b2af5cbd", kill_on_drop: false }` [INFO] [stdout] cc3fec074e1be4ceca4ca1322bb27b13775d7dcc9e8713ff7f690c88b2af5cbd [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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d41bb47f4cceab5d6f37f5e559fd6a80a50338efa2829af73fced19db3a8deb5 [INFO] running `Command { std: "docker" "start" "-a" "d41bb47f4cceab5d6f37f5e559fd6a80a50338efa2829af73fced19db3a8deb5", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking colon v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/sorted_index.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | Ok(i) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `chunk` is never used [INFO] [stdout] --> src/chunk.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn chunk(v: Vec, n: usize) -> Vec> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compact` is never used [INFO] [stdout] --> src/compact.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn compact(v: Vec>) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `concat` is never used [INFO] [stdout] --> src/concat.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn concat(v1: Vec, v2: Vec) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `difference` is never used [INFO] [stdout] --> src/difference.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn difference(v1: Vec, v2: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `drop` is never used [INFO] [stdout] --> src/drop.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn drop(v: Vec, n: usize) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fill` is never used [INFO] [stdout] --> src/fill.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn fill(v: Vec, val: T) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_index` is never used [INFO] [stdout] --> src/find_index.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn find_index(v: Vec, f: F) -> usize [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_last_index` is never used [INFO] [stdout] --> src/find_last_index.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn find_last_index(v: Vec, f: F) -> usize [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `first` is never used [INFO] [stdout] --> src/first.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn first(v: Vec) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `flatten` is never used [INFO] [stdout] --> src/flatten.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn flatten(v: Vec>) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `from_pairs` is never used [INFO] [stdout] --> src/from_pairs.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn from_pairs(v: Vec<(&str, T)>) -> HashMap<&str, T> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `head` is never used [INFO] [stdout] --> src/head.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn head(v: Vec) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `index_of` is never used [INFO] [stdout] --> src/index_of.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn index_of(v: Vec, val: T) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `initial` is never used [INFO] [stdout] --> src/initial.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn initial(mut v: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `intersection` is never used [INFO] [stdout] --> src/intersection.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn intersection(v1: Vec, v2: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `join` is never used [INFO] [stdout] --> src/join.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn join(v: Vec, sep: &str) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `last` is never used [INFO] [stdout] --> src/last.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn last(v: Vec) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `last_index_of` is never used [INFO] [stdout] --> src/last_index_of.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn last_index_of(v: Vec, val: T) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nth` is never used [INFO] [stdout] --> src/nth.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn nth(v: Vec, idx: isize) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pull` is never used [INFO] [stdout] --> src/pull.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn pull(v: &mut Vec, vals: Vec) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pull_at` is never used [INFO] [stdout] --> src/pull_at.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn pull_at(v: &mut Vec, mut idxs: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove` is never used [INFO] [stdout] --> src/remove.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn remove(v: &mut Vec, f: F) -> Vec [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reverse` is never used [INFO] [stdout] --> src/reverse.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn reverse(v: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `slice` is never used [INFO] [stdout] --> src/slice.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn slice(v: Vec, start: usize, end: usize) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sorted_index` is never used [INFO] [stdout] --> src/sorted_index.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn sorted_index(v: Vec, val: T) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sorted_last_index` is never used [INFO] [stdout] --> src/sorted_last_index.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn sorted_last_index(v: Vec, val: T) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sorted_uniq` is never used [INFO] [stdout] --> src/sorted_uniq.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn sorted_uniq(v: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tail` is never used [INFO] [stdout] --> src/tail.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn tail(v: Vec) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `take` is never used [INFO] [stdout] --> src/take.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn take(v: Vec, n: usize) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `take_right` is never used [INFO] [stdout] --> src/take_right.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn take_right(v: Vec, n: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `union` is never used [INFO] [stdout] --> src/union.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn union(v1: Vec, v2: Vec) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unzip` is never used [INFO] [stdout] --> src/unzip.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn unzip(v: Vec>) -> Vec> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `without` is never used [INFO] [stdout] --> src/without.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn without(v: Vec, vals: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `xor` is never used [INFO] [stdout] --> src/xor.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn xor(v1: Vec, v2: Vec) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `zip` is never used [INFO] [stdout] --> src/zip.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn zip(v: Vec>) -> Vec> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add` is never used [INFO] [stdout] --> src/add.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn add(v1: T, v2: T) -> T { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ceil` is never used [INFO] [stdout] --> src/ceil.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn ceil(v: T, precision: i32) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `divide` is never used [INFO] [stdout] --> src/divide.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn divide(dividend: T, divisor: T) -> T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `floor` is never used [INFO] [stdout] --> src/floor.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn floor(v: T, precision: i32) -> T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `max` is never used [INFO] [stdout] --> src/max.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn max(v: Vec) -> T { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mean` is never used [INFO] [stdout] --> src/mean.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn mean(v: Vec) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `min` is never used [INFO] [stdout] --> src/min.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn min(v: Vec) -> T { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `multiply` is never used [INFO] [stdout] --> src/multiply.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn multiply(v1: A, v2: B) -> f64 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `round` is never used [INFO] [stdout] --> src/round.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn round(v: T, precision: i32) -> T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `subtract` is never used [INFO] [stdout] --> src/subtract.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn subtract(v1: A, v2: B) -> f64 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sum` is never used [INFO] [stdout] --> src/sum.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn sum(v: Vec) -> f64 { [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/compact.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn compact(v: Vec>) -> Vec { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4 | / v.into_iter() [INFO] [stdout] 5 | | .filter(|x| x.is_some()) [INFO] [stdout] 6 | | .map(|x| x.unwrap()) [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] 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/fill.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn fill(v: Vec, val: T) -> Vec { [INFO] [stdout] | --------- ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4 | v.into_iter().map(|_| val.clone()).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/find_index.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn find_index(v: Vec, f: F) -> usize [INFO] [stdout] | --------- ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 8 | v.into_iter().position(|e| f(e)).unwrap() [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/find_last_index.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn find_last_index(v: Vec, f: F) -> usize [INFO] [stdout] | --------- ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 8 | let mut r = v.clone(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 11 | r.len() - r.into_iter().position(|e| f(e)).unwrap() [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/flatten.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn flatten(v: Vec>) -> Vec { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4 | v.into_iter().flatten().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/remove.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | v.retain(|x| !f(x.to_owned())); [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/remove.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | removed.retain(|x| f(x.to_owned())); [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 7 previous errors; 47 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `colon` (lib) due to 8 previous errors; 47 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/sorted_index.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | Ok(i) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `head` is never used [INFO] [stdout] --> src/head.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn head(v: Vec) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `index_of` is never used [INFO] [stdout] --> src/index_of.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn index_of(v: Vec, val: T) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `last_index_of` is never used [INFO] [stdout] --> src/last_index_of.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn last_index_of(v: Vec, val: T) -> usize { [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/compact.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn compact(v: Vec>) -> Vec { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4 | / v.into_iter() [INFO] [stdout] 5 | | .filter(|x| x.is_some()) [INFO] [stdout] 6 | | .map(|x| x.unwrap()) [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] 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/fill.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn fill(v: Vec, val: T) -> Vec { [INFO] [stdout] | --------- ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4 | v.into_iter().map(|_| val.clone()).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/find_index.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn find_index(v: Vec, f: F) -> usize [INFO] [stdout] | --------- ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 8 | v.into_iter().position(|e| f(e)).unwrap() [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/find_last_index.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn find_last_index(v: Vec, f: F) -> usize [INFO] [stdout] | --------- ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 8 | let mut r = v.clone(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 11 | r.len() - r.into_iter().position(|e| f(e)).unwrap() [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/flatten.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn flatten(v: Vec>) -> Vec { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4 | v.into_iter().flatten().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/remove.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | v.retain(|x| !f(x.to_owned())); [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/remove.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | removed.retain(|x| f(x.to_owned())); [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 7 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `colon` (lib test) due to 8 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d41bb47f4cceab5d6f37f5e559fd6a80a50338efa2829af73fced19db3a8deb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d41bb47f4cceab5d6f37f5e559fd6a80a50338efa2829af73fced19db3a8deb5", kill_on_drop: false }` [INFO] [stdout] d41bb47f4cceab5d6f37f5e559fd6a80a50338efa2829af73fced19db3a8deb5