[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 beta-2021-09-08 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-52/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-52/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/msekletar/prefixdevname on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "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-52/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" "+beta-2021-09-08" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-52/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-52/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" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5e03c708c8b0cbf61d3271c143fbc794400570196c3f2206dddfa246a8c1b105 [INFO] running `Command { std: "docker" "start" "-a" "5e03c708c8b0cbf61d3271c143fbc794400570196c3f2206dddfa246a8c1b105", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5e03c708c8b0cbf61d3271c143fbc794400570196c3f2206dddfa246a8c1b105", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e03c708c8b0cbf61d3271c143fbc794400570196c3f2206dddfa246a8c1b105", kill_on_drop: false }` [INFO] [stdout] 5e03c708c8b0cbf61d3271c143fbc794400570196c3f2206dddfa246a8c1b105 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-52/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-52/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" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eec9d0ce07585c6e32139db7fc62bbdbe54eedd5ddf5a2e9917f203b32dbf982 [INFO] running `Command { std: "docker" "start" "-a" "eec9d0ce07585c6e32139db7fc62bbdbe54eedd5ddf5a2e9917f203b32dbf982", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.42 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling pkg-config v0.3.11 [INFO] [stderr] Compiling regex v1.0.1 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling lazy_static v1.0.1 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling termcolor v0.3.6 [INFO] [stderr] Compiling rust-ini v0.12.2 [INFO] [stderr] Compiling humantime v1.1.1 [INFO] [stderr] Compiling log v0.4.3 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.6.1 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling atty v0.2.10 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling libudev v0.2.0 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling aho-corasick v0.6.4 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 18s [INFO] running `Command { std: "docker" "inspect" "eec9d0ce07585c6e32139db7fc62bbdbe54eedd5ddf5a2e9917f203b32dbf982", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eec9d0ce07585c6e32139db7fc62bbdbe54eedd5ddf5a2e9917f203b32dbf982", kill_on_drop: false }` [INFO] [stdout] eec9d0ce07585c6e32139db7fc62bbdbe54eedd5ddf5a2e9917f203b32dbf982 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-52/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-52/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" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 16c3076f33bfa91d53963859293836244c40d73f68b546850bc4302c2c7dd80d [INFO] running `Command { std: "docker" "start" "-a" "16c3076f33bfa91d53963859293836244c40d73f68b546850bc4302c2c7dd80d", 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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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-e9914ab775dbbeb3.prefixdevname.f4499a16-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/prefixdevname-e9914ab775dbbeb3.prefixdevname.f4499a16-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/prefixdevname-e9914ab775dbbeb3.prefixdevname.f4499a16-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/prefixdevname-e9914ab775dbbeb3.prefixdevname.f4499a16-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/prefixdevname-e9914ab775dbbeb3.prefixdevname.f4499a16-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/prefixdevname-e9914ab775dbbeb3.prefixdevname.f4499a16-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/prefixdevname-e9914ab775dbbeb3.prefixdevname.f4499a16-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/prefixdevname-e9914ab775dbbeb3.prefixdevname.f4499a16-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/prefixdevname-e9914ab775dbbeb3.prefixdevname.f4499a16-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/prefixdevname-e9914ab775dbbeb3.prefixdevname.f4499a16-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/prefixdevname-e9914ab775dbbeb3.prefixdevname.f4499a16-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/prefixdevname-e9914ab775dbbeb3.prefixdevname.f4499a16-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/prefixdevname-e9914ab775dbbeb3.prefixdevname.f4499a16-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/prefixdevname-e9914ab775dbbeb3.prefixdevname.f4499a16-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/prefixdevname-e9914ab775dbbeb3.prefixdevname.f4499a16-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/prefixdevname-e9914ab775dbbeb3.prefixdevname.f4499a16-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/prefixdevname-e9914ab775dbbeb3.45yrw12qp861cer4.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/lib/x86_64-linux-gnu" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-lumockdev" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-af71f5d5e2187f62.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-976ae3a75486bc7b.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-638f891af6f9e3c4.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-52ee1e0bb1279132.rlib" "/opt/rustwide/target/debug/deps/libini-f86fa573970c4165.rlib" "/opt/rustwide/target/debug/deps/liblibudev-172b6dd1e9876759.rlib" "/opt/rustwide/target/debug/deps/liblibudev_sys-52fb259bb7be7446.rlib" "/opt/rustwide/target/debug/deps/libenv_logger-8d81223c72122864.rlib" "/opt/rustwide/target/debug/deps/libregex-cf89f4e80c972350.rlib" "/opt/rustwide/target/debug/deps/libutf8_ranges-397f79d90584a2a0.rlib" "/opt/rustwide/target/debug/deps/libregex_syntax-8192dbe41994ef33.rlib" "/opt/rustwide/target/debug/deps/libucd_util-ed126d8c55f43f8b.rlib" "/opt/rustwide/target/debug/deps/libthread_local-f94f7c6111ec6fa9.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-8415b2ab78f35129.rlib" "/opt/rustwide/target/debug/deps/libunreachable-7f6700463b97da45.rlib" "/opt/rustwide/target/debug/deps/libvoid-8ddff08a32a4354c.rlib" "/opt/rustwide/target/debug/deps/libaho_corasick-f35fc6d9540db9e4.rlib" "/opt/rustwide/target/debug/deps/libmemchr-235ee712ae5ffef9.rlib" "/opt/rustwide/target/debug/deps/libatty-ebb4960ceccf7ef8.rlib" "/opt/rustwide/target/debug/deps/liblibc-8ec3f7015ca8e227.rlib" "/opt/rustwide/target/debug/deps/libhumantime-e1732b6ee7639b33.rlib" "/opt/rustwide/target/debug/deps/libquick_error-bbca79884f64fc4c.rlib" "/opt/rustwide/target/debug/deps/libtermcolor-fb277a817706ab1c.rlib" "/opt/rustwide/target/debug/deps/liblog-759f0dad9fd30c10.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-998ad3ee3e554282.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9a950938f3668a37.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-3b1b529ec96b3df7.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-ac333df4e6839cea.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-22a9ff9d2be6d427.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-5decbb94c7d60860.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-29a9663b62a1cd00.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-6f0cee0dbab2d3f8.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-f5dc7d1d28c5c249.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-d19bda9ef557e755.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-82a955fd13db2399.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-44f3e7c1b7cc17ef.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-3ee6f750c5f3c2cf.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-ae5e1795dcba83e8.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-8d545d8592f2b534.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-c4c222675f83fd37.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-c1e9c53e75e301ed.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-beea7d9617fe25c5.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-8ef7dd43fc671f88.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-80a2b295510dd038.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/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/prefixdevname-e9914ab775dbbeb3" "-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" "16c3076f33bfa91d53963859293836244c40d73f68b546850bc4302c2c7dd80d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16c3076f33bfa91d53963859293836244c40d73f68b546850bc4302c2c7dd80d", kill_on_drop: false }` [INFO] [stdout] 16c3076f33bfa91d53963859293836244c40d73f68b546850bc4302c2c7dd80d