[INFO] cloning repository https://github.com/lann/wasm-idl [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lann/wasm-idl" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flann%2Fwasm-idl", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flann%2Fwasm-idl'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fb474475ca89130af5f96e247407eb6a21c64947 [INFO] checking lann/wasm-idl against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flann%2Fwasm-idl" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lann/wasm-idl 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/lann/wasm-idl [INFO] finished tweaking git repo https://github.com/lann/wasm-idl [INFO] tweaked toml for git repo https://github.com/lann/wasm-idl written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/lann/wasm-idl 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] Downloading crates ... [INFO] [stderr] Downloaded opaque-debug v0.2.2 [INFO] [stderr] Downloaded pest_meta v2.1.1 [INFO] [stderr] Downloaded block-padding v0.1.4 [INFO] [stderr] Downloaded syn v0.15.36 [INFO] [stderr] Downloaded pest v2.1.1 [INFO] [stderr] Downloaded generic-array v0.12.0 [INFO] [stderr] Downloaded digest v0.8.0 [INFO] [stderr] Downloaded sha-1 v0.8.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 921bc35dd59c7295fd3b4ab65113b6dd0e2899234657c9b5380ec173694d1bed [INFO] running `Command { std: "docker" "start" "-a" "921bc35dd59c7295fd3b4ab65113b6dd0e2899234657c9b5380ec173694d1bed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "921bc35dd59c7295fd3b4ab65113b6dd0e2899234657c9b5380ec173694d1bed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "921bc35dd59c7295fd3b4ab65113b6dd0e2899234657c9b5380ec173694d1bed", kill_on_drop: false }` [INFO] [stdout] 921bc35dd59c7295fd3b4ab65113b6dd0e2899234657c9b5380ec173694d1bed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 3826d747e2d3e2b55583b2e6fa385f3b5b0a94b90e9bc6fde62ef734a5621268 [INFO] running `Command { std: "docker" "start" "-a" "3826d747e2d3e2b55583b2e6fa385f3b5b0a94b90e9bc6fde62ef734a5621268", kill_on_drop: false }` [INFO] [stderr] Compiling ucd-trie v0.1.1 [INFO] [stderr] Compiling syn v0.15.36 [INFO] [stderr] Compiling maplit v1.0.1 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Checking pest v2.1.1 [INFO] [stderr] Compiling pest_meta v2.1.1 [INFO] [stderr] Compiling pest_generator v2.1.0 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking wasm-idl v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `builtin_types` [INFO] [stdout] --> src/main.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let builtin_types = builtins::parse_types(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_builtin_types` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | Bool(bool), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AttrValue` 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] 14 | Bool(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | Int(i64), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AttrValue` 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] 15 | Int(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | Str(String), [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AttrValue` 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] 16 | Str(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `label`, `typ`, and `attrs` are never read [INFO] [stdout] --> src/model.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct LabeledType<'a> { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 21 | pub label: Option<&'a str>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | pub typ: Type<'a>, [INFO] [stdout] | ^^^ [INFO] [stdout] 23 | pub attrs: Option>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LabeledType` 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/model.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | Named(&'a str), [INFO] [stdout] | ----- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Type` 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] 28 | Named(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | Pointer(Box>), [INFO] [stdout] | ------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Type` 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] 29 | Pointer(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | Vector(Box>), [INFO] [stdout] | ------ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Type` 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] 30 | Vector(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/model.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | Array(u32, Box>), [INFO] [stdout] | ----- ^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Type` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 31 | Array((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | Struct(Vec>), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Type` 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 | Struct(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `globals` and `funcs` are never read [INFO] [stdout] --> src/model.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Export<'a> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 37 | pub globals: Vec>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 38 | pub funcs: Vec>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Export` 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`, `globals`, `funcs`, and `attrs` are never read [INFO] [stdout] --> src/model.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Import<'a> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 43 | pub name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 44 | pub globals: Vec>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 45 | pub funcs: Vec>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 46 | pub attrs: Option>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Import` 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`, `typ`, and `attrs` are never read [INFO] [stdout] --> src/model.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct GlobalDecl<'a> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 51 | pub name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 52 | pub typ: Type<'a>, [INFO] [stdout] | ^^^ [INFO] [stdout] 53 | pub attrs: Option>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GlobalDecl` 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`, `result`, and `attrs` are never read [INFO] [stdout] --> src/model.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct FuncDecl<'a> { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 58 | pub name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 59 | pub args: Vec>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 60 | pub result: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 61 | pub attrs: Option>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FuncDecl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `builtin_types` [INFO] [stdout] --> src/main.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let builtin_types = builtins::parse_types(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_builtin_types` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | Bool(bool), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AttrValue` 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] 14 | Bool(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | Int(i64), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AttrValue` 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] 15 | Int(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | Str(String), [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AttrValue` 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] 16 | Str(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `label`, `typ`, and `attrs` are never read [INFO] [stdout] --> src/model.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct LabeledType<'a> { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 21 | pub label: Option<&'a str>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | pub typ: Type<'a>, [INFO] [stdout] | ^^^ [INFO] [stdout] 23 | pub attrs: Option>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LabeledType` 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/model.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | Named(&'a str), [INFO] [stdout] | ----- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Type` 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] 28 | Named(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | Pointer(Box>), [INFO] [stdout] | ------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Type` 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] 29 | Pointer(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | Vector(Box>), [INFO] [stdout] | ------ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Type` 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] 30 | Vector(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/model.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | Array(u32, Box>), [INFO] [stdout] | ----- ^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Type` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 31 | Array((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | Struct(Vec>), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Type` 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 | Struct(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `globals` and `funcs` are never read [INFO] [stdout] --> src/model.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Export<'a> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 37 | pub globals: Vec>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 38 | pub funcs: Vec>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Export` 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`, `globals`, `funcs`, and `attrs` are never read [INFO] [stdout] --> src/model.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Import<'a> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 43 | pub name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 44 | pub globals: Vec>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 45 | pub funcs: Vec>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 46 | pub attrs: Option>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Import` 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`, `typ`, and `attrs` are never read [INFO] [stdout] --> src/model.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct GlobalDecl<'a> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 51 | pub name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 52 | pub typ: Type<'a>, [INFO] [stdout] | ^^^ [INFO] [stdout] 53 | pub attrs: Option>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GlobalDecl` 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`, `result`, and `attrs` are never read [INFO] [stdout] --> src/model.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct FuncDecl<'a> { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 58 | pub name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 59 | pub args: Vec>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 60 | pub result: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 61 | pub attrs: Option>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FuncDecl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.94s [INFO] running `Command { std: "docker" "inspect" "3826d747e2d3e2b55583b2e6fa385f3b5b0a94b90e9bc6fde62ef734a5621268", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3826d747e2d3e2b55583b2e6fa385f3b5b0a94b90e9bc6fde62ef734a5621268", kill_on_drop: false }` [INFO] [stdout] 3826d747e2d3e2b55583b2e6fa385f3b5b0a94b90e9bc6fde62ef734a5621268 [INFO] checking lann/wasm-idl 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%2Flann%2Fwasm-idl" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lann/wasm-idl 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/lann/wasm-idl [INFO] finished tweaking git repo https://github.com/lann/wasm-idl [INFO] tweaked toml for git repo https://github.com/lann/wasm-idl written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/lann/wasm-idl 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 9aabd7921413ebd60ce6939fae57636b7adff9ccb09a1f0db74ede686d7ab520 [INFO] running `Command { std: "docker" "start" "-a" "9aabd7921413ebd60ce6939fae57636b7adff9ccb09a1f0db74ede686d7ab520", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9aabd7921413ebd60ce6939fae57636b7adff9ccb09a1f0db74ede686d7ab520", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9aabd7921413ebd60ce6939fae57636b7adff9ccb09a1f0db74ede686d7ab520", kill_on_drop: false }` [INFO] [stdout] 9aabd7921413ebd60ce6939fae57636b7adff9ccb09a1f0db74ede686d7ab520 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] ecc7bbec03aa8474efa7b3fc060e631f6cab625e97df056ae4377e8ad6d58e97 [INFO] running `Command { std: "docker" "start" "-a" "ecc7bbec03aa8474efa7b3fc060e631f6cab625e97df056ae4377e8ad6d58e97", kill_on_drop: false }` [INFO] [stderr] Compiling syn v0.15.36 [INFO] [stderr] Compiling ucd-trie v0.1.1 [INFO] [stderr] Compiling maplit v1.0.1 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Checking pest v2.1.1 [INFO] [stderr] Compiling pest_meta v2.1.1 [INFO] [stderr] Compiling pest_generator v2.1.0 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking wasm-idl v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `builtin_types` [INFO] [stdout] --> src/main.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let builtin_types = builtins::parse_types(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_builtin_types` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | Bool(bool), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AttrValue` 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] 14 | Bool(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | Int(i64), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AttrValue` 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] 15 | Int(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | Str(String), [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AttrValue` 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] 16 | Str(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `label`, `typ`, and `attrs` are never read [INFO] [stdout] --> src/model.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct LabeledType<'a> { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 21 | pub label: Option<&'a str>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | pub typ: Type<'a>, [INFO] [stdout] | ^^^ [INFO] [stdout] 23 | pub attrs: Option>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LabeledType` 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/model.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | Named(&'a str), [INFO] [stdout] | ----- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Type` 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] 28 | Named(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | Pointer(Box>), [INFO] [stdout] | ------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Type` 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] 29 | Pointer(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | Vector(Box>), [INFO] [stdout] | ------ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Type` 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] 30 | Vector(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/model.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | Array(u32, Box>), [INFO] [stdout] | ----- ^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Type` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 31 | Array((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | Struct(Vec>), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Type` 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 | Struct(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `globals` and `funcs` are never read [INFO] [stdout] --> src/model.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Export<'a> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 37 | pub globals: Vec>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 38 | pub funcs: Vec>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Export` 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`, `globals`, `funcs`, and `attrs` are never read [INFO] [stdout] --> src/model.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Import<'a> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 43 | pub name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 44 | pub globals: Vec>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 45 | pub funcs: Vec>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 46 | pub attrs: Option>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Import` 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`, `typ`, and `attrs` are never read [INFO] [stdout] --> src/model.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct GlobalDecl<'a> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 51 | pub name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 52 | pub typ: Type<'a>, [INFO] [stdout] | ^^^ [INFO] [stdout] 53 | pub attrs: Option>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GlobalDecl` 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`, `result`, and `attrs` are never read [INFO] [stdout] --> src/model.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct FuncDecl<'a> { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 58 | pub name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 59 | pub args: Vec>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 60 | pub result: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 61 | pub attrs: Option>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FuncDecl` 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/parser.rs:174:8 [INFO] [stdout] | [INFO] [stdout] 172 | let typ = parse_type(last_pair)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 173 | let label = inner_pairs.pop().map(|pair| pair.as_str()); [INFO] [stdout] 174 | Ok(model::LabeledType { [INFO] [stdout] | ________^ [INFO] [stdout] 175 | | label: label, [INFO] [stdout] 176 | | typ: typ, [INFO] [stdout] 177 | | attrs: attrs, [INFO] [stdout] 178 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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/parser.rs:186:8 [INFO] [stdout] | [INFO] [stdout] 184 | let typ = parse_type(inner_pairs.next().unwrap())?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 185 | let attrs = parse_attrs(inner_pairs.next())?; [INFO] [stdout] 186 | Ok(model::GlobalDecl { [INFO] [stdout] | ________^ [INFO] [stdout] 187 | | name: name, [INFO] [stdout] 188 | | typ: typ, [INFO] [stdout] 189 | | attrs: attrs, [INFO] [stdout] 190 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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/parser.rs:216:8 [INFO] [stdout] | [INFO] [stdout] 197 | let mut args: Vec = vec![]; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 198 | let mut result: Option = None; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 216 | Ok(model::FuncDecl { [INFO] [stdout] | ________^ [INFO] [stdout] 217 | | name: name, [INFO] [stdout] 218 | | args: args, [INFO] [stdout] 219 | | result: result, [INFO] [stdout] 220 | | attrs: attrs, [INFO] [stdout] 221 | | }) [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/parser.rs:236:8 [INFO] [stdout] | [INFO] [stdout] 227 | let mut globals: Vec = vec![]; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 228 | let mut funcs: Vec = vec![]; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 236 | Ok((globals, funcs)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `builtin_types` [INFO] [stdout] --> src/main.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let builtin_types = builtins::parse_types(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_builtin_types` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:241:8 [INFO] [stdout] | [INFO] [stdout] 240 | let (globals, funcs) = parse_block_body(pair.into_inner().next().unwrap())?; [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] 241 | Ok(model::Export { [INFO] [stdout] | ________^ [INFO] [stdout] 242 | | globals: globals, [INFO] [stdout] 243 | | funcs: funcs, [INFO] [stdout] 244 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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/parser.rs:252:8 [INFO] [stdout] | [INFO] [stdout] 250 | let (globals, funcs) = parse_block_body(inner_pairs.next().unwrap())?; [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] 251 | let attrs = parse_attrs(inner_pairs.next())?; [INFO] [stdout] 252 | Ok(model::Import { [INFO] [stdout] | ________^ [INFO] [stdout] 253 | | name: name, [INFO] [stdout] 254 | | globals: globals, [INFO] [stdout] 255 | | funcs: funcs, [INFO] [stdout] 256 | | attrs: attrs, [INFO] [stdout] 257 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | Bool(bool), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AttrValue` 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] 14 | Bool(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | Int(i64), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AttrValue` 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] 15 | Int(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | Str(String), [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AttrValue` 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] 16 | Str(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `label`, `typ`, and `attrs` are never read [INFO] [stdout] --> src/model.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct LabeledType<'a> { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 21 | pub label: Option<&'a str>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | pub typ: Type<'a>, [INFO] [stdout] | ^^^ [INFO] [stdout] 23 | pub attrs: Option>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LabeledType` 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/model.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | Named(&'a str), [INFO] [stdout] | ----- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Type` 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] 28 | Named(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | Pointer(Box>), [INFO] [stdout] | ------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Type` 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] 29 | Pointer(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | Vector(Box>), [INFO] [stdout] | ------ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Type` 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] 30 | Vector(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/model.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | Array(u32, Box>), [INFO] [stdout] | ----- ^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Type` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 31 | Array((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | Struct(Vec>), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Type` 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 | Struct(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `globals` and `funcs` are never read [INFO] [stdout] --> src/model.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Export<'a> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 37 | pub globals: Vec>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 38 | pub funcs: Vec>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Export` 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`, `globals`, `funcs`, and `attrs` are never read [INFO] [stdout] --> src/model.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Import<'a> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 43 | pub name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 44 | pub globals: Vec>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 45 | pub funcs: Vec>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 46 | pub attrs: Option>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Import` 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`, `typ`, and `attrs` are never read [INFO] [stdout] --> src/model.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct GlobalDecl<'a> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 51 | pub name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 52 | pub typ: Type<'a>, [INFO] [stdout] | ^^^ [INFO] [stdout] 53 | pub attrs: Option>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GlobalDecl` 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`, `result`, and `attrs` are never read [INFO] [stdout] --> src/model.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct FuncDecl<'a> { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 58 | pub name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 59 | pub args: Vec>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 60 | pub result: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 61 | pub attrs: Option>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FuncDecl` 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/parser.rs:174:8 [INFO] [stdout] | [INFO] [stdout] 172 | let typ = parse_type(last_pair)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 173 | let label = inner_pairs.pop().map(|pair| pair.as_str()); [INFO] [stdout] 174 | Ok(model::LabeledType { [INFO] [stdout] | ________^ [INFO] [stdout] 175 | | label: label, [INFO] [stdout] 176 | | typ: typ, [INFO] [stdout] 177 | | attrs: attrs, [INFO] [stdout] 178 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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/parser.rs:186:8 [INFO] [stdout] | [INFO] [stdout] 184 | let typ = parse_type(inner_pairs.next().unwrap())?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 185 | let attrs = parse_attrs(inner_pairs.next())?; [INFO] [stdout] 186 | Ok(model::GlobalDecl { [INFO] [stdout] | ________^ [INFO] [stdout] 187 | | name: name, [INFO] [stdout] 188 | | typ: typ, [INFO] [stdout] 189 | | attrs: attrs, [INFO] [stdout] 190 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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/parser.rs:216:8 [INFO] [stdout] | [INFO] [stdout] 197 | let mut args: Vec = vec![]; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 198 | let mut result: Option = None; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 216 | Ok(model::FuncDecl { [INFO] [stdout] | ________^ [INFO] [stdout] 217 | | name: name, [INFO] [stdout] 218 | | args: args, [INFO] [stdout] 219 | | result: result, [INFO] [stdout] 220 | | attrs: attrs, [INFO] [stdout] 221 | | }) [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/parser.rs:236:8 [INFO] [stdout] | [INFO] [stdout] 227 | let mut globals: Vec = vec![]; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 228 | let mut funcs: Vec = vec![]; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 236 | Ok((globals, funcs)) [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/parser.rs:241:8 [INFO] [stdout] | [INFO] [stdout] 240 | let (globals, funcs) = parse_block_body(pair.into_inner().next().unwrap())?; [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] 241 | Ok(model::Export { [INFO] [stdout] | ________^ [INFO] [stdout] 242 | | globals: globals, [INFO] [stdout] 243 | | funcs: funcs, [INFO] [stdout] 244 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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/parser.rs:252:8 [INFO] [stdout] | [INFO] [stdout] 250 | let (globals, funcs) = parse_block_body(inner_pairs.next().unwrap())?; [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] 251 | let attrs = parse_attrs(inner_pairs.next())?; [INFO] [stdout] 252 | Ok(model::Import { [INFO] [stdout] | ________^ [INFO] [stdout] 253 | | name: name, [INFO] [stdout] 254 | | globals: globals, [INFO] [stdout] 255 | | funcs: funcs, [INFO] [stdout] 256 | | attrs: attrs, [INFO] [stdout] 257 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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 6 previous errors; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wasm-idl` (bin "wasm-idl" test) due to 7 previous errors; 14 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `wasm-idl` (bin "wasm-idl") due to 7 previous errors; 14 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ecc7bbec03aa8474efa7b3fc060e631f6cab625e97df056ae4377e8ad6d58e97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecc7bbec03aa8474efa7b3fc060e631f6cab625e97df056ae4377e8ad6d58e97", kill_on_drop: false }` [INFO] [stdout] ecc7bbec03aa8474efa7b3fc060e631f6cab625e97df056ae4377e8ad6d58e97