[INFO] cloning repository https://github.com/emk/wasm-bloat [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/emk/wasm-bloat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femk%2Fwasm-bloat", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femk%2Fwasm-bloat'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9363605c112128d886c4c13032cead62d498c335 [INFO] testing emk/wasm-bloat against try#a7ce54db9b096bd1098d07c645b489195a667c9f for pr-137940 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femk%2Fwasm-bloat" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] fatal: could not create leading directories of '/workspace/builds/worker-5-tc2/source': No space left on device [INFO] testing emk/wasm-bloat against try#a7ce54db9b096bd1098d07c645b489195a667c9f for pr-137940 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femk%2Fwasm-bloat" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/emk/wasm-bloat on toolchain a7ce54db9b096bd1098d07c645b489195a667c9f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/emk/wasm-bloat [INFO] finished tweaking git repo https://github.com/emk/wasm-bloat [INFO] tweaked toml for git repo https://github.com/emk/wasm-bloat written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/emk/wasm-bloat 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" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ee5dbf3b65cf4334b6d7eb25825ce9d80391909404fb45728442de4544edafe1 [INFO] running `Command { std: "docker" "start" "-a" "ee5dbf3b65cf4334b6d7eb25825ce9d80391909404fb45728442de4544edafe1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ee5dbf3b65cf4334b6d7eb25825ce9d80391909404fb45728442de4544edafe1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee5dbf3b65cf4334b6d7eb25825ce9d80391909404fb45728442de4544edafe1", kill_on_drop: false }` [INFO] [stdout] ee5dbf3b65cf4334b6d7eb25825ce9d80391909404fb45728442de4544edafe1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 97762db3d1ae68a7d175ba5273cdb86879719d57436f61f452caf0c0425a7078 [INFO] running `Command { std: "docker" "start" "-a" "97762db3d1ae68a7d175ba5273cdb86879719d57436f61f452caf0c0425a7078", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.34 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling cc v1.0.3 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling num-traits v0.1.41 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling stable_deref_trait v1.0.0 [INFO] [stderr] Compiling smallvec v0.6.0 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling rustc-demangle v0.1.5 [INFO] [stderr] Compiling ansi_term v0.10.2 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling strsim v0.6.0 [INFO] [stderr] Compiling regex-syntax v0.4.1 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling log v0.4.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling textwrap v0.9.0 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling bitflags v1.0.1 [INFO] [stderr] Compiling vec_map v0.8.0 [INFO] [stderr] Compiling termcolor v0.3.3 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling rand v0.3.19 [INFO] [stderr] Compiling time v0.1.38 [INFO] [stderr] Compiling atty v0.2.6 [INFO] [stderr] Compiling byteorder v1.2.1 [INFO] [stderr] Compiling aho-corasick v0.6.4 [INFO] [stderr] Compiling clap v2.29.0 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling num-integer v0.1.35 [INFO] [stderr] Compiling num-iter v0.1.34 [INFO] [stderr] Compiling regex v0.2.3 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Compiling num v0.1.41 [INFO] [stderr] Compiling chrono v0.4.0 [INFO] [stderr] Compiling parking_lot_core v0.2.8 [INFO] [stderr] Compiling parking_lot v0.4.8 [INFO] [stderr] Compiling synstructure v0.6.1 [INFO] [stderr] Compiling parity-wasm v0.19.0 [INFO] [stderr] Compiling structopt-derive v0.1.6 [INFO] [stderr] Compiling failure_derive v0.1.1 [INFO] [stderr] Compiling env_logger v0.5.0-rc.1 [INFO] [stderr] Compiling structopt v0.1.6 [INFO] [stderr] Compiling backtrace v0.3.4 [INFO] [stderr] Compiling failure v0.1.1 [INFO] [stderr] Compiling common_failures v0.1.0 [INFO] [stderr] Compiling wasm-bloat v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::iter` [INFO] [stdout] --> src/name_section.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::iter; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `iter` is never used [INFO] [stdout] --> src/index_map.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 20 | impl IndexMap { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 117 | fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `name`, and `name_mut` are never used [INFO] [stdout] --> src/name_section.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 93 | impl ModuleNameSection { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 94 | /// Create a new module name section with the specified name. [INFO] [stdout] 95 | pub fn new>(name: S) -> ModuleNameSection { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn name(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn name_mut(&mut self) -> &mut String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `names_mut` is never used [INFO] [stdout] --> src/name_section.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 133 | impl FunctionNameSection { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn names_mut(&mut self) -> &mut NameMap { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `local_names` and `local_names_mut` are never used [INFO] [stdout] --> src/name_section.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 168 | impl LocalNameSection { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] 169 | /// A map from function indices to a map from variables indices to names. [INFO] [stdout] 170 | pub fn local_names(&self) -> &IndexMap { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | pub fn local_names_mut(&mut self) -> &mut IndexMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Opt` is not local [INFO] [stdout] | `StructOpt` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STRUCTOPT_FOR_Opt` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StructOpt` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StructOpt` may come from an old version of the `structopt_derive` crate, try updating your dependency with `cargo update -p structopt_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `StructOpt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Opt` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STRUCTOPT_FOR_Opt` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StructOpt` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StructOpt` may come from an old version of the `structopt_derive` crate, try updating your dependency with `cargo update -p structopt_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `StructOpt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.17s [INFO] running `Command { std: "docker" "inspect" "97762db3d1ae68a7d175ba5273cdb86879719d57436f61f452caf0c0425a7078", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97762db3d1ae68a7d175ba5273cdb86879719d57436f61f452caf0c0425a7078", kill_on_drop: false }` [INFO] [stdout] 97762db3d1ae68a7d175ba5273cdb86879719d57436f61f452caf0c0425a7078 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 64129f2a2f4e22a087751dfe3436a9ee7e9ae4df6f3387870fc002eeee2c790d [INFO] running `Command { std: "docker" "start" "-a" "64129f2a2f4e22a087751dfe3436a9ee7e9ae4df6f3387870fc002eeee2c790d", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling cli_test_dir v0.1.4 [INFO] [stdout] warning: unused import: `std::iter` [INFO] [stdout] --> src/name_section.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::iter; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `iter` is never used [INFO] [stdout] --> src/index_map.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 20 | impl IndexMap { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 117 | fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `name`, and `name_mut` are never used [INFO] [stdout] --> src/name_section.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 93 | impl ModuleNameSection { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 94 | /// Create a new module name section with the specified name. [INFO] [stdout] 95 | pub fn new>(name: S) -> ModuleNameSection { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn name(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn name_mut(&mut self) -> &mut String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `names_mut` is never used [INFO] [stdout] --> src/name_section.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 133 | impl FunctionNameSection { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn names_mut(&mut self) -> &mut NameMap { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `local_names` and `local_names_mut` are never used [INFO] [stdout] --> src/name_section.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 168 | impl LocalNameSection { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] 169 | /// A map from function indices to a map from variables indices to names. [INFO] [stdout] 170 | pub fn local_names(&self) -> &IndexMap { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | pub fn local_names_mut(&mut self) -> &mut IndexMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Opt` is not local [INFO] [stdout] | `StructOpt` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STRUCTOPT_FOR_Opt` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StructOpt` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StructOpt` may come from an old version of the `structopt_derive` crate, try updating your dependency with `cargo update -p structopt_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `StructOpt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Opt` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STRUCTOPT_FOR_Opt` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StructOpt` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StructOpt` may come from an old version of the `structopt_derive` crate, try updating your dependency with `cargo update -p structopt_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `StructOpt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wasm-bloat v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::iter` [INFO] [stdout] --> src/name_section.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::iter; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name` and `name_mut` are never used [INFO] [stdout] --> src/name_section.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 93 | impl ModuleNameSection { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn name(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn name_mut(&mut self) -> &mut String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `local_names` is never used [INFO] [stdout] --> src/name_section.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 168 | impl LocalNameSection { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 169 | /// A map from function indices to a map from variables indices to names. [INFO] [stdout] 170 | pub fn local_names(&self) -> &IndexMap { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Opt` is not local [INFO] [stdout] | `StructOpt` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STRUCTOPT_FOR_Opt` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StructOpt` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StructOpt` may come from an old version of the `structopt_derive` crate, try updating your dependency with `cargo update -p structopt_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `StructOpt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Opt` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STRUCTOPT_FOR_Opt` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StructOpt` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StructOpt` may come from an old version of the `structopt_derive` crate, try updating your dependency with `cargo update -p structopt_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `StructOpt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.83s [INFO] running `Command { std: "docker" "inspect" "64129f2a2f4e22a087751dfe3436a9ee7e9ae4df6f3387870fc002eeee2c790d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64129f2a2f4e22a087751dfe3436a9ee7e9ae4df6f3387870fc002eeee2c790d", kill_on_drop: false }` [INFO] [stdout] 64129f2a2f4e22a087751dfe3436a9ee7e9ae4df6f3387870fc002eeee2c790d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6cd47cfdc888bb4a95e1909c24ea537c37c560b52d2cfa5af32770bd56bcb712 [INFO] running `Command { std: "docker" "start" "-a" "6cd47cfdc888bb4a95e1909c24ea537c37c560b52d2cfa5af32770bd56bcb712", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unused import: `std::iter` [INFO] [stderr] --> src/name_section.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::iter; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: methods `name` and `name_mut` are never used [INFO] [stderr] --> src/name_section.rs:100:12 [INFO] [stderr] | [INFO] [stderr] 93 | impl ModuleNameSection { [INFO] [stderr] | ---------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 100 | pub fn name(&self) -> &str { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 105 | pub fn name_mut(&mut self) -> &mut String { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `local_names` is never used [INFO] [stderr] --> src/name_section.rs:170:12 [INFO] [stderr] | [INFO] [stderr] 168 | impl LocalNameSection { [INFO] [stderr] | --------------------- method in this implementation [INFO] [stderr] 169 | /// A map from function indices to a map from variables indices to names. [INFO] [stderr] 170 | pub fn local_names(&self) -> &IndexMap { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/main.rs:26:17 [INFO] [stderr] | [INFO] [stderr] 26 | #[derive(Debug, StructOpt)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Opt` is not local [INFO] [stderr] | `StructOpt` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_STRUCTOPT_FOR_Opt` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `StructOpt` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `StructOpt` may come from an old version of the `structopt_derive` crate, try updating your dependency with `cargo update -p structopt_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `StructOpt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/main.rs:26:17 [INFO] [stderr] | [INFO] [stderr] 26 | #[derive(Debug, StructOpt)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Opt` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_STRUCTOPT_FOR_Opt` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `StructOpt` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `StructOpt` may come from an old version of the `structopt_derive` crate, try updating your dependency with `cargo update -p structopt_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `StructOpt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: method `iter` is never used [INFO] [stderr] --> src/index_map.rs:117:8 [INFO] [stderr] | [INFO] [stderr] 20 | impl IndexMap { [INFO] [stderr] | ------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 117 | fn iter(&self) -> Iter { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `name`, and `name_mut` are never used [INFO] [stderr] --> src/name_section.rs:95:12 [INFO] [stderr] | [INFO] [stderr] 93 | impl ModuleNameSection { [INFO] [stderr] | ---------------------- associated items in this implementation [INFO] [stderr] 94 | /// Create a new module name section with the specified name. [INFO] [stderr] 95 | pub fn new>(name: S) -> ModuleNameSection { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 100 | pub fn name(&self) -> &str { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 105 | pub fn name_mut(&mut self) -> &mut String { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `names_mut` is never used [INFO] [stderr] --> src/name_section.rs:140:12 [INFO] [stderr] | [INFO] [stderr] 133 | impl FunctionNameSection { [INFO] [stderr] | ------------------------ method in this implementation [INFO] [stderr] ... [INFO] [stderr] 140 | pub fn names_mut(&mut self) -> &mut NameMap { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `local_names` and `local_names_mut` are never used [INFO] [stderr] --> src/name_section.rs:170:12 [INFO] [stderr] | [INFO] [stderr] 168 | impl LocalNameSection { [INFO] [stderr] | --------------------- methods in this implementation [INFO] [stderr] 169 | /// A map from function indices to a map from variables indices to names. [INFO] [stderr] 170 | pub fn local_names(&self) -> &IndexMap { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 176 | pub fn local_names_mut(&mut self) -> &mut IndexMap { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `wasm-bloat` (bin "wasm-bloat" test) generated 5 warnings (run `cargo fix --bin "wasm-bloat" --tests` to apply 1 suggestion) [INFO] [stderr] warning: `wasm-bloat` (bin "wasm-bloat") generated 7 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/wasm_bloat-5e091d1bf42dd15b) [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test index_map::tests::clear_removes_all_values ... ok [INFO] [stdout] test index_map::tests::contains_key_returns_true_when_a_key_is_present ... ok [INFO] [stdout] test index_map::tests::default_is_empty_no_matter_how_we_look_at_it ... ok [INFO] [stdout] test index_map::tests::deserialize_requires_elements_to_be_in_order ... ok [INFO] [stdout] test index_map::tests::from_iterator_builds_a_map ... ok [INFO] [stdout] test index_map::tests::get_returns_elements_that_are_there_but_nothing_else ... ok [INFO] [stdout] test index_map::tests::iterators_are_well_behaved ... ok [INFO] [stdout] test index_map::tests::insert_behaves_like_other_maps ... ok [INFO] [stdout] test index_map::tests::partial_eq_is_smart_about_none_values_at_the_end ... ok [INFO] [stdout] test index_map::tests::partial_eq_works_as_expected_in_simple_cases ... ok [INFO] [stdout] test index_map::tests::remove_behaves_like_other_maps ... ok [INFO] [stdout] test index_map::tests::serialize_and_deserialize ... ok [INFO] [stdout] test index_map::tests::with_capacity_creates_empty_map ... ok [INFO] [stdout] test name_section::tests::serialize_and_deserialize_function_names ... ok [INFO] [stdout] test name_section::tests::serialize_and_deserialize_local_names ... ok [INFO] [stdout] test name_section::tests::serialize_and_deserialize_module_name ... ok [INFO] [stdout] test name_section::tests::serialize_and_deserialize_unparsed ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 17 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/tests.rs (/opt/rustwide/target/debug/deps/tests-3c404fb848a16574) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test analyze_wasm_file ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6cd47cfdc888bb4a95e1909c24ea537c37c560b52d2cfa5af32770bd56bcb712", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cd47cfdc888bb4a95e1909c24ea537c37c560b52d2cfa5af32770bd56bcb712", kill_on_drop: false }` [INFO] [stdout] 6cd47cfdc888bb4a95e1909c24ea537c37c560b52d2cfa5af32770bd56bcb712