[INFO] fetching crate armorlib 0.2.3... [INFO] testing armorlib-0.2.3 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate armorlib 0.2.3 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate armorlib 0.2.3 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate armorlib 0.2.3 [INFO] finished tweaking crates.io crate armorlib 0.2.3 [INFO] tweaked toml for crates.io crate armorlib 0.2.3 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ed2ca6485ce7bf109aa210d70c693219b2e9fe0f3a10f6492bd68b55c4ad3739 [INFO] running `Command { std: "docker" "start" "-a" "ed2ca6485ce7bf109aa210d70c693219b2e9fe0f3a10f6492bd68b55c4ad3739", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ed2ca6485ce7bf109aa210d70c693219b2e9fe0f3a10f6492bd68b55c4ad3739", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed2ca6485ce7bf109aa210d70c693219b2e9fe0f3a10f6492bd68b55c4ad3739", kill_on_drop: false }` [INFO] [stdout] ed2ca6485ce7bf109aa210d70c693219b2e9fe0f3a10f6492bd68b55c4ad3739 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f66c04eacddbf0562a67bd1ec5c7d66e05b6ba5844598422140a57bfa712c1a6 [INFO] running `Command { std: "docker" "start" "-a" "f66c04eacddbf0562a67bd1ec5c7d66e05b6ba5844598422140a57bfa712c1a6", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling ansi_term v0.10.2 [INFO] [stderr] Compiling kamadak-exif v0.3.1 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling textwrap v0.9.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling clap v2.29.4 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling simplelog v0.5.3 [INFO] [stderr] Compiling armorlib v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/scan_modules/exif.rs:86:26 [INFO] [stdout] | [INFO] [stdout] 86 | 41492 | 0...31 => Severity::Danger(format!( // subject location, GPS info [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` 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/coordinator.rs:49:34 [INFO] [stdout] | [INFO] [stdout] 49 | scan_modules_to_run: Vec>, [INFO] [stdout] | ^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 - scan_modules_to_run: Vec>, [INFO] [stdout] 49 + scan_modules_to_run: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/coordinator.rs:50:38 [INFO] [stdout] | [INFO] [stdout] 50 | mut extra_preprocessors: Vec>, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 - mut extra_preprocessors: Vec>, [INFO] [stdout] 50 + mut extra_preprocessors: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/preprocessors/mod.rs:27:48 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn make_default_preprocessors() -> Vec> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 - pub fn make_default_preprocessors() -> Vec> { [INFO] [stdout] 27 + pub fn make_default_preprocessors() -> Vec> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/preprocessors/mod.rs:51:28 [INFO] [stdout] | [INFO] [stdout] 51 | preprocessors: Vec>, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 - preprocessors: Vec>, [INFO] [stdout] 51 + preprocessors: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scan_modules/mod.rs:26:47 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn make_default_scan_modules() -> Vec> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 - pub fn make_default_scan_modules() -> Vec> { [INFO] [stdout] 26 + pub fn make_default_scan_modules() -> Vec> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scan_modules/mod.rs:48:38 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn process(scan_modules: Vec>, scan_object: &ScanObject) -> ScanResult { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 - pub fn process(scan_modules: Vec>, scan_object: &ScanObject) -> ScanResult { [INFO] [stdout] 48 + pub fn process(scan_modules: Vec>, scan_object: &ScanObject) -> ScanResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/coordinator.rs:67:46 [INFO] [stdout] | [INFO] [stdout] 67 | let mut preprocessors_to_be_run: Vec> = Vec::new(); [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 - let mut preprocessors_to_be_run: Vec> = Vec::new(); [INFO] [stdout] 67 + let mut preprocessors_to_be_run: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/coordinator.rs:68:46 [INFO] [stdout] | [INFO] [stdout] 68 | let mut available_preprocessors: Vec> = Vec::new(); [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 68 - let mut available_preprocessors: Vec> = Vec::new(); [INFO] [stdout] 68 + let mut available_preprocessors: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 30.86s [INFO] running `Command { std: "docker" "inspect" "f66c04eacddbf0562a67bd1ec5c7d66e05b6ba5844598422140a57bfa712c1a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f66c04eacddbf0562a67bd1ec5c7d66e05b6ba5844598422140a57bfa712c1a6", kill_on_drop: false }` [INFO] [stdout] f66c04eacddbf0562a67bd1ec5c7d66e05b6ba5844598422140a57bfa712c1a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8aad6343ba88d20be4514e6c528de712b812bc2bd30c8fabff69add9da271e13 [INFO] running `Command { std: "docker" "start" "-a" "8aad6343ba88d20be4514e6c528de712b812bc2bd30c8fabff69add9da271e13", kill_on_drop: false }` [INFO] [stderr] Compiling armorlib v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/scan_modules/exif.rs:86:26 [INFO] [stdout] | [INFO] [stdout] 86 | 41492 | 0...31 => Severity::Danger(format!( // subject location, GPS info [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` 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/coordinator.rs:49:34 [INFO] [stdout] | [INFO] [stdout] 49 | scan_modules_to_run: Vec>, [INFO] [stdout] | ^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 - scan_modules_to_run: Vec>, [INFO] [stdout] 49 + scan_modules_to_run: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/coordinator.rs:50:38 [INFO] [stdout] | [INFO] [stdout] 50 | mut extra_preprocessors: Vec>, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 - mut extra_preprocessors: Vec>, [INFO] [stdout] 50 + mut extra_preprocessors: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/preprocessors/mod.rs:27:48 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn make_default_preprocessors() -> Vec> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 - pub fn make_default_preprocessors() -> Vec> { [INFO] [stdout] 27 + pub fn make_default_preprocessors() -> Vec> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/preprocessors/mod.rs:51:28 [INFO] [stdout] | [INFO] [stdout] 51 | preprocessors: Vec>, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 - preprocessors: Vec>, [INFO] [stdout] 51 + preprocessors: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scan_modules/mod.rs:26:47 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn make_default_scan_modules() -> Vec> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 - pub fn make_default_scan_modules() -> Vec> { [INFO] [stdout] 26 + pub fn make_default_scan_modules() -> Vec> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scan_modules/mod.rs:48:38 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn process(scan_modules: Vec>, scan_object: &ScanObject) -> ScanResult { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 - pub fn process(scan_modules: Vec>, scan_object: &ScanObject) -> ScanResult { [INFO] [stdout] 48 + pub fn process(scan_modules: Vec>, scan_object: &ScanObject) -> ScanResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/coordinator.rs:67:46 [INFO] [stdout] | [INFO] [stdout] 67 | let mut preprocessors_to_be_run: Vec> = Vec::new(); [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 - let mut preprocessors_to_be_run: Vec> = Vec::new(); [INFO] [stdout] 67 + let mut preprocessors_to_be_run: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/coordinator.rs:68:46 [INFO] [stdout] | [INFO] [stdout] 68 | let mut available_preprocessors: Vec> = Vec::new(); [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 68 - let mut available_preprocessors: Vec> = Vec::new(); [INFO] [stdout] 68 + let mut available_preprocessors: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/scan_modules/exif.rs:86:26 [INFO] [stdout] | [INFO] [stdout] 86 | 41492 | 0...31 => Severity::Danger(format!( // subject location, GPS info [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` 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/coordinator.rs:49:34 [INFO] [stdout] | [INFO] [stdout] 49 | scan_modules_to_run: Vec>, [INFO] [stdout] | ^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 - scan_modules_to_run: Vec>, [INFO] [stdout] 49 + scan_modules_to_run: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/coordinator.rs:50:38 [INFO] [stdout] | [INFO] [stdout] 50 | mut extra_preprocessors: Vec>, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 - mut extra_preprocessors: Vec>, [INFO] [stdout] 50 + mut extra_preprocessors: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/preprocessors/mod.rs:27:48 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn make_default_preprocessors() -> Vec> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 - pub fn make_default_preprocessors() -> Vec> { [INFO] [stdout] 27 + pub fn make_default_preprocessors() -> Vec> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/preprocessors/mod.rs:51:28 [INFO] [stdout] | [INFO] [stdout] 51 | preprocessors: Vec>, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 - preprocessors: Vec>, [INFO] [stdout] 51 + preprocessors: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scan_modules/mod.rs:26:47 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn make_default_scan_modules() -> Vec> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 - pub fn make_default_scan_modules() -> Vec> { [INFO] [stdout] 26 + pub fn make_default_scan_modules() -> Vec> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scan_modules/mod.rs:48:38 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn process(scan_modules: Vec>, scan_object: &ScanObject) -> ScanResult { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 - pub fn process(scan_modules: Vec>, scan_object: &ScanObject) -> ScanResult { [INFO] [stdout] 48 + pub fn process(scan_modules: Vec>, scan_object: &ScanObject) -> ScanResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/coordinator.rs:67:46 [INFO] [stdout] | [INFO] [stdout] 67 | let mut preprocessors_to_be_run: Vec> = Vec::new(); [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 - let mut preprocessors_to_be_run: Vec> = Vec::new(); [INFO] [stdout] 67 + let mut preprocessors_to_be_run: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/coordinator.rs:68:46 [INFO] [stdout] | [INFO] [stdout] 68 | let mut available_preprocessors: Vec> = Vec::new(); [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 68 - let mut available_preprocessors: Vec> = Vec::new(); [INFO] [stdout] 68 + let mut available_preprocessors: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.41s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/armorlib-0207266133a4f84b) [INFO] [stderr] Executable unittests src/cli/bin.rs (/opt/rustwide/target/debug/deps/armorlib-136bae3fc21a0d13) [INFO] running `Command { std: "docker" "inspect" "8aad6343ba88d20be4514e6c528de712b812bc2bd30c8fabff69add9da271e13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8aad6343ba88d20be4514e6c528de712b812bc2bd30c8fabff69add9da271e13", kill_on_drop: false }` [INFO] [stdout] 8aad6343ba88d20be4514e6c528de712b812bc2bd30c8fabff69add9da271e13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 07525ad2c8c984efc0e4c3666ed85c37d80f9642f0a03900a27e5374e73150a8 [INFO] running `Command { std: "docker" "start" "-a" "07525ad2c8c984efc0e4c3666ed85c37d80f9642f0a03900a27e5374e73150a8", kill_on_drop: false }` [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/scan_modules/exif.rs:86:26 [INFO] [stderr] | [INFO] [stderr] 86 | 41492 | 0...31 => Severity::Danger(format!( // subject location, GPS info [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/coordinator.rs:49:34 [INFO] [stderr] | [INFO] [stderr] 49 | scan_modules_to_run: Vec>, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 49 - scan_modules_to_run: Vec>, [INFO] [stderr] 49 + scan_modules_to_run: Vec>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/coordinator.rs:50:38 [INFO] [stderr] | [INFO] [stderr] 50 | mut extra_preprocessors: Vec>, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 50 - mut extra_preprocessors: Vec>, [INFO] [stderr] 50 + mut extra_preprocessors: Vec>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/preprocessors/mod.rs:27:48 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn make_default_preprocessors() -> Vec> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 27 - pub fn make_default_preprocessors() -> Vec> { [INFO] [stderr] 27 + pub fn make_default_preprocessors() -> Vec> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/preprocessors/mod.rs:51:28 [INFO] [stderr] | [INFO] [stderr] 51 | preprocessors: Vec>, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 51 - preprocessors: Vec>, [INFO] [stderr] 51 + preprocessors: Vec>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/scan_modules/mod.rs:26:47 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn make_default_scan_modules() -> Vec> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 26 - pub fn make_default_scan_modules() -> Vec> { [INFO] [stderr] 26 + pub fn make_default_scan_modules() -> Vec> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/scan_modules/mod.rs:48:38 [INFO] [stderr] | [INFO] [stderr] 48 | pub fn process(scan_modules: Vec>, scan_object: &ScanObject) -> ScanResult { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 48 - pub fn process(scan_modules: Vec>, scan_object: &ScanObject) -> ScanResult { [INFO] [stderr] 48 + pub fn process(scan_modules: Vec>, scan_object: &ScanObject) -> ScanResult { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/coordinator.rs:67:46 [INFO] [stderr] | [INFO] [stderr] 67 | let mut preprocessors_to_be_run: Vec> = Vec::new(); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 67 - let mut preprocessors_to_be_run: Vec> = Vec::new(); [INFO] [stderr] 67 + let mut preprocessors_to_be_run: Vec> = Vec::new(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/coordinator.rs:68:46 [INFO] [stderr] | [INFO] [stderr] 68 | let mut available_preprocessors: Vec> = Vec::new(); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 68 - let mut available_preprocessors: Vec> = Vec::new(); [INFO] [stderr] 68 + let mut available_preprocessors: Vec> = Vec::new(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `armorlib` (lib) generated 9 warnings [INFO] [stderr] warning: `armorlib` (lib test) generated 9 warnings (9 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/armorlib-0207266133a4f84b) [INFO] [stdout] [INFO] [stdout] running 20 tests [INFO] [stdout] test preprocessors::text::tests::test_determine_encoding_utf16 ... ok [INFO] [stdout] test preprocessors::text::tests::test_determine_encoding_utf32 ... ok [INFO] [stdout] test preprocessors::text::tests::test_determine_encoding_utf8 ... ok [INFO] [stdout] test preprocessors::text::tests::test_utf16_extraction ... ok [INFO] [stdout] test preprocessors::text::tests::test_utf8_extraction ... ok [INFO] [stdout] test coordinator::tests::test_full_cycle ... ok [INFO] [stdout] test util::tests::test_hex_to_vec ... ok [INFO] [stdout] test scan_modules::unicode_watermark::tests::test_zero_width_joiner_non_joiner ... ok [INFO] [stdout] test preprocessors::text::tests::test_determine_encoding_nodata ... ok [INFO] [stdout] test process::tests::test_for_vec ... ok [INFO] [stdout] test scan_modules::unicode_watermark::tests::test_zero_width_space_char ... ok [INFO] [stdout] test preprocessors::text::tests::test_determine_encoding_ascii ... ok [INFO] [stdout] test process::tests::test_for_binary_object ... ok [INFO] [stdout] test preprocessors::text::tests::test_ascii_extraction ... ok [INFO] [stdout] test preprocessors::hash::tests::test_hashes ... ok [INFO] [stdout] test scan_object::tests::test_get_metadata ... ok [INFO] [stdout] test util::tests::test_u8s_to_u16 ... ok [INFO] [stdout] test util::tests::test_u8s_to_u32 ... ok [INFO] [stdout] test preprocessors::filetype::tests::test_filetype_detection_rar ... ok [INFO] [stdout] test preprocessors::filetype::tests::test_filetype_detection_avi ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 20 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests src/cli/bin.rs (/opt/rustwide/target/debug/deps/armorlib-136bae3fc21a0d13) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests armorlib [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/workdir/src/scan_modules/exif.rs:86:26 [INFO] [stderr] | [INFO] [stderr] 86 | 41492 | 0...31 => Severity::Danger(format!( // subject location, GPS info [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test src/util.rs - util::u8s_to_u16 (line 40) ... ok [INFO] [stdout] test src/coordinator.rs - coordinator::process (line 33) ... ok [INFO] [stdout] test src/util.rs - util::hex_to_vec (line 11) ... ok [INFO] [stdout] test src/scan_object.rs - scan_object::ScanObject::get_metadata (line 51) ... ok [INFO] [stdout] test src/preprocessors/mod.rs - preprocessors::make_default_preprocessors (line 23) ... ok [INFO] [stdout] test src/util.rs - util::u8s_to_u32 (line 60) ... ok [INFO] [stdout] test src/process.rs - process::Process (line 17) ... ok [INFO] [stdout] test src/process.rs - process::Vec (line 43) ... ok [INFO] [stdout] test src/scan_modules/mod.rs - scan_modules::make_default_scan_modules (line 22) ... ok [INFO] [stdout] test src/process.rs - process::BinaryObject (line 61) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 6.98s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "07525ad2c8c984efc0e4c3666ed85c37d80f9642f0a03900a27e5374e73150a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07525ad2c8c984efc0e4c3666ed85c37d80f9642f0a03900a27e5374e73150a8", kill_on_drop: false }` [INFO] [stdout] 07525ad2c8c984efc0e4c3666ed85c37d80f9642f0a03900a27e5374e73150a8