[INFO] cloning repository https://github.com/pandaman64/claps [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pandaman64/claps" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpandaman64%2Fclaps", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpandaman64%2Fclaps'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 997fb5dfb5a9b96d6c21130f86c0bfc983cdbfe2 [INFO] checking pandaman64/claps against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpandaman64%2Fclaps" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pandaman64/claps 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/pandaman64/claps [INFO] finished tweaking git repo https://github.com/pandaman64/claps [INFO] tweaked toml for git repo https://github.com/pandaman64/claps written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/pandaman64/claps 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 smallbitvec v2.5.1 [INFO] [stderr] Downloaded rust-sitter-common v0.3.4 [INFO] [stderr] Downloaded tree-sitter-loader v0.20.0 [INFO] [stderr] Downloaded tree-sitter-tags v0.20.2 [INFO] [stderr] Downloaded tree-sitter-config v0.19.0 [INFO] [stderr] Downloaded syn-inline-mod v0.5.0 [INFO] [stderr] Downloaded rust-sitter-tool v0.3.4 [INFO] [stderr] Downloaded rust-sitter-macro v0.3.4 [INFO] [stderr] Downloaded tree-sitter-cli v0.20.8 [INFO] [stderr] Downloaded rust-sitter v0.3.4 [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] 88359368b03c1549c2e70b45e082f64f19dfda75bb034183e640c87c99b30a0d [INFO] running `Command { std: "docker" "start" "-a" "88359368b03c1549c2e70b45e082f64f19dfda75bb034183e640c87c99b30a0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "88359368b03c1549c2e70b45e082f64f19dfda75bb034183e640c87c99b30a0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88359368b03c1549c2e70b45e082f64f19dfda75bb034183e640c87c99b30a0d", kill_on_drop: false }` [INFO] [stdout] 88359368b03c1549c2e70b45e082f64f19dfda75bb034183e640c87c99b30a0d [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] 8ac01ea203e28f5248ca01948598594cb9ff52451269c59052807cf26d89cd46 [INFO] running `Command { std: "docker" "start" "-a" "8ac01ea203e28f5248ca01948598594cb9ff52451269c59052807cf26d89cd46", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.63 [INFO] [stderr] Compiling quote v1.0.29 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling regex-syntax v0.7.2 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling anyhow v1.0.71 [INFO] [stderr] Compiling aho-corasick v1.0.2 [INFO] [stderr] Compiling syn v2.0.22 [INFO] [stderr] Compiling serde_json v1.0.99 [INFO] [stderr] Compiling tree-sitter v0.20.10 [INFO] [stderr] Compiling equivalent v1.0.0 [INFO] [stderr] Compiling indexmap v2.0.0 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling ryu v1.0.13 [INFO] [stderr] Compiling itoa v1.0.6 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling regex v1.8.4 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling rustix v0.37.21 [INFO] [stderr] Compiling semver v1.0.17 [INFO] [stderr] Compiling tree-sitter-loader v0.20.0 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling url v2.4.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling tempfile v3.6.0 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling ascii v1.1.0 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling home v0.5.5 [INFO] [stderr] Compiling utf8-width v0.1.6 [INFO] [stderr] Compiling chunked_transfer v1.4.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling walkdir v2.3.3 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling rust-sitter-common v0.3.4 [INFO] [stderr] Compiling tiny_http v0.12.0 [INFO] [stderr] Compiling html-escape v0.2.13 [INFO] [stderr] Compiling webbrowser v0.8.10 [INFO] [stderr] Compiling tree-sitter-tags v0.20.2 [INFO] [stderr] Compiling tree-sitter-highlight v0.20.1 [INFO] [stderr] Compiling which v4.4.0 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling smallbitvec v2.5.1 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling syn-inline-mod v0.5.0 [INFO] [stderr] Compiling c2rust-bitfields-derive v0.2.1 [INFO] [stderr] Compiling rust-sitter-macro v0.3.4 [INFO] [stderr] Checking c2rust-bitfields v0.3.0 [INFO] [stderr] Checking tree-sitter-c2rust v0.20.10 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Checking rust-sitter v0.3.4 [INFO] [stderr] Compiling tree-sitter-config v0.19.0 [INFO] [stderr] Compiling tree-sitter-cli v0.20.8 [INFO] [stderr] Compiling rust-sitter-tool v0.3.4 [INFO] [stderr] Compiling claps v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `toplevel_map` [INFO] [stdout] --> src/main.rs:158:10 [INFO] [stdout] | [INFO] [stdout] 158 | let (toplevel_map, program) = ast::alpha_conversion(&mut ident_generator, &program); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_toplevel_map` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cps_definitions` [INFO] [stdout] --> src/main.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | let cps_definitions = cps::Converter::new(ident_generator).convert(&program); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cps_definitions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cps.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | Int(i64), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 5 | Int(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cps.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | Var(Ident), [INFO] [stdout] | --- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 6 | Var(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Label` is never constructed [INFO] [stdout] --> src/cps.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum CValue { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 7 | Label(Ident), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `args`, and `body` are never read [INFO] [stdout] --> src/cps.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct CDefinition { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 12 | pub name: Ident, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | pub args: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | pub body: CExpr, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CDefinition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `fun` and `args` are never read [INFO] [stdout] --> src/cps.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | App { [INFO] [stdout] | --- fields in this variant [INFO] [stdout] 20 | fun: CValue, [INFO] [stdout] | ^^^ [INFO] [stdout] 21 | args: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `defs` and `body` are never read [INFO] [stdout] --> src/cps.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | Fix { [INFO] [stdout] | --- fields in this variant [INFO] [stdout] 24 | defs: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 25 | body: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cond`, `then_branch`, and `else_branch` are never read [INFO] [stdout] --> src/cps.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 27 | If { [INFO] [stdout] | -- fields in this variant [INFO] [stdout] 28 | cond: CValue, [INFO] [stdout] | ^^^^ [INFO] [stdout] 29 | then_branch: Box, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 30 | else_branch: Box, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cps.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | PrimOp(PrimOp), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 32 | PrimOp(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `op`, `left`, `right`, `var`, and `cont` are never read [INFO] [stdout] --> src/cps.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 37 | BinOp { [INFO] [stdout] | ----- fields in this variant [INFO] [stdout] 38 | op: BinOp, [INFO] [stdout] | ^^ [INFO] [stdout] 39 | left: CValue, [INFO] [stdout] | ^^^^ [INFO] [stdout] 40 | right: CValue, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 41 | var: Ident, [INFO] [stdout] | ^^^ [INFO] [stdout] 42 | cont: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PrimOp` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `toplevel_map` [INFO] [stdout] --> src/main.rs:158:10 [INFO] [stdout] | [INFO] [stdout] 158 | let (toplevel_map, program) = ast::alpha_conversion(&mut ident_generator, &program); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_toplevel_map` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cps_definitions` [INFO] [stdout] --> src/main.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | let cps_definitions = cps::Converter::new(ident_generator).convert(&program); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cps_definitions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cps.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | Int(i64), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 5 | Int(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cps.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | Var(Ident), [INFO] [stdout] | --- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 6 | Var(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Label` is never constructed [INFO] [stdout] --> src/cps.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum CValue { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 7 | Label(Ident), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `args`, and `body` are never read [INFO] [stdout] --> src/cps.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct CDefinition { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 12 | pub name: Ident, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | pub args: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | pub body: CExpr, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CDefinition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `fun` and `args` are never read [INFO] [stdout] --> src/cps.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | App { [INFO] [stdout] | --- fields in this variant [INFO] [stdout] 20 | fun: CValue, [INFO] [stdout] | ^^^ [INFO] [stdout] 21 | args: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `defs` and `body` are never read [INFO] [stdout] --> src/cps.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | Fix { [INFO] [stdout] | --- fields in this variant [INFO] [stdout] 24 | defs: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 25 | body: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cond`, `then_branch`, and `else_branch` are never read [INFO] [stdout] --> src/cps.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 27 | If { [INFO] [stdout] | -- fields in this variant [INFO] [stdout] 28 | cond: CValue, [INFO] [stdout] | ^^^^ [INFO] [stdout] 29 | then_branch: Box, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 30 | else_branch: Box, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cps.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | PrimOp(PrimOp), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 32 | PrimOp(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `op`, `left`, `right`, `var`, and `cont` are never read [INFO] [stdout] --> src/cps.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 37 | BinOp { [INFO] [stdout] | ----- fields in this variant [INFO] [stdout] 38 | op: BinOp, [INFO] [stdout] | ^^ [INFO] [stdout] 39 | left: CValue, [INFO] [stdout] | ^^^^ [INFO] [stdout] 40 | right: CValue, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 41 | var: Ident, [INFO] [stdout] | ^^^ [INFO] [stdout] 42 | cont: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PrimOp` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.37s [INFO] running `Command { std: "docker" "inspect" "8ac01ea203e28f5248ca01948598594cb9ff52451269c59052807cf26d89cd46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ac01ea203e28f5248ca01948598594cb9ff52451269c59052807cf26d89cd46", kill_on_drop: false }` [INFO] [stdout] 8ac01ea203e28f5248ca01948598594cb9ff52451269c59052807cf26d89cd46 [INFO] checking pandaman64/claps 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%2Fpandaman64%2Fclaps" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pandaman64/claps 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/pandaman64/claps [INFO] finished tweaking git repo https://github.com/pandaman64/claps [INFO] tweaked toml for git repo https://github.com/pandaman64/claps written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/pandaman64/claps 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-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] 19eec63ac18188775388f021048286ea5c5fdde4521bd9a58aa7f2dc8473afed [INFO] running `Command { std: "docker" "start" "-a" "19eec63ac18188775388f021048286ea5c5fdde4521bd9a58aa7f2dc8473afed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "19eec63ac18188775388f021048286ea5c5fdde4521bd9a58aa7f2dc8473afed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19eec63ac18188775388f021048286ea5c5fdde4521bd9a58aa7f2dc8473afed", kill_on_drop: false }` [INFO] [stdout] 19eec63ac18188775388f021048286ea5c5fdde4521bd9a58aa7f2dc8473afed [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] ee1492db22d8712689132342ea4d8ba16167474b13654b633ce621c163bb7e3e [INFO] running `Command { std: "docker" "start" "-a" "ee1492db22d8712689132342ea4d8ba16167474b13654b633ce621c163bb7e3e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.63 [INFO] [stderr] Compiling quote v1.0.29 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling regex-syntax v0.7.2 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling aho-corasick v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.99 [INFO] [stderr] Compiling anyhow v1.0.71 [INFO] [stderr] Compiling equivalent v1.0.0 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling tree-sitter v0.20.10 [INFO] [stderr] Compiling indexmap v2.0.0 [INFO] [stderr] Compiling syn v2.0.22 [INFO] [stderr] Compiling itoa v1.0.6 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling ryu v1.0.13 [INFO] [stderr] Compiling regex v1.8.4 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling rustix v0.37.21 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling semver v1.0.17 [INFO] [stderr] Compiling tree-sitter-loader v0.20.0 [INFO] [stderr] Compiling url v2.4.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling tempfile v3.6.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling home v0.5.5 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling chunked_transfer v1.4.1 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling ascii v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling utf8-width v0.1.6 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling which v4.4.0 [INFO] [stderr] Compiling html-escape v0.2.13 [INFO] [stderr] Compiling rust-sitter-common v0.3.4 [INFO] [stderr] Compiling tiny_http v0.12.0 [INFO] [stderr] Compiling webbrowser v0.8.10 [INFO] [stderr] Compiling walkdir v2.3.3 [INFO] [stderr] Compiling tree-sitter-highlight v0.20.1 [INFO] [stderr] Compiling tree-sitter-tags v0.20.2 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling smallbitvec v2.5.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling syn-inline-mod v0.5.0 [INFO] [stderr] Compiling c2rust-bitfields-derive v0.2.1 [INFO] [stderr] Compiling rust-sitter-macro v0.3.4 [INFO] [stderr] Checking c2rust-bitfields v0.3.0 [INFO] [stderr] Checking tree-sitter-c2rust v0.20.10 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Checking rust-sitter v0.3.4 [INFO] [stderr] Compiling tree-sitter-config v0.19.0 [INFO] [stderr] Compiling tree-sitter-cli v0.20.8 [INFO] [stderr] Compiling rust-sitter-tool v0.3.4 [INFO] [stderr] Compiling claps v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `toplevel_map` [INFO] [stdout] --> src/main.rs:158:10 [INFO] [stdout] | [INFO] [stdout] 158 | let (toplevel_map, program) = ast::alpha_conversion(&mut ident_generator, &program); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_toplevel_map` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cps_definitions` [INFO] [stdout] --> src/main.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | let cps_definitions = cps::Converter::new(ident_generator).convert(&program); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cps_definitions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cps.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | Int(i64), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 5 | Int(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cps.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | Var(Ident), [INFO] [stdout] | --- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 6 | Var(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Label` is never constructed [INFO] [stdout] --> src/cps.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum CValue { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 7 | Label(Ident), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `args`, and `body` are never read [INFO] [stdout] --> src/cps.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct CDefinition { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 12 | pub name: Ident, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | pub args: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | pub body: CExpr, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CDefinition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `fun` and `args` are never read [INFO] [stdout] --> src/cps.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | App { [INFO] [stdout] | --- fields in this variant [INFO] [stdout] 20 | fun: CValue, [INFO] [stdout] | ^^^ [INFO] [stdout] 21 | args: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `defs` and `body` are never read [INFO] [stdout] --> src/cps.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | Fix { [INFO] [stdout] | --- fields in this variant [INFO] [stdout] 24 | defs: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 25 | body: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cond`, `then_branch`, and `else_branch` are never read [INFO] [stdout] --> src/cps.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 27 | If { [INFO] [stdout] | -- fields in this variant [INFO] [stdout] 28 | cond: CValue, [INFO] [stdout] | ^^^^ [INFO] [stdout] 29 | then_branch: Box, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 30 | else_branch: Box, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cps.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | PrimOp(PrimOp), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 32 | PrimOp(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `op`, `left`, `right`, `var`, and `cont` are never read [INFO] [stdout] --> src/cps.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 37 | BinOp { [INFO] [stdout] | ----- fields in this variant [INFO] [stdout] 38 | op: BinOp, [INFO] [stdout] | ^^ [INFO] [stdout] 39 | left: CValue, [INFO] [stdout] | ^^^^ [INFO] [stdout] 40 | right: CValue, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 41 | var: Ident, [INFO] [stdout] | ^^^ [INFO] [stdout] 42 | cont: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PrimOp` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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/cps.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 140 | cont: ConversionCont<'_>, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 144 | / Box::new(move |this, left| { [INFO] [stdout] 145 | | this.convert_expr( [INFO] [stdout] 146 | | right, [INFO] [stdout] 147 | | Box::new(move |this, right| { [INFO] [stdout] ... | [INFO] [stdout] 157 | | ) [INFO] [stdout] 158 | | }), [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/cps.rs:147:21 [INFO] [stdout] | [INFO] [stdout] 140 | cont: ConversionCont<'_>, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 147 | / Box::new(move |this, right| { [INFO] [stdout] 148 | | let var = this.fresh_var(op.var_prefix()); [INFO] [stdout] 149 | | CExpr::PrimOp(PrimOp::BinOp { [INFO] [stdout] 150 | | op, [INFO] [stdout] ... | [INFO] [stdout] 155 | | }) [INFO] [stdout] 156 | | }), [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/cps.rs:149:39 [INFO] [stdout] | [INFO] [stdout] 140 | cont: ConversionCont<'_>, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 149 | CExpr::PrimOp(PrimOp::BinOp { [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 150 | | op, [INFO] [stdout] 151 | | left, [INFO] [stdout] 152 | | right, [INFO] [stdout] 153 | | var: var.clone(), [INFO] [stdout] 154 | | cont: Box::new(cont(this, CValue::Var(var))), [INFO] [stdout] 155 | | }) [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/cps.rs:209:19 [INFO] [stdout] | [INFO] [stdout] 192 | cont: ConversionCont<'_>, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 209 | body: Box::new(self.convert_expr(body, cont)), [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/cps.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 218 | cont: ConversionCont<'_>, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 222 | / Box::new(move |this, cond| { [INFO] [stdout] 223 | | // Define a continuation function that takes a boolean and passes it to the given cont. [INFO] [stdout] 224 | | // NOTE: we need to introduce a new variable to bound the size of converted form. [INFO] [stdout] 225 | | let cont_var = this.fresh_var("k_if"); [INFO] [stdout] ... | [INFO] [stdout] 253 | | } [INFO] [stdout] 254 | | }), [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/cps.rs:236:27 [INFO] [stdout] | [INFO] [stdout] 218 | cont: ConversionCont<'_>, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 227 | let k = CDefinition { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 236 | body: Box::new(CExpr::If { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 237 | | cond, [INFO] [stdout] 238 | | then_branch: Box::new(this.convert_expr(then_branch, { [INFO] [stdout] 239 | | let cont_var = cont_var.clone(); [INFO] [stdout] ... | [INFO] [stdout] 251 | | )), [INFO] [stdout] 252 | | }), [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/interp.rs:126:10 [INFO] [stdout] | [INFO] [stdout] 109 | let env = Env { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 126 | &Expr::Call { [INFO] [stdout] | __________^ [INFO] [stdout] 127 | | fun: Box::new(Expr::Var(Ident { [INFO] [stdout] 128 | | ident: "main".to_string(), [INFO] [stdout] 129 | | })), [INFO] [stdout] ... | [INFO] [stdout] 132 | | _close_paren: (), [INFO] [stdout] 133 | | }, [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/pretty.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 14 | fn from_iter>>(iter: T) -> Self { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | Self { [INFO] [stdout] 16 | docs: iter.into_iter().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: aborting due to 8 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `toplevel_map` [INFO] [stdout] --> src/main.rs:158:10 [INFO] [stdout] | [INFO] [stdout] 158 | let (toplevel_map, program) = ast::alpha_conversion(&mut ident_generator, &program); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_toplevel_map` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cps_definitions` [INFO] [stdout] --> src/main.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | let cps_definitions = cps::Converter::new(ident_generator).convert(&program); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cps_definitions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cps.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | Int(i64), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 5 | Int(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cps.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | Var(Ident), [INFO] [stdout] | --- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 6 | Var(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Label` is never constructed [INFO] [stdout] --> src/cps.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum CValue { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 7 | Label(Ident), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `args`, and `body` are never read [INFO] [stdout] --> src/cps.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct CDefinition { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 12 | pub name: Ident, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | pub args: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | pub body: CExpr, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CDefinition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `fun` and `args` are never read [INFO] [stdout] --> src/cps.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | App { [INFO] [stdout] | --- fields in this variant [INFO] [stdout] 20 | fun: CValue, [INFO] [stdout] | ^^^ [INFO] [stdout] 21 | args: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `defs` and `body` are never read [INFO] [stdout] --> src/cps.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | Fix { [INFO] [stdout] | --- fields in this variant [INFO] [stdout] 24 | defs: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 25 | body: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cond`, `then_branch`, and `else_branch` are never read [INFO] [stdout] --> src/cps.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 27 | If { [INFO] [stdout] | -- fields in this variant [INFO] [stdout] 28 | cond: CValue, [INFO] [stdout] | ^^^^ [INFO] [stdout] 29 | then_branch: Box, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 30 | else_branch: Box, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cps.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | PrimOp(PrimOp), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 32 | PrimOp(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `op`, `left`, `right`, `var`, and `cont` are never read [INFO] [stdout] --> src/cps.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 37 | BinOp { [INFO] [stdout] | ----- fields in this variant [INFO] [stdout] 38 | op: BinOp, [INFO] [stdout] | ^^ [INFO] [stdout] 39 | left: CValue, [INFO] [stdout] | ^^^^ [INFO] [stdout] 40 | right: CValue, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 41 | var: Ident, [INFO] [stdout] | ^^^ [INFO] [stdout] 42 | cont: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PrimOp` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `claps` (bin "claps") due to 9 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/cps.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 140 | cont: ConversionCont<'_>, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 144 | / Box::new(move |this, left| { [INFO] [stdout] 145 | | this.convert_expr( [INFO] [stdout] 146 | | right, [INFO] [stdout] 147 | | Box::new(move |this, right| { [INFO] [stdout] ... | [INFO] [stdout] 157 | | ) [INFO] [stdout] 158 | | }), [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/cps.rs:147:21 [INFO] [stdout] | [INFO] [stdout] 140 | cont: ConversionCont<'_>, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 147 | / Box::new(move |this, right| { [INFO] [stdout] 148 | | let var = this.fresh_var(op.var_prefix()); [INFO] [stdout] 149 | | CExpr::PrimOp(PrimOp::BinOp { [INFO] [stdout] 150 | | op, [INFO] [stdout] ... | [INFO] [stdout] 155 | | }) [INFO] [stdout] 156 | | }), [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/cps.rs:149:39 [INFO] [stdout] | [INFO] [stdout] 140 | cont: ConversionCont<'_>, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 149 | CExpr::PrimOp(PrimOp::BinOp { [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 150 | | op, [INFO] [stdout] 151 | | left, [INFO] [stdout] 152 | | right, [INFO] [stdout] 153 | | var: var.clone(), [INFO] [stdout] 154 | | cont: Box::new(cont(this, CValue::Var(var))), [INFO] [stdout] 155 | | }) [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/cps.rs:209:19 [INFO] [stdout] | [INFO] [stdout] 192 | cont: ConversionCont<'_>, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 209 | body: Box::new(self.convert_expr(body, cont)), [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/cps.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 218 | cont: ConversionCont<'_>, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 222 | / Box::new(move |this, cond| { [INFO] [stdout] 223 | | // Define a continuation function that takes a boolean and passes it to the given cont. [INFO] [stdout] 224 | | // NOTE: we need to introduce a new variable to bound the size of converted form. [INFO] [stdout] 225 | | let cont_var = this.fresh_var("k_if"); [INFO] [stdout] ... | [INFO] [stdout] 253 | | } [INFO] [stdout] 254 | | }), [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/cps.rs:236:27 [INFO] [stdout] | [INFO] [stdout] 218 | cont: ConversionCont<'_>, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 227 | let k = CDefinition { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 236 | body: Box::new(CExpr::If { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 237 | | cond, [INFO] [stdout] 238 | | then_branch: Box::new(this.convert_expr(then_branch, { [INFO] [stdout] 239 | | let cont_var = cont_var.clone(); [INFO] [stdout] ... | [INFO] [stdout] 251 | | )), [INFO] [stdout] 252 | | }), [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/interp.rs:126:10 [INFO] [stdout] | [INFO] [stdout] 109 | let env = Env { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 126 | &Expr::Call { [INFO] [stdout] | __________^ [INFO] [stdout] 127 | | fun: Box::new(Expr::Var(Ident { [INFO] [stdout] 128 | | ident: "main".to_string(), [INFO] [stdout] 129 | | })), [INFO] [stdout] ... | [INFO] [stdout] 132 | | _close_paren: (), [INFO] [stdout] 133 | | }, [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/pretty.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 14 | fn from_iter>>(iter: T) -> Self { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | Self { [INFO] [stdout] 16 | docs: iter.into_iter().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: aborting due to 8 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `claps` (bin "claps" test) due to 9 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ee1492db22d8712689132342ea4d8ba16167474b13654b633ce621c163bb7e3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee1492db22d8712689132342ea4d8ba16167474b13654b633ce621c163bb7e3e", kill_on_drop: false }` [INFO] [stdout] ee1492db22d8712689132342ea4d8ba16167474b13654b633ce621c163bb7e3e