[INFO] fetching crate elf-riscv32 0.0.1... [INFO] testing elf-riscv32-0.0.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate elf-riscv32 0.0.1 into /workspace/builds/worker-2-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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate elf-riscv32 0.0.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fc46f4d68415442030383908fe23a49a71ef1cec137b18370aa0c352d4ff43c9 [INFO] running `Command { std: "docker" "start" "-a" "fc46f4d68415442030383908fe23a49a71ef1cec137b18370aa0c352d4ff43c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fc46f4d68415442030383908fe23a49a71ef1cec137b18370aa0c352d4ff43c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc46f4d68415442030383908fe23a49a71ef1cec137b18370aa0c352d4ff43c9", kill_on_drop: false }` [INFO] [stdout] fc46f4d68415442030383908fe23a49a71ef1cec137b18370aa0c352d4ff43c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 74c68e3b4cf3709d363df603f447e1ddc3736f1e2126e685c2394724e20afeea [INFO] running `Command { std: "docker" "start" "-a" "74c68e3b4cf3709d363df603f447e1ddc3736f1e2126e685c2394724e20afeea", 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)]` 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:237:22 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn programs(&'a self) -> Result>> { [INFO] [stdout] | ^^ ---------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'a` [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 237 | pub fn programs(&'a self) -> Result>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:249:22 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn sections(&'a self) -> Result>> { [INFO] [stdout] | ^^ ---------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'a` [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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 1.31s [INFO] running `Command { std: "docker" "inspect" "74c68e3b4cf3709d363df603f447e1ddc3736f1e2126e685c2394724e20afeea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74c68e3b4cf3709d363df603f447e1ddc3736f1e2126e685c2394724e20afeea", kill_on_drop: false }` [INFO] [stdout] 74c68e3b4cf3709d363df603f447e1ddc3736f1e2126e685c2394724e20afeea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 56fb4a80eadc78ca9d7c5dabd807259eaa0ea76fed0621f148af1389445cf9be [INFO] running `Command { std: "docker" "start" "-a" "56fb4a80eadc78ca9d7c5dabd807259eaa0ea76fed0621f148af1389445cf9be", kill_on_drop: false }` [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)]` 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] [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] 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:237:22 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn programs(&'a self) -> Result>> { [INFO] [stdout] | ^^ ---------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'a` [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 237 | pub fn programs(&'a self) -> Result>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:249:22 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn sections(&'a self) -> Result>> { [INFO] [stdout] | ^^ ---------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'a` [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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)]` 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:237:22 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn programs(&'a self) -> Result>> { [INFO] [stdout] | ^^ ---------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'a` [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 237 | pub fn programs(&'a self) -> Result>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:249:22 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn sections(&'a self) -> Result>> { [INFO] [stdout] | ^^ ---------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'a` [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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.82s [INFO] running `Command { std: "docker" "inspect" "56fb4a80eadc78ca9d7c5dabd807259eaa0ea76fed0621f148af1389445cf9be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56fb4a80eadc78ca9d7c5dabd807259eaa0ea76fed0621f148af1389445cf9be", kill_on_drop: false }` [INFO] [stdout] 56fb4a80eadc78ca9d7c5dabd807259eaa0ea76fed0621f148af1389445cf9be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] f89bef3fdaa2eadf6507cf75f9ee9a8814a20e7e753efe5af15230381043d45c [INFO] running `Command { std: "docker" "start" "-a" "f89bef3fdaa2eadf6507cf75f9ee9a8814a20e7e753efe5af15230381043d45c", kill_on_drop: false }` [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] 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)]` 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/lib.rs:237:22 [INFO] [stderr] | [INFO] [stderr] 237 | pub fn programs(&'a self) -> Result>> { [INFO] [stderr] | ^^ ---------------------- [INFO] [stderr] | | | | [INFO] [stderr] | | | the lifetimes get resolved as `'a` [INFO] [stderr] | | the lifetimes get resolved as `'a` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 237 | pub fn programs(&'a self) -> Result>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/lib.rs:249:22 [INFO] [stderr] | [INFO] [stderr] 249 | pub fn sections(&'a self) -> Result>> { [INFO] [stderr] | ^^ ---------------------- [INFO] [stderr] | | | | [INFO] [stderr] | | | the lifetimes get resolved as `'a` [INFO] [stderr] | | the lifetimes get resolved as `'a` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to 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.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/elf_riscv32-81c9774c990233d9) [INFO] running `Command { std: "docker" "inspect" "f89bef3fdaa2eadf6507cf75f9ee9a8814a20e7e753efe5af15230381043d45c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f89bef3fdaa2eadf6507cf75f9ee9a8814a20e7e753efe5af15230381043d45c", kill_on_drop: false }` [INFO] [stdout] f89bef3fdaa2eadf6507cf75f9ee9a8814a20e7e753efe5af15230381043d45c