[INFO] cloning repository https://github.com/msekletar/prefixdevname [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/msekletar/prefixdevname" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmsekletar%2Fprefixdevname", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmsekletar%2Fprefixdevname'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8ca3b9137f7b362396fe4708f8280953a0ac1de6 [INFO] testing msekletar/prefixdevname against 1.55.0 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmsekletar%2Fprefixdevname" "/workspace/builds/worker-96/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-96/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/msekletar/prefixdevname on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/msekletar/prefixdevname [INFO] finished tweaking git repo https://github.com/msekletar/prefixdevname [INFO] tweaked toml for git repo https://github.com/msekletar/prefixdevname written to /workspace/builds/worker-96/source/Cargo.toml [INFO] crate git repo https://github.com/msekletar/prefixdevname already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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 rust-ini v0.12.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-96/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-96/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1eb785b636317fab7894b83c44ee8518b7c3e80d82f6c575243033c264345bc5 [INFO] running `Command { std: "docker" "start" "-a" "1eb785b636317fab7894b83c44ee8518b7c3e80d82f6c575243033c264345bc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1eb785b636317fab7894b83c44ee8518b7c3e80d82f6c575243033c264345bc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1eb785b636317fab7894b83c44ee8518b7c3e80d82f6c575243033c264345bc5", kill_on_drop: false }` [INFO] [stdout] 1eb785b636317fab7894b83c44ee8518b7c3e80d82f6c575243033c264345bc5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-96/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-96/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc6dad5b36ff7987463808c81979e251b02664078a51b393546fe3b7ad730f06 [INFO] running `Command { std: "docker" "start" "-a" "bc6dad5b36ff7987463808c81979e251b02664078a51b393546fe3b7ad730f06", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.42 [INFO] [stderr] Compiling pkg-config v0.3.11 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling lazy_static v1.0.1 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling regex v1.0.1 [INFO] [stderr] Compiling cfg-if v0.1.3 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling termcolor v0.3.6 [INFO] [stderr] Compiling rust-ini v0.12.2 [INFO] [stderr] Compiling log v0.4.3 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling humantime v1.1.1 [INFO] [stderr] Compiling regex-syntax v0.6.1 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling atty v0.2.10 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling aho-corasick v0.6.4 [INFO] [stderr] Compiling libudev v0.2.0 [INFO] [stderr] Compiling env_logger v0.5.10 [INFO] [stderr] Compiling prefixdevname v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config.rs:29:72 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn new(link_name: &T) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config.rs:53:96 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn new_with_hwaddr(link_name: &T, hwaddr: &T) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config.rs:77:73 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn link_name_sane(link_name: &T) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config.rs:98:53 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn write_link_file(&self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config.rs:142:46 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn load(&mut self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config.rs:163:56 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn next_link_name(&self) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config.rs:174:89 [INFO] [stdout] | [INFO] [stdout] 174 | fn match_ethernet_links(udev_enumerate: &mut libudev::Enumerator) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config.rs:181:63 [INFO] [stdout] | [INFO] [stdout] 181 | fn enumerate_links_from_udev(&mut self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config.rs:215:64 [INFO] [stdout] | [INFO] [stdout] 215 | fn enumerate_links_from_files(&mut self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sema.rs:14:63 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new_with_name(name: &str) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:14:70 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn rename_needed(ifname: &str, prefix: &str) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:57:72 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn hwaddr_normalize(hwaddr: &T) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:72:57 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn hwaddr_from_event_device() -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:85:63 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn get_prefix_from_file(path: &str) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/config.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | / lazy_static! { [INFO] [stdout] 34 | | static ref RE: Regex = Regex::new(r"([[:alpha:]]+)\d+").unwrap(); [INFO] [stdout] 35 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/config.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | / lazy_static! { [INFO] [stdout] 59 | | static ref RE: Regex = Regex::new(r"([[:alpha:]]+)\d+").unwrap(); [INFO] [stdout] 60 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/config.rs:42:22 [INFO] [stdout] | [INFO] [stdout] 42 | let i = name.trim_left_matches(&prefix).parse::()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/config.rs:66:22 [INFO] [stdout] | [INFO] [stdout] 66 | let i = name.trim_left_matches(&prefix).parse::()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/config.rs:169:36 [INFO] [stdout] | [INFO] [stdout] 169 | let last_index = last.name.trim_left_matches(&self.ifname_prefix).parse::()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 19s [INFO] running `Command { std: "docker" "inspect" "bc6dad5b36ff7987463808c81979e251b02664078a51b393546fe3b7ad730f06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc6dad5b36ff7987463808c81979e251b02664078a51b393546fe3b7ad730f06", kill_on_drop: false }` [INFO] [stdout] bc6dad5b36ff7987463808c81979e251b02664078a51b393546fe3b7ad730f06 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-96/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-96/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8af2d9b99a7eaedaeada5d28e7e294fcb26538dabc69b3a6056eb634e5420f62 [INFO] running `Command { std: "docker" "start" "-a" "8af2d9b99a7eaedaeada5d28e7e294fcb26538dabc69b3a6056eb634e5420f62", kill_on_drop: false }` [INFO] [stderr] Compiling prefixdevname v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config.rs:29:72 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn new(link_name: &T) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config.rs:53:96 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn new_with_hwaddr(link_name: &T, hwaddr: &T) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config.rs:77:73 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn link_name_sane(link_name: &T) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config.rs:98:53 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn write_link_file(&self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config.rs:142:46 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn load(&mut self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config.rs:163:56 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn next_link_name(&self) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config.rs:174:89 [INFO] [stdout] | [INFO] [stdout] 174 | fn match_ethernet_links(udev_enumerate: &mut libudev::Enumerator) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config.rs:181:63 [INFO] [stdout] | [INFO] [stdout] 181 | fn enumerate_links_from_udev(&mut self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config.rs:215:64 [INFO] [stdout] | [INFO] [stdout] 215 | fn enumerate_links_from_files(&mut self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config.rs:324:39 [INFO] [stdout] | [INFO] [stdout] 324 | fn mock_sysfs() -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sema.rs:14:63 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new_with_name(name: &str) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:14:70 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn rename_needed(ifname: &str, prefix: &str) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:57:72 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn hwaddr_normalize(hwaddr: &T) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:72:57 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn hwaddr_from_event_device() -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:85:63 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn get_prefix_from_file(path: &str) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/config.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | / lazy_static! { [INFO] [stdout] 34 | | static ref RE: Regex = Regex::new(r"([[:alpha:]]+)\d+").unwrap(); [INFO] [stdout] 35 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/config.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | / lazy_static! { [INFO] [stdout] 59 | | static ref RE: Regex = Regex::new(r"([[:alpha:]]+)\d+").unwrap(); [INFO] [stdout] 60 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/config.rs:42:22 [INFO] [stdout] | [INFO] [stdout] 42 | let i = name.trim_left_matches(&prefix).parse::()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/config.rs:66:22 [INFO] [stdout] | [INFO] [stdout] 66 | let i = name.trim_left_matches(&prefix).parse::()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/config.rs:169:36 [INFO] [stdout] | [INFO] [stdout] 169 | let last_index = last.name.trim_left_matches(&self.ifname_prefix).parse::()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/prefixdevname-e2ed88e7026c33bc.prefixdevname.71db0210-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/prefixdevname-e2ed88e7026c33bc.prefixdevname.71db0210-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/prefixdevname-e2ed88e7026c33bc.prefixdevname.71db0210-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/prefixdevname-e2ed88e7026c33bc.prefixdevname.71db0210-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/prefixdevname-e2ed88e7026c33bc.prefixdevname.71db0210-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/prefixdevname-e2ed88e7026c33bc.prefixdevname.71db0210-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/prefixdevname-e2ed88e7026c33bc.prefixdevname.71db0210-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/prefixdevname-e2ed88e7026c33bc.prefixdevname.71db0210-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/prefixdevname-e2ed88e7026c33bc.prefixdevname.71db0210-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/prefixdevname-e2ed88e7026c33bc.prefixdevname.71db0210-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/prefixdevname-e2ed88e7026c33bc.prefixdevname.71db0210-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/prefixdevname-e2ed88e7026c33bc.prefixdevname.71db0210-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/prefixdevname-e2ed88e7026c33bc.prefixdevname.71db0210-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/prefixdevname-e2ed88e7026c33bc.prefixdevname.71db0210-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/prefixdevname-e2ed88e7026c33bc.prefixdevname.71db0210-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/prefixdevname-e2ed88e7026c33bc.prefixdevname.71db0210-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/prefixdevname-e2ed88e7026c33bc.2nn5nfufjvw21tsk.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/lib/x86_64-linux-gnu" "-L" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-lumockdev" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-ae0b9de85e81d76f.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-dd17e7b765638f54.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-e55ce254123a1c62.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-c91921c83bf98d74.rlib" "/opt/rustwide/target/debug/deps/libini-b2c29c2b0b401f70.rlib" "/opt/rustwide/target/debug/deps/liblibudev-126d9187f7b17ece.rlib" "/opt/rustwide/target/debug/deps/liblibudev_sys-d8e0f7f93604babd.rlib" "/opt/rustwide/target/debug/deps/libenv_logger-4675d104dad4ac17.rlib" "/opt/rustwide/target/debug/deps/libregex-91b56255050065e8.rlib" "/opt/rustwide/target/debug/deps/libutf8_ranges-7197997fddef1c4b.rlib" "/opt/rustwide/target/debug/deps/libregex_syntax-ff550786524132d2.rlib" "/opt/rustwide/target/debug/deps/libucd_util-4d5aff6136066490.rlib" "/opt/rustwide/target/debug/deps/libthread_local-cee9f9ee4ec691c6.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-a0c553279ea3b621.rlib" "/opt/rustwide/target/debug/deps/libunreachable-c0df0943ae257096.rlib" "/opt/rustwide/target/debug/deps/libvoid-bbb98054dd984e62.rlib" "/opt/rustwide/target/debug/deps/libaho_corasick-83b2b54eeb27e0e9.rlib" "/opt/rustwide/target/debug/deps/libmemchr-a1980c47a35d232c.rlib" "/opt/rustwide/target/debug/deps/libatty-fd002bee7595b483.rlib" "/opt/rustwide/target/debug/deps/liblibc-279945826ce3d934.rlib" "/opt/rustwide/target/debug/deps/libhumantime-5279c127d2a488ae.rlib" "/opt/rustwide/target/debug/deps/libquick_error-8af1626c14a64d49.rlib" "/opt/rustwide/target/debug/deps/libtermcolor-5483ac20f7969b8d.rlib" "/opt/rustwide/target/debug/deps/liblog-e7a99334e0257d98.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-5b05ca0675b0d138.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-008055cc7d873802.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-06f01ac2578bda94.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-f9a3c3274a1835e0.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-d4cbb754ee9f4daa.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-95c14e1c1e3ebcc4.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-d489f0ca872880cc.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-75f07df0b18fea39.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-0c35b278736219a2.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e530649c9a06e3c6.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-6b148909d375a785.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-cd15fa647f4775d1.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-74be3a703f788ba2.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-8f2c5b445c28b2e3.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-8480e85e0be96197.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-ac23a75f6f42004e.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-557ba8776e04d182.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-4beb03d03503c439.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-dd7db1bec6909f24.rlib" "-Wl,-Bdynamic" "-ludev" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/prefixdevname-e2ed88e7026c33bc" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lumockdev [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `prefixdevname` due to 2 previous errors; 20 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8af2d9b99a7eaedaeada5d28e7e294fcb26538dabc69b3a6056eb634e5420f62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8af2d9b99a7eaedaeada5d28e7e294fcb26538dabc69b3a6056eb634e5420f62", kill_on_drop: false }` [INFO] [stdout] 8af2d9b99a7eaedaeada5d28e7e294fcb26538dabc69b3a6056eb634e5420f62