[INFO] cloning repository https://github.com/iracigt/lichen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iracigt/lichen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Firacigt%2Flichen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Firacigt%2Flichen'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4842b07196b03b252997d8a7d88e24244db7b631 [INFO] checking iracigt/lichen against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Firacigt%2Flichen" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/iracigt/lichen 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 git repo https://github.com/iracigt/lichen [INFO] finished tweaking git repo https://github.com/iracigt/lichen [INFO] tweaked toml for git repo https://github.com/iracigt/lichen written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/iracigt/lichen 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pkg-config v0.3.22 [INFO] [stderr] Downloaded line-wrap v0.1.1 [INFO] [stderr] Downloaded onig v6.3.1 [INFO] [stderr] Downloaded plist v1.3.1 [INFO] [stderr] Downloaded time v0.3.5 [INFO] [stderr] Downloaded itertools v0.10.1 [INFO] [stderr] Downloaded libc v0.2.108 [INFO] [stderr] Downloaded onig_sys v69.7.1 [INFO] [stderr] Downloaded syntect v4.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] c109ef998a0570e2bd203865ba399c1a6185d06baae75201964550da93664c7d [INFO] running `Command { std: "docker" "start" "-a" "c109ef998a0570e2bd203865ba399c1a6185d06baae75201964550da93664c7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c109ef998a0570e2bd203865ba399c1a6185d06baae75201964550da93664c7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c109ef998a0570e2bd203865ba399c1a6185d06baae75201964550da93664c7d", kill_on_drop: false }` [INFO] [stdout] c109ef998a0570e2bd203865ba399c1a6185d06baae75201964550da93664c7d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 10e7c696bf3e94553fee8d70045dbd41db1297acdd01e68f73a8e290d1a720f0 [INFO] running `Command { std: "docker" "start" "-a" "10e7c696bf3e94553fee8d70045dbd41db1297acdd01e68f73a8e290d1a720f0", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Compiling ryu v1.0.6 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking xml-rs v0.8.4 [INFO] [stderr] Checking line-wrap v0.1.1 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Compiling onig_sys v69.7.1 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking time v0.3.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking plist v1.3.1 [INFO] [stderr] Checking onig v6.3.1 [INFO] [stderr] Checking syntect v4.6.0 [INFO] [stderr] Checking lichen v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `filename` and `contents` are never read [INFO] [stdout] --> src/frontend.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct CodeUnit { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 24 | filename: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 25 | contents: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `filename` and `contents` are never read [INFO] [stdout] --> src/frontend.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct CodeUnit { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 24 | filename: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 25 | contents: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `score` is never used [INFO] [stdout] --> src/backend.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 64 | / impl Backend [INFO] [stdout] 65 | | where [INFO] [stdout] 66 | | T : Token, [INFO] [stdout] 67 | | K : Eq + Hash + Clone, [INFO] [stdout] 68 | | H : for<'r> Fn(usize, ElemIter<'r, &T>) -> K, [INFO] [stdout] | |_________________________________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn score(&self, sub: &Submission) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `score` is never used [INFO] [stdout] --> src/backend.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 64 | / impl Backend [INFO] [stdout] 65 | | where [INFO] [stdout] 66 | | T : Token, [INFO] [stdout] 67 | | K : Eq + Hash + Clone, [INFO] [stdout] 68 | | H : for<'r> Fn(usize, ElemIter<'r, &T>) -> K, [INFO] [stdout] | |_________________________________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn score(&self, sub: &Submission) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.02s [INFO] running `Command { std: "docker" "inspect" "10e7c696bf3e94553fee8d70045dbd41db1297acdd01e68f73a8e290d1a720f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10e7c696bf3e94553fee8d70045dbd41db1297acdd01e68f73a8e290d1a720f0", kill_on_drop: false }` [INFO] [stdout] 10e7c696bf3e94553fee8d70045dbd41db1297acdd01e68f73a8e290d1a720f0 [INFO] checking iracigt/lichen against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Firacigt%2Flichen" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/iracigt/lichen 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 git repo https://github.com/iracigt/lichen [INFO] finished tweaking git repo https://github.com/iracigt/lichen [INFO] tweaked toml for git repo https://github.com/iracigt/lichen written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/iracigt/lichen 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] b97a78acefce9884f2dc64c555982dbae74bacb758610acb4513861e0ef7a347 [INFO] running `Command { std: "docker" "start" "-a" "b97a78acefce9884f2dc64c555982dbae74bacb758610acb4513861e0ef7a347", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b97a78acefce9884f2dc64c555982dbae74bacb758610acb4513861e0ef7a347", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b97a78acefce9884f2dc64c555982dbae74bacb758610acb4513861e0ef7a347", kill_on_drop: false }` [INFO] [stdout] b97a78acefce9884f2dc64c555982dbae74bacb758610acb4513861e0ef7a347 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] ca9facef03ef38916ea3866738ce0cbe5f2566ac1fb1e00ba3fa20d9c23e380f [INFO] running `Command { std: "docker" "start" "-a" "ca9facef03ef38916ea3866738ce0cbe5f2566ac1fb1e00ba3fa20d9c23e380f", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling ryu v1.0.6 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking xml-rs v0.8.4 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking line-wrap v0.1.1 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling onig_sys v69.7.1 [INFO] [stderr] Checking time v0.3.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking plist v1.3.1 [INFO] [stderr] Checking onig v6.3.1 [INFO] [stderr] Checking syntect v4.6.0 [INFO] [stderr] Checking lichen v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `filename` and `contents` are never read [INFO] [stdout] --> src/frontend.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct CodeUnit { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 24 | filename: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 25 | contents: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `score` is never used [INFO] [stdout] --> src/backend.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 64 | / impl Backend [INFO] [stdout] 65 | | where [INFO] [stdout] 66 | | T : Token, [INFO] [stdout] 67 | | K : Eq + Hash + Clone, [INFO] [stdout] 68 | | H : for<'r> Fn(usize, ElemIter<'r, &T>) -> K, [INFO] [stdout] | |_________________________________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn score(&self, sub: &Submission) -> Vec { [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/ingestor.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn ingest_dir(&self, fe: &F, path: P, source_fn: S) -> 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] ... [INFO] [stdout] 29 | / fs::read_dir(path).unwrap().filter_map(|r| { [INFO] [stdout] 30 | | let path = r.unwrap().path(); [INFO] [stdout] 31 | | [INFO] [stdout] 32 | | if path.is_dir() { [INFO] [stdout] ... | [INFO] [stdout] 54 | | } [INFO] [stdout] 55 | | }).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] = 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/ngram.rs:18:47 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(iter: I, n: usize, hash: F) -> NGramHashIterator { [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] 18 | NGramHashIterator { iter: iter, reg : VecDeque::with_capacity(n), n: n, hash: hash } [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/frontend.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 88 | let tokens = t.tokenize(path, &text); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 89 | [INFO] [stdout] 90 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 91 | | filename: path.file_name().and_then(OsStr::to_str).map(&str::to_string), [INFO] [stdout] 92 | | contents: text, [INFO] [stdout] 93 | | tokens, [INFO] [stdout] 94 | | }) [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/frontend.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn files<'a, F: Tokenizer, I: Iterator>(t: &F, src: Source, paths: I) -> Result { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 111 | Ok(Self { src, units : paths.map(|p| CodeUnit::from_path(t, p)).collect::>, String>>()? } ) [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/backend.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn new(n: usize, hash: H) -> Self { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 73 | map : HashMap::with_capacity(1<<16), [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 5 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `filename` and `contents` are never read [INFO] [stdout] --> src/frontend.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct CodeUnit { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 24 | filename: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 25 | contents: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `score` is never used [INFO] [stdout] --> src/backend.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 64 | / impl Backend [INFO] [stdout] 65 | | where [INFO] [stdout] 66 | | T : Token, [INFO] [stdout] 67 | | K : Eq + Hash + Clone, [INFO] [stdout] 68 | | H : for<'r> Fn(usize, ElemIter<'r, &T>) -> K, [INFO] [stdout] | |_________________________________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn score(&self, sub: &Submission) -> Vec { [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/ingestor.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn ingest_dir(&self, fe: &F, path: P, source_fn: S) -> 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] ... [INFO] [stdout] 29 | / fs::read_dir(path).unwrap().filter_map(|r| { [INFO] [stdout] 30 | | let path = r.unwrap().path(); [INFO] [stdout] 31 | | [INFO] [stdout] 32 | | if path.is_dir() { [INFO] [stdout] ... | [INFO] [stdout] 54 | | } [INFO] [stdout] 55 | | }).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] = 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/ngram.rs:18:47 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(iter: I, n: usize, hash: F) -> NGramHashIterator { [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] 18 | NGramHashIterator { iter: iter, reg : VecDeque::with_capacity(n), n: n, hash: hash } [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/frontend.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 88 | let tokens = t.tokenize(path, &text); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 89 | [INFO] [stdout] 90 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 91 | | filename: path.file_name().and_then(OsStr::to_str).map(&str::to_string), [INFO] [stdout] 92 | | contents: text, [INFO] [stdout] 93 | | tokens, [INFO] [stdout] 94 | | }) [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/frontend.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn files<'a, F: Tokenizer, I: Iterator>(t: &F, src: Source, paths: I) -> Result { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 111 | Ok(Self { src, units : paths.map(|p| CodeUnit::from_path(t, p)).collect::>, String>>()? } ) [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] [stderr] error: could not compile `lichen` (bin "lichen") due to 6 previous errors; 2 warnings emitted [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/backend.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn new(n: usize, hash: H) -> Self { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 73 | map : HashMap::with_capacity(1<<16), [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 5 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lichen` (bin "lichen" test) due to 6 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ca9facef03ef38916ea3866738ce0cbe5f2566ac1fb1e00ba3fa20d9c23e380f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca9facef03ef38916ea3866738ce0cbe5f2566ac1fb1e00ba3fa20d9c23e380f", kill_on_drop: false }` [INFO] [stdout] ca9facef03ef38916ea3866738ce0cbe5f2566ac1fb1e00ba3fa20d9c23e380f