[INFO] fetching crate elfkit 0.0.7... [INFO] checking elfkit-0.0.7 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate elfkit 0.0.7 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate elfkit 0.0.7 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate elfkit 0.0.7 [INFO] finished tweaking crates.io crate elfkit 0.0.7 [INFO] tweaked toml for crates.io crate elfkit 0.0.7 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 102 packages to latest compatible versions [INFO] [stderr] Adding ansi_term v0.11.0 (latest: v0.12.1) [INFO] [stderr] Adding ar v0.6.2 (latest: v0.9.0) [INFO] [stderr] Adding bit-vec v0.4.4 (latest: v0.8.0) [INFO] [stderr] Adding bit-vec v0.5.1 (latest: v0.8.0) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding block-buffer v0.3.3 (latest: v0.10.4) [INFO] [stderr] Adding byte-tools v0.2.0 (latest: v0.3.1) [INFO] [stderr] Adding clap v2.34.0 (latest: v4.5.16) [INFO] [stderr] Adding colored v1.9.4 (latest: v2.1.0) [INFO] [stderr] Adding digest v0.7.6 (latest: v0.10.7) [INFO] [stderr] Adding enum-primitive-derive v0.1.2 (latest: v0.3.0) [INFO] [stderr] Adding env_logger v0.5.13 (latest: v0.11.5) [INFO] [stderr] Adding generic-array v0.9.1 (latest: v1.1.0) [INFO] [stderr] Adding glob v0.2.11 (latest: v0.3.1) [INFO] [stderr] Adding hashbrown v0.12.3 (latest: v0.14.5) [INFO] [stderr] Adding hermit-abi v0.1.19 (latest: v0.4.0) [INFO] [stderr] Adding humantime v1.3.0 (latest: v2.1.0) [INFO] [stderr] Adding indexmap v1.9.3 (latest: v2.5.0) [INFO] [stderr] Adding itertools v0.7.11 (latest: v0.13.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (latest: v0.6.5) [INFO] [stderr] Adding num-traits v0.1.43 (latest: v0.2.19) [INFO] [stderr] Adding pretty_env_logger v0.2.5 (latest: v0.5.0) [INFO] [stderr] Adding quick-error v1.2.3 (latest: v2.0.1) [INFO] [stderr] Adding quote v0.3.15 (latest: v1.0.37) [INFO] [stderr] Adding sha2 v0.7.1 (latest: v0.10.8) [INFO] [stderr] Adding strsim v0.8.0 (latest: v0.11.1) [INFO] [stderr] Adding syn v0.11.11 (latest: v2.0.77) [INFO] [stderr] Adding textwrap v0.11.0 (latest: v0.16.1) [INFO] [stderr] Adding unicode-xid v0.0.4 (latest: v0.2.5) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.58.0) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded enum-primitive-derive v0.1.2 [INFO] [stderr] Downloaded pretty_env_logger v0.2.5 [INFO] [stderr] Downloaded bit-vec v0.4.4 [INFO] [stderr] Downloaded ar v0.6.2 [INFO] [stderr] Downloaded bloom v0.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 60f36af1fd885ae9b27f902490594a68bad22c37ff631180248bbd2cbbba1148 [INFO] running `Command { std: "docker" "start" "-a" "60f36af1fd885ae9b27f902490594a68bad22c37ff631180248bbd2cbbba1148", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "60f36af1fd885ae9b27f902490594a68bad22c37ff631180248bbd2cbbba1148", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60f36af1fd885ae9b27f902490594a68bad22c37ff631180248bbd2cbbba1148", kill_on_drop: false }` [INFO] [stdout] 60f36af1fd885ae9b27f902490594a68bad22c37ff631180248bbd2cbbba1148 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f21702ede9a89a259b398360171667dbe451e8f6d73e0b3c45d7d50783c8265 [INFO] running `Command { std: "docker" "start" "-a" "7f21702ede9a89a259b398360171667dbe451e8f6d73e0b3c45d7d50783c8265", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking generic-array v0.9.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking arrayref v0.3.8 [INFO] [stderr] Checking byte-tools v0.2.0 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking block-buffer v0.3.3 [INFO] [stderr] Checking digest v0.7.6 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking bit-vec v0.4.4 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking colored v1.9.4 [INFO] [stderr] Checking sha2 v0.7.1 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking bloom v0.3.2 [INFO] [stderr] Checking ar v0.6.2 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking itertools v0.7.11 [INFO] [stderr] Checking bit-vec v0.5.1 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling enum-primitive-derive v0.1.2 [INFO] [stderr] Checking pretty_env_logger v0.2.5 [INFO] [stderr] Checking elfkit v0.0.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/dynamic.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | ) -> Result<(usize), Error> [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 109 - ) -> Result<(usize), Error> [INFO] [stdout] 109 + ) -> Result [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/elf.rs:606:9 [INFO] [stdout] | [INFO] [stdout] 606 | / ///TODO this is shitty, because we need to replicate all the alignment code [INFO] [stdout] 607 | | ///also most of those sections dont actually need to be moved [INFO] [stdout] | |_____________________________________________________________________^ [INFO] [stdout] 608 | / for sec in &mut self.sections[1..] { [INFO] [stdout] 609 | | if sec.header.addralign > 0 { [INFO] [stdout] 610 | | let oa = hoff % sec.header.addralign; [INFO] [stdout] 611 | | if oa != 0 { [INFO] [stdout] ... | [INFO] [stdout] 614 | | } [INFO] [stdout] 615 | | } [INFO] [stdout] | |_________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/elf.rs:682:59 [INFO] [stdout] | [INFO] [stdout] 682 | pub fn remove_section(&mut self, at: usize) -> Result<(Section), Error> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 682 - pub fn remove_section(&mut self, at: usize) -> Result<(Section), Error> { [INFO] [stdout] 682 + pub fn remove_section(&mut self, at: usize) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/relocation.rs:180:17 [INFO] [stdout] | [INFO] [stdout] 180 | ) -> Result<(usize), Error> [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 180 - ) -> Result<(usize), Error> [INFO] [stdout] 180 + ) -> Result [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/symbol.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | ) -> Result<(usize), Error> [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 173 - ) -> Result<(usize), Error> [INFO] [stdout] 173 + ) -> Result [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/dynamic.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | ) -> Result<(usize), Error> [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 109 - ) -> Result<(usize), Error> [INFO] [stdout] 109 + ) -> Result [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/elf.rs:606:9 [INFO] [stdout] | [INFO] [stdout] 606 | / ///TODO this is shitty, because we need to replicate all the alignment code [INFO] [stdout] 607 | | ///also most of those sections dont actually need to be moved [INFO] [stdout] | |_____________________________________________________________________^ [INFO] [stdout] 608 | / for sec in &mut self.sections[1..] { [INFO] [stdout] 609 | | if sec.header.addralign > 0 { [INFO] [stdout] 610 | | let oa = hoff % sec.header.addralign; [INFO] [stdout] 611 | | if oa != 0 { [INFO] [stdout] ... | [INFO] [stdout] 614 | | } [INFO] [stdout] 615 | | } [INFO] [stdout] | |_________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/elf.rs:682:59 [INFO] [stdout] | [INFO] [stdout] 682 | pub fn remove_section(&mut self, at: usize) -> Result<(Section), Error> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 682 - pub fn remove_section(&mut self, at: usize) -> Result<(Section), Error> { [INFO] [stdout] 682 + pub fn remove_section(&mut self, at: usize) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/relocation.rs:180:17 [INFO] [stdout] | [INFO] [stdout] 180 | ) -> Result<(usize), Error> [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 180 - ) -> Result<(usize), Error> [INFO] [stdout] 180 + ) -> Result [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/symbol.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | ) -> Result<(usize), Error> [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 173 - ) -> Result<(usize), Error> [INFO] [stdout] 173 + ) -> Result [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/loader.rs:39:30 [INFO] [stdout] | [INFO] [stdout] 39 | read: RefCell>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 | read: RefCell>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/loader.rs:39:30 [INFO] [stdout] | [INFO] [stdout] 39 | read: RefCell>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 | read: RefCell>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/loader.rs:233:50 [INFO] [stdout] | [INFO] [stdout] 233 | fn make_object(name: String, io: RefCell>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 233 | fn make_object(name: String, io: RefCell>) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/loader.rs:233:50 [INFO] [stdout] | [INFO] [stdout] 233 | fn make_object(name: String, io: RefCell>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 233 | fn make_object(name: String, io: RefCell>) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> bin/ld.rs:627:91 [INFO] [stdout] | [INFO] [stdout] 627 | .find(|&(_,s)|s.bind == types::SymbolBind::GLOBAL).map(|(i,_)|i).unwrap_or(0);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> bin/ld.rs:627:91 [INFO] [stdout] | [INFO] [stdout] 627 | .find(|&(_,s)|s.bind == types::SymbolBind::GLOBAL).map(|(i,_)|i).unwrap_or(0);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> tests/layout.rs:146:46 [INFO] [stdout] | [INFO] [stdout] 146 | let phdr = phdr_segments.get(0).unwrap();; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> tests/layout.rs:158:49 [INFO] [stdout] | [INFO] [stdout] 158 | let segment = load_segments.get(0).unwrap();; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> tests/layout.rs:255:50 [INFO] [stdout] | [INFO] [stdout] 255 | let segment0 = load_segments.get(0).unwrap();; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> tests/layout.rs:256:50 [INFO] [stdout] | [INFO] [stdout] 256 | let segment1 = load_segments.get(1).unwrap();; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> tests/layout.rs:306:50 [INFO] [stdout] | [INFO] [stdout] 306 | let segment0 = load_segments.get(0).unwrap();; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> tests/layout.rs:307:50 [INFO] [stdout] | [INFO] [stdout] 307 | let segment1 = load_segments.get(1).unwrap();; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> tests/layout.rs:308:50 [INFO] [stdout] | [INFO] [stdout] 308 | let segment2 = load_segments.get(2).unwrap();; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> tests/layout.rs:471:50 [INFO] [stdout] | [INFO] [stdout] 471 | let segment0 = load_segments.get(0).unwrap();; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> bin/ld.rs:62:35 [INFO] [stdout] | [INFO] [stdout] 62 | Err(e) => panic!(e), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{:?}" format string to use the `Debug` implementation of `elfkit::Error` [INFO] [stdout] | [INFO] [stdout] 62 | Err(e) => panic!("{:?}", e), [INFO] [stdout] | +++++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 62 | Err(e) => std::panic::panic_any(e), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> bin/ld.rs:62:35 [INFO] [stdout] | [INFO] [stdout] 62 | Err(e) => panic!(e), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{:?}" format string to use the `Debug` implementation of `elfkit::Error` [INFO] [stdout] | [INFO] [stdout] 62 | Err(e) => panic!("{:?}", e), [INFO] [stdout] | +++++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 62 | Err(e) => std::panic::panic_any(e), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.58s [INFO] running `Command { std: "docker" "inspect" "7f21702ede9a89a259b398360171667dbe451e8f6d73e0b3c45d7d50783c8265", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f21702ede9a89a259b398360171667dbe451e8f6d73e0b3c45d7d50783c8265", kill_on_drop: false }` [INFO] [stdout] 7f21702ede9a89a259b398360171667dbe451e8f6d73e0b3c45d7d50783c8265