[INFO] fetching crate elf-riscv32 0.0.1... [INFO] testing elf-riscv32-0.0.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate elf-riscv32 0.0.1 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate elf-riscv32 0.0.1 [INFO] finished tweaking crates.io crate elf-riscv32 0.0.1 [INFO] tweaked toml for crates.io crate elf-riscv32 0.0.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate elf-riscv32 0.0.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate elf-riscv32 0.0.1 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 665f460877cfcd8a717c8e28da72b850b0ee4447b8efc92c3901334ce8bce2e1 [INFO] running `Command { std: "docker" "start" "-a" "665f460877cfcd8a717c8e28da72b850b0ee4447b8efc92c3901334ce8bce2e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "665f460877cfcd8a717c8e28da72b850b0ee4447b8efc92c3901334ce8bce2e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "665f460877cfcd8a717c8e28da72b850b0ee4447b8efc92c3901334ce8bce2e1", kill_on_drop: false }` [INFO] [stdout] 665f460877cfcd8a717c8e28da72b850b0ee4447b8efc92c3901334ce8bce2e1 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9629b4224e4f065f5af9d4ee5bb7862fd0e3bb9a49a69a729a8b2d0fb25b151f [INFO] running `Command { std: "docker" "start" "-a" "9629b4224e4f065f5af9d4ee5bb7862fd0e3bb9a49a69a729a8b2d0fb25b151f", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling elf-riscv32 v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | $vis struct $name($ty); [INFO] [stdout] | ___________________________^ [INFO] [stdout] 14 | | impl $name { [INFO] [stdout] 15 | | $( [INFO] [stdout] 16 | | #[allow(non_upper_case_globals)] [INFO] [stdout] ... | [INFO] [stdout] 28 | | #[derive(Debug)] [INFO] [stdout] 29 | | struct Unknown($ty); [INFO] [stdout] | |________________________-------___^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] ... [INFO] [stdout] 577 | / c_enum!{ [INFO] [stdout] 578 | | pub FileType(u16) { [INFO] [stdout] 579 | | None = 0, [INFO] [stdout] 580 | | Relocatable = 1, [INFO] [stdout] ... | [INFO] [stdout] 584 | | } v => Err(Error::UnsupportedFileType(v)) [INFO] [stdout] 585 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Unknown` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `c_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | $vis struct $name($ty); [INFO] [stdout] | ___________________________^ [INFO] [stdout] 14 | | impl $name { [INFO] [stdout] 15 | | $( [INFO] [stdout] 16 | | #[allow(non_upper_case_globals)] [INFO] [stdout] ... | [INFO] [stdout] 28 | | #[derive(Debug)] [INFO] [stdout] 29 | | struct Unknown($ty); [INFO] [stdout] | |________________________-------___^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] ... [INFO] [stdout] 586 | / c_enum!{ [INFO] [stdout] 587 | | pub Machine(u16) { [INFO] [stdout] 588 | | RiscV = 243 [INFO] [stdout] 589 | | } v => Err(Error::UnsupportedMachine(v)) [INFO] [stdout] 590 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Unknown` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `c_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | $vis struct $name($ty); [INFO] [stdout] | ___________________________^ [INFO] [stdout] 14 | | impl $name { [INFO] [stdout] 15 | | $( [INFO] [stdout] 16 | | #[allow(non_upper_case_globals)] [INFO] [stdout] ... | [INFO] [stdout] 28 | | #[derive(Debug)] [INFO] [stdout] 29 | | struct Unknown($ty); [INFO] [stdout] | |________________________-------___^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] ... [INFO] [stdout] 591 | / c_enum!{ [INFO] [stdout] 592 | | pub ProgramType(u32) { [INFO] [stdout] 593 | | Null = 0, [INFO] [stdout] 594 | | Load = 1, [INFO] [stdout] ... | [INFO] [stdout] 602 | | } v => Err(Error::UnsupportedProgramType(v)) [INFO] [stdout] 603 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Unknown` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `c_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:60:27 [INFO] [stdout] | [INFO] [stdout] 60 | $vis struct $name($ty); [INFO] [stdout] | ___________________________^ [INFO] [stdout] 61 | | impl $name { [INFO] [stdout] 62 | | #[allow(non_upper_case_globals)] [INFO] [stdout] 63 | | $vis const None: Self = Self(0); [INFO] [stdout] ... | [INFO] [stdout] 120 | | #[derive(Debug)] [INFO] [stdout] 121 | | struct Unknown($ty); [INFO] [stdout] | |________________________-------___^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] ... [INFO] [stdout] 604 | / c_flags!{ [INFO] [stdout] 605 | | pub ProgramFlags(u32) { [INFO] [stdout] 606 | | Read = 0b001, [INFO] [stdout] 607 | | Exec = 0b010, [INFO] [stdout] 608 | | Write = 0b100 [INFO] [stdout] 609 | | } v => Err(Error::UnsupportedProgramFlags(v)) [INFO] [stdout] 610 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Unknown` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `c_flags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | $vis struct $name($ty); [INFO] [stdout] | ___________________________^ [INFO] [stdout] 14 | | impl $name { [INFO] [stdout] 15 | | $( [INFO] [stdout] 16 | | #[allow(non_upper_case_globals)] [INFO] [stdout] ... | [INFO] [stdout] 28 | | #[derive(Debug)] [INFO] [stdout] 29 | | struct Unknown($ty); [INFO] [stdout] | |________________________-------___^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] ... [INFO] [stdout] 611 | / c_enum!{ [INFO] [stdout] 612 | | pub SectionType(u32) { [INFO] [stdout] 613 | | Null = 0, [INFO] [stdout] 614 | | Program = 1, [INFO] [stdout] ... | [INFO] [stdout] 629 | | } v => Err(Error::UnsupportedSectionType(v)) [INFO] [stdout] 630 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Unknown` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `c_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:60:27 [INFO] [stdout] | [INFO] [stdout] 60 | $vis struct $name($ty); [INFO] [stdout] | ___________________________^ [INFO] [stdout] 61 | | impl $name { [INFO] [stdout] 62 | | #[allow(non_upper_case_globals)] [INFO] [stdout] 63 | | $vis const None: Self = Self(0); [INFO] [stdout] ... | [INFO] [stdout] 120 | | #[derive(Debug)] [INFO] [stdout] 121 | | struct Unknown($ty); [INFO] [stdout] | |________________________-------___^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] ... [INFO] [stdout] 631 | / c_flags!{ [INFO] [stdout] 632 | | pub SectionFlags(u32) { [INFO] [stdout] 633 | | Write = 0x1, [INFO] [stdout] 634 | | Alloc = 0x2, [INFO] [stdout] ... | [INFO] [stdout] 644 | | } v => Err(Error::UnsupportedSectionFlags(v)) [INFO] [stdout] 645 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Unknown` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `c_flags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:237:41 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn programs(&'a self) -> Result>> { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^--^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is named here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 237 | pub fn programs(&'a self) -> Result>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:249:41 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn sections(&'a self) -> Result>> { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^--^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is named here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 249 | pub fn sections(&'a self) -> Result>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.88s [INFO] running `Command { std: "docker" "inspect" "9629b4224e4f065f5af9d4ee5bb7862fd0e3bb9a49a69a729a8b2d0fb25b151f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9629b4224e4f065f5af9d4ee5bb7862fd0e3bb9a49a69a729a8b2d0fb25b151f", kill_on_drop: false }` [INFO] [stdout] 9629b4224e4f065f5af9d4ee5bb7862fd0e3bb9a49a69a729a8b2d0fb25b151f [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e439fe2db869423e130e0ffadabc4bbb7f40361a06216ade75e984f08dac021c [INFO] running `Command { std: "docker" "start" "-a" "e439fe2db869423e130e0ffadabc4bbb7f40361a06216ade75e984f08dac021c", kill_on_drop: false }` [INFO] [stderr] Compiling elf-riscv32 v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | $vis struct $name($ty); [INFO] [stdout] | ___________________________^ [INFO] [stdout] 14 | | impl $name { [INFO] [stdout] 15 | | $( [INFO] [stdout] 16 | | #[allow(non_upper_case_globals)] [INFO] [stdout] ... | [INFO] [stdout] 28 | | #[derive(Debug)] [INFO] [stdout] 29 | | struct Unknown($ty); [INFO] [stdout] | |________________________-------___^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] ... [INFO] [stdout] 577 | / c_enum!{ [INFO] [stdout] 578 | | pub FileType(u16) { [INFO] [stdout] 579 | | None = 0, [INFO] [stdout] 580 | | Relocatable = 1, [INFO] [stdout] ... | [INFO] [stdout] 584 | | } v => Err(Error::UnsupportedFileType(v)) [INFO] [stdout] 585 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Unknown` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `c_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | $vis struct $name($ty); [INFO] [stdout] | ___________________________^ [INFO] [stdout] 14 | | impl $name { [INFO] [stdout] 15 | | $( [INFO] [stdout] 16 | | #[allow(non_upper_case_globals)] [INFO] [stdout] ... | [INFO] [stdout] 28 | | #[derive(Debug)] [INFO] [stdout] 29 | | struct Unknown($ty); [INFO] [stdout] | |________________________-------___^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] ... [INFO] [stdout] 586 | / c_enum!{ [INFO] [stdout] 587 | | pub Machine(u16) { [INFO] [stdout] 588 | | RiscV = 243 [INFO] [stdout] 589 | | } v => Err(Error::UnsupportedMachine(v)) [INFO] [stdout] 590 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Unknown` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `c_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | $vis struct $name($ty); [INFO] [stdout] | ___________________________^ [INFO] [stdout] 14 | | impl $name { [INFO] [stdout] 15 | | $( [INFO] [stdout] 16 | | #[allow(non_upper_case_globals)] [INFO] [stdout] ... | [INFO] [stdout] 28 | | #[derive(Debug)] [INFO] [stdout] 29 | | struct Unknown($ty); [INFO] [stdout] | |________________________-------___^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] ... [INFO] [stdout] 591 | / c_enum!{ [INFO] [stdout] 592 | | pub ProgramType(u32) { [INFO] [stdout] 593 | | Null = 0, [INFO] [stdout] 594 | | Load = 1, [INFO] [stdout] ... | [INFO] [stdout] 602 | | } v => Err(Error::UnsupportedProgramType(v)) [INFO] [stdout] 603 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Unknown` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `c_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:60:27 [INFO] [stdout] | [INFO] [stdout] 60 | $vis struct $name($ty); [INFO] [stdout] | ___________________________^ [INFO] [stdout] 61 | | impl $name { [INFO] [stdout] 62 | | #[allow(non_upper_case_globals)] [INFO] [stdout] 63 | | $vis const None: Self = Self(0); [INFO] [stdout] ... | [INFO] [stdout] 120 | | #[derive(Debug)] [INFO] [stdout] 121 | | struct Unknown($ty); [INFO] [stdout] | |________________________-------___^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] ... [INFO] [stdout] 604 | / c_flags!{ [INFO] [stdout] 605 | | pub ProgramFlags(u32) { [INFO] [stdout] 606 | | Read = 0b001, [INFO] [stdout] 607 | | Exec = 0b010, [INFO] [stdout] 608 | | Write = 0b100 [INFO] [stdout] 609 | | } v => Err(Error::UnsupportedProgramFlags(v)) [INFO] [stdout] 610 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Unknown` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `c_flags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | $vis struct $name($ty); [INFO] [stdout] | ___________________________^ [INFO] [stdout] 14 | | impl $name { [INFO] [stdout] 15 | | $( [INFO] [stdout] 16 | | #[allow(non_upper_case_globals)] [INFO] [stdout] ... | [INFO] [stdout] 28 | | #[derive(Debug)] [INFO] [stdout] 29 | | struct Unknown($ty); [INFO] [stdout] | |________________________-------___^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] ... [INFO] [stdout] 611 | / c_enum!{ [INFO] [stdout] 612 | | pub SectionType(u32) { [INFO] [stdout] 613 | | Null = 0, [INFO] [stdout] 614 | | Program = 1, [INFO] [stdout] ... | [INFO] [stdout] 629 | | } v => Err(Error::UnsupportedSectionType(v)) [INFO] [stdout] 630 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Unknown` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `c_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:60:27 [INFO] [stdout] | [INFO] [stdout] 60 | $vis struct $name($ty); [INFO] [stdout] | ___________________________^ [INFO] [stdout] 61 | | impl $name { [INFO] [stdout] 62 | | #[allow(non_upper_case_globals)] [INFO] [stdout] 63 | | $vis const None: Self = Self(0); [INFO] [stdout] ... | [INFO] [stdout] 120 | | #[derive(Debug)] [INFO] [stdout] 121 | | struct Unknown($ty); [INFO] [stdout] | |________________________-------___^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] ... [INFO] [stdout] 631 | / c_flags!{ [INFO] [stdout] 632 | | pub SectionFlags(u32) { [INFO] [stdout] 633 | | Write = 0x1, [INFO] [stdout] 634 | | Alloc = 0x2, [INFO] [stdout] ... | [INFO] [stdout] 644 | | } v => Err(Error::UnsupportedSectionFlags(v)) [INFO] [stdout] 645 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Unknown` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `c_flags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:237:41 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn programs(&'a self) -> Result>> { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^--^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is named here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 237 | pub fn programs(&'a self) -> Result>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:249:41 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn sections(&'a self) -> Result>> { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^--^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is named here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 249 | pub fn sections(&'a self) -> Result>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | $vis struct $name($ty); [INFO] [stdout] | ___________________________^ [INFO] [stdout] 14 | | impl $name { [INFO] [stdout] 15 | | $( [INFO] [stdout] 16 | | #[allow(non_upper_case_globals)] [INFO] [stdout] ... | [INFO] [stdout] 28 | | #[derive(Debug)] [INFO] [stdout] 29 | | struct Unknown($ty); [INFO] [stdout] | |________________________-------___^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] ... [INFO] [stdout] 577 | / c_enum!{ [INFO] [stdout] 578 | | pub FileType(u16) { [INFO] [stdout] 579 | | None = 0, [INFO] [stdout] 580 | | Relocatable = 1, [INFO] [stdout] ... | [INFO] [stdout] 584 | | } v => Err(Error::UnsupportedFileType(v)) [INFO] [stdout] 585 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Unknown` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `c_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | $vis struct $name($ty); [INFO] [stdout] | ___________________________^ [INFO] [stdout] 14 | | impl $name { [INFO] [stdout] 15 | | $( [INFO] [stdout] 16 | | #[allow(non_upper_case_globals)] [INFO] [stdout] ... | [INFO] [stdout] 28 | | #[derive(Debug)] [INFO] [stdout] 29 | | struct Unknown($ty); [INFO] [stdout] | |________________________-------___^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] ... [INFO] [stdout] 586 | / c_enum!{ [INFO] [stdout] 587 | | pub Machine(u16) { [INFO] [stdout] 588 | | RiscV = 243 [INFO] [stdout] 589 | | } v => Err(Error::UnsupportedMachine(v)) [INFO] [stdout] 590 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Unknown` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `c_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | $vis struct $name($ty); [INFO] [stdout] | ___________________________^ [INFO] [stdout] 14 | | impl $name { [INFO] [stdout] 15 | | $( [INFO] [stdout] 16 | | #[allow(non_upper_case_globals)] [INFO] [stdout] ... | [INFO] [stdout] 28 | | #[derive(Debug)] [INFO] [stdout] 29 | | struct Unknown($ty); [INFO] [stdout] | |________________________-------___^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] ... [INFO] [stdout] 591 | / c_enum!{ [INFO] [stdout] 592 | | pub ProgramType(u32) { [INFO] [stdout] 593 | | Null = 0, [INFO] [stdout] 594 | | Load = 1, [INFO] [stdout] ... | [INFO] [stdout] 602 | | } v => Err(Error::UnsupportedProgramType(v)) [INFO] [stdout] 603 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Unknown` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `c_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:60:27 [INFO] [stdout] | [INFO] [stdout] 60 | $vis struct $name($ty); [INFO] [stdout] | ___________________________^ [INFO] [stdout] 61 | | impl $name { [INFO] [stdout] 62 | | #[allow(non_upper_case_globals)] [INFO] [stdout] 63 | | $vis const None: Self = Self(0); [INFO] [stdout] ... | [INFO] [stdout] 120 | | #[derive(Debug)] [INFO] [stdout] 121 | | struct Unknown($ty); [INFO] [stdout] | |________________________-------___^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] ... [INFO] [stdout] 604 | / c_flags!{ [INFO] [stdout] 605 | | pub ProgramFlags(u32) { [INFO] [stdout] 606 | | Read = 0b001, [INFO] [stdout] 607 | | Exec = 0b010, [INFO] [stdout] 608 | | Write = 0b100 [INFO] [stdout] 609 | | } v => Err(Error::UnsupportedProgramFlags(v)) [INFO] [stdout] 610 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Unknown` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `c_flags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | $vis struct $name($ty); [INFO] [stdout] | ___________________________^ [INFO] [stdout] 14 | | impl $name { [INFO] [stdout] 15 | | $( [INFO] [stdout] 16 | | #[allow(non_upper_case_globals)] [INFO] [stdout] ... | [INFO] [stdout] 28 | | #[derive(Debug)] [INFO] [stdout] 29 | | struct Unknown($ty); [INFO] [stdout] | |________________________-------___^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] ... [INFO] [stdout] 611 | / c_enum!{ [INFO] [stdout] 612 | | pub SectionType(u32) { [INFO] [stdout] 613 | | Null = 0, [INFO] [stdout] 614 | | Program = 1, [INFO] [stdout] ... | [INFO] [stdout] 629 | | } v => Err(Error::UnsupportedSectionType(v)) [INFO] [stdout] 630 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Unknown` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `c_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:60:27 [INFO] [stdout] | [INFO] [stdout] 60 | $vis struct $name($ty); [INFO] [stdout] | ___________________________^ [INFO] [stdout] 61 | | impl $name { [INFO] [stdout] 62 | | #[allow(non_upper_case_globals)] [INFO] [stdout] 63 | | $vis const None: Self = Self(0); [INFO] [stdout] ... | [INFO] [stdout] 120 | | #[derive(Debug)] [INFO] [stdout] 121 | | struct Unknown($ty); [INFO] [stdout] | |________________________-------___^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] ... [INFO] [stdout] 631 | / c_flags!{ [INFO] [stdout] 632 | | pub SectionFlags(u32) { [INFO] [stdout] 633 | | Write = 0x1, [INFO] [stdout] 634 | | Alloc = 0x2, [INFO] [stdout] ... | [INFO] [stdout] 644 | | } v => Err(Error::UnsupportedSectionFlags(v)) [INFO] [stdout] 645 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Unknown` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `c_flags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:237:41 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn programs(&'a self) -> Result>> { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^--^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is named here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 237 | pub fn programs(&'a self) -> Result>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:249:41 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn sections(&'a self) -> Result>> { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^--^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is named here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 249 | pub fn sections(&'a self) -> Result>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.60s [INFO] running `Command { std: "docker" "inspect" "e439fe2db869423e130e0ffadabc4bbb7f40361a06216ade75e984f08dac021c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e439fe2db869423e130e0ffadabc4bbb7f40361a06216ade75e984f08dac021c", kill_on_drop: false }` [INFO] [stdout] e439fe2db869423e130e0ffadabc4bbb7f40361a06216ade75e984f08dac021c [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f20044de3c03b551a4f800321176b970723421e48e04e1236fe458c242982a55 [INFO] running `Command { std: "docker" "start" "-a" "f20044de3c03b551a4f800321176b970723421e48e04e1236fe458c242982a55", kill_on_drop: false }` [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lib.rs:13:27 [INFO] [stderr] | [INFO] [stderr] 13 | $vis struct $name($ty); [INFO] [stderr] | ___________________________^ [INFO] [stderr] 14 | | impl $name { [INFO] [stderr] 15 | | $( [INFO] [stderr] 16 | | #[allow(non_upper_case_globals)] [INFO] [stderr] ... | [INFO] [stderr] 28 | | #[derive(Debug)] [INFO] [stderr] 29 | | struct Unknown($ty); [INFO] [stderr] | |________________________-------___^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] ... [INFO] [stderr] 577 | / c_enum!{ [INFO] [stderr] 578 | | pub FileType(u16) { [INFO] [stderr] 579 | | None = 0, [INFO] [stderr] 580 | | Relocatable = 1, [INFO] [stderr] ... | [INFO] [stderr] 584 | | } v => Err(Error::UnsupportedFileType(v)) [INFO] [stderr] 585 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `Unknown` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] = note: this warning originates in the macro `c_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lib.rs:13:27 [INFO] [stderr] | [INFO] [stderr] 13 | $vis struct $name($ty); [INFO] [stderr] | ___________________________^ [INFO] [stderr] 14 | | impl $name { [INFO] [stderr] 15 | | $( [INFO] [stderr] 16 | | #[allow(non_upper_case_globals)] [INFO] [stderr] ... | [INFO] [stderr] 28 | | #[derive(Debug)] [INFO] [stderr] 29 | | struct Unknown($ty); [INFO] [stderr] | |________________________-------___^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] ... [INFO] [stderr] 586 | / c_enum!{ [INFO] [stderr] 587 | | pub Machine(u16) { [INFO] [stderr] 588 | | RiscV = 243 [INFO] [stderr] 589 | | } v => Err(Error::UnsupportedMachine(v)) [INFO] [stderr] 590 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `Unknown` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: this warning originates in the macro `c_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lib.rs:13:27 [INFO] [stderr] | [INFO] [stderr] 13 | $vis struct $name($ty); [INFO] [stderr] | ___________________________^ [INFO] [stderr] 14 | | impl $name { [INFO] [stderr] 15 | | $( [INFO] [stderr] 16 | | #[allow(non_upper_case_globals)] [INFO] [stderr] ... | [INFO] [stderr] 28 | | #[derive(Debug)] [INFO] [stderr] 29 | | struct Unknown($ty); [INFO] [stderr] | |________________________-------___^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] ... [INFO] [stderr] 591 | / c_enum!{ [INFO] [stderr] 592 | | pub ProgramType(u32) { [INFO] [stderr] 593 | | Null = 0, [INFO] [stderr] 594 | | Load = 1, [INFO] [stderr] ... | [INFO] [stderr] 602 | | } v => Err(Error::UnsupportedProgramType(v)) [INFO] [stderr] 603 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `Unknown` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: this warning originates in the macro `c_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lib.rs:60:27 [INFO] [stderr] | [INFO] [stderr] 60 | $vis struct $name($ty); [INFO] [stderr] | ___________________________^ [INFO] [stderr] 61 | | impl $name { [INFO] [stderr] 62 | | #[allow(non_upper_case_globals)] [INFO] [stderr] 63 | | $vis const None: Self = Self(0); [INFO] [stderr] ... | [INFO] [stderr] 120 | | #[derive(Debug)] [INFO] [stderr] 121 | | struct Unknown($ty); [INFO] [stderr] | |________________________-------___^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] ... [INFO] [stderr] 604 | / c_flags!{ [INFO] [stderr] 605 | | pub ProgramFlags(u32) { [INFO] [stderr] 606 | | Read = 0b001, [INFO] [stderr] 607 | | Exec = 0b010, [INFO] [stderr] 608 | | Write = 0b100 [INFO] [stderr] 609 | | } v => Err(Error::UnsupportedProgramFlags(v)) [INFO] [stderr] 610 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `Unknown` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: this warning originates in the macro `c_flags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lib.rs:13:27 [INFO] [stderr] | [INFO] [stderr] 13 | $vis struct $name($ty); [INFO] [stderr] | ___________________________^ [INFO] [stderr] 14 | | impl $name { [INFO] [stderr] 15 | | $( [INFO] [stderr] 16 | | #[allow(non_upper_case_globals)] [INFO] [stderr] ... | [INFO] [stderr] 28 | | #[derive(Debug)] [INFO] [stderr] 29 | | struct Unknown($ty); [INFO] [stderr] | |________________________-------___^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] ... [INFO] [stderr] 611 | / c_enum!{ [INFO] [stderr] 612 | | pub SectionType(u32) { [INFO] [stderr] 613 | | Null = 0, [INFO] [stderr] 614 | | Program = 1, [INFO] [stderr] ... | [INFO] [stderr] 629 | | } v => Err(Error::UnsupportedSectionType(v)) [INFO] [stderr] 630 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `Unknown` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: this warning originates in the macro `c_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lib.rs:60:27 [INFO] [stderr] | [INFO] [stderr] 60 | $vis struct $name($ty); [INFO] [stderr] | ___________________________^ [INFO] [stderr] 61 | | impl $name { [INFO] [stderr] 62 | | #[allow(non_upper_case_globals)] [INFO] [stderr] 63 | | $vis const None: Self = Self(0); [INFO] [stderr] ... | [INFO] [stderr] 120 | | #[derive(Debug)] [INFO] [stderr] 121 | | struct Unknown($ty); [INFO] [stderr] | |________________________-------___^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] ... [INFO] [stderr] 631 | / c_flags!{ [INFO] [stderr] 632 | | pub SectionFlags(u32) { [INFO] [stderr] 633 | | Write = 0x1, [INFO] [stderr] 634 | | Alloc = 0x2, [INFO] [stderr] ... | [INFO] [stderr] 644 | | } v => Err(Error::UnsupportedSectionFlags(v)) [INFO] [stderr] 645 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `Unknown` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: this warning originates in the macro `c_flags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/lib.rs:237:41 [INFO] [stderr] | [INFO] [stderr] 237 | pub fn programs(&'a self) -> Result>> { [INFO] [stderr] | -- ^^^^^^^^^^^^^^^^^^--^^ [INFO] [stderr] | | | | [INFO] [stderr] | | | the same lifetime is named here [INFO] [stderr] | | the same lifetime is hidden here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 237 | pub fn programs(&'a self) -> Result>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/lib.rs:249:41 [INFO] [stderr] | [INFO] [stderr] 249 | pub fn sections(&'a self) -> Result>> { [INFO] [stderr] | -- ^^^^^^^^^^^^^^^^^^--^^ [INFO] [stderr] | | | | [INFO] [stderr] | | | the same lifetime is named here [INFO] [stderr] | | the same lifetime is hidden here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 249 | pub fn sections(&'a self) -> Result>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `elf-riscv32` (lib) generated 8 warnings (run `cargo fix --lib -p elf-riscv32` to apply 2 suggestions) [INFO] [stderr] warning: `elf-riscv32` (lib test) generated 8 warnings (8 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/elf_riscv32-06d3922e4c912ed4) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests elf_riscv32 [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - Elf (line 194) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.55s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f20044de3c03b551a4f800321176b970723421e48e04e1236fe458c242982a55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f20044de3c03b551a4f800321176b970723421e48e04e1236fe458c242982a55", kill_on_drop: false }` [INFO] [stdout] f20044de3c03b551a4f800321176b970723421e48e04e1236fe458c242982a55