[INFO] fetching crate elfkit 0.0.7... [INFO] checking elfkit-0.0.7 against master#fd0c901b00ee1e08a250039cdb90258603497e20 for pr-153692 [INFO] extracting crate elfkit 0.0.7 into /workspace/builds/worker-0-tc1/source [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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate elfkit 0.0.7 on toolchain fd0c901b00ee1e08a250039cdb90258603497e20 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fd0c901b00ee1e08a250039cdb90258603497e20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fd0c901b00ee1e08a250039cdb90258603497e20" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 127 packages to latest compatible versions [INFO] [stderr] Adding ar v0.6.2 (available: v0.9.0) [INFO] [stderr] Adding bit-vec v0.5.1 (available: v0.9.1) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.11.0) [INFO] [stderr] Adding clap v2.34.0 (available: v4.6.0) [INFO] [stderr] Adding colored v1.9.4 (available: v3.1.1) [INFO] [stderr] Adding enum-primitive-derive v0.1.2 (available: v0.3.0) [INFO] [stderr] Adding env_logger v0.5.13 (available: v0.11.10) [INFO] [stderr] Adding glob v0.2.11 (available: v0.3.3) [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.13.0) [INFO] [stderr] Adding itertools v0.7.11 (available: v0.14.0) [INFO] [stderr] Adding pretty_env_logger v0.2.5 (available: v0.5.0) [INFO] [stderr] Adding sha2 v0.7.1 (available: v0.11.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fd0c901b00ee1e08a250039cdb90258603497e20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sha2 v0.7.1 [INFO] [stderr] Downloaded block-buffer v0.3.3 [INFO] [stderr] Downloaded digest v0.7.6 [INFO] [stderr] Downloaded colored v1.9.4 [INFO] [stderr] Downloaded bloom v0.3.2 [INFO] [stderr] Downloaded byte-tools v0.2.0 [INFO] [stderr] Downloaded enum-primitive-derive v0.1.2 [INFO] [stderr] Downloaded generic-array v0.9.1 [INFO] [stderr] Downloaded ar v0.6.2 [INFO] [stderr] Downloaded env_logger v0.5.13 [INFO] [stderr] Downloaded bit-vec v0.5.1 [INFO] [stderr] Downloaded glob v0.2.11 [INFO] [stderr] Downloaded pretty_env_logger v0.2.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+fd0c901b00ee1e08a250039cdb90258603497e20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a9cedec9b57b41673f8fdd7d6526eb24659de78ffd93db285d927428e23d4a20 [INFO] running `Command { std: "docker" "start" "-a" "a9cedec9b57b41673f8fdd7d6526eb24659de78ffd93db285d927428e23d4a20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a9cedec9b57b41673f8fdd7d6526eb24659de78ffd93db285d927428e23d4a20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9cedec9b57b41673f8fdd7d6526eb24659de78ffd93db285d927428e23d4a20", kill_on_drop: false }` [INFO] [stdout] a9cedec9b57b41673f8fdd7d6526eb24659de78ffd93db285d927428e23d4a20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+fd0c901b00ee1e08a250039cdb90258603497e20" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df710551b5c9dc5d6d1fecec59cbd903308206c4066492d5f76c002acd3a57c6 [INFO] running `Command { std: "docker" "start" "-a" "df710551b5c9dc5d6d1fecec59cbd903308206c4066492d5f76c002acd3a57c6", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Checking generic-array v0.9.1 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking byte-tools v0.2.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking block-buffer v0.3.3 [INFO] [stderr] Checking chrono v0.4.44 [INFO] [stderr] Checking digest v0.7.6 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking is-terminal v0.4.17 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking bit-vec v0.4.4 [INFO] [stderr] Checking once_cell v1.21.4 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking ar v0.6.2 [INFO] [stderr] Checking bloom v0.3.2 [INFO] [stderr] Checking tempfile v3.27.0 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking sha2 v0.7.1 [INFO] [stderr] Checking colored v1.9.4 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking itertools v0.7.11 [INFO] [stderr] Checking bit-vec v0.5.1 [INFO] [stderr] Checking glob v0.2.11 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling enum-primitive-derive v0.1.2 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Checking env_logger v0.5.13 [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)]` (part of `#[warn(unused)]`) 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] 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible 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 a dyn-compatible 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: 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)]` (part of `#[warn(unused)]`) 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] 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible 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 a dyn-compatible 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: 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: 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: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) 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) => panic!(e), [INFO] [stdout] 62 + Err(e) => std::panic::panic_any(e), [INFO] [stdout] | [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: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) 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) => panic!(e), [INFO] [stdout] 62 + Err(e) => std::panic::panic_any(e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.15s [INFO] running `Command { std: "docker" "inspect" "df710551b5c9dc5d6d1fecec59cbd903308206c4066492d5f76c002acd3a57c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df710551b5c9dc5d6d1fecec59cbd903308206c4066492d5f76c002acd3a57c6", kill_on_drop: false }` [INFO] [stdout] df710551b5c9dc5d6d1fecec59cbd903308206c4066492d5f76c002acd3a57c6