[INFO] cloning repository https://github.com/trafficland/counter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/trafficland/counter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrafficland%2Fcounter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrafficland%2Fcounter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3f30d2583eba4922a72b3ec885c831a2cf558067 [INFO] testing trafficland/counter against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrafficland%2Fcounter" "/workspace/builds/worker-17/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-17/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 79% (27/34) Updating files: 82% (28/34) Updating files: 85% (29/34) Updating files: 88% (30/34) Updating files: 91% (31/34) Updating files: 94% (32/34) Updating files: 97% (33/34) Updating files: 100% (34/34) Updating files: 100% (34/34), done. [INFO] validating manifest of git repo https://github.com/trafficland/counter 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 git repo https://github.com/trafficland/counter [INFO] finished tweaking git repo https://github.com/trafficland/counter [INFO] tweaked toml for git repo https://github.com/trafficland/counter written to /workspace/builds/worker-17/source/Cargo.toml [INFO] crate git repo https://github.com/trafficland/counter already has a lockfile, it will not be regenerated [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-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 581bbd3db26e8311cfb59b654726a06808dd67939b25bc3f5c2a440e694f44b6 [INFO] running `Command { std: "docker" "start" "-a" "581bbd3db26e8311cfb59b654726a06808dd67939b25bc3f5c2a440e694f44b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "581bbd3db26e8311cfb59b654726a06808dd67939b25bc3f5c2a440e694f44b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "581bbd3db26e8311cfb59b654726a06808dd67939b25bc3f5c2a440e694f44b6", kill_on_drop: false }` [INFO] [stdout] 581bbd3db26e8311cfb59b654726a06808dd67939b25bc3f5c2a440e694f44b6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3838d0c29fdd314cbff8ffd13d840a51ae097237365db6d721bb87390dbc617c [INFO] running `Command { std: "docker" "start" "-a" "3838d0c29fdd314cbff8ffd13d840a51ae097237365db6d721bb87390dbc617c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.22 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling num-traits v0.1.37 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling log v0.3.7 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling lazy_static v0.2.8 [INFO] [stderr] Compiling same-file v0.1.3 [INFO] [stderr] Compiling crossbeam v0.2.10 [INFO] [stderr] Compiling vec_map v0.7.0 [INFO] [stderr] Compiling bitflags v0.8.2 [INFO] [stderr] Compiling scopeguard v0.1.2 [INFO] [stderr] Compiling unicode-segmentation v1.1.0 [INFO] [stderr] Compiling variance v0.1.3 [INFO] [stderr] Compiling regex-syntax v0.4.0 [INFO] [stderr] Compiling unreachable v0.1.1 [INFO] [stderr] Compiling walkdir v1.0.7 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling scoped-pool v1.0.0 [INFO] [stderr] Compiling time v0.1.37 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling memchr v1.0.1 [INFO] [stderr] Compiling thread-id v3.0.0 [INFO] [stderr] Compiling term_size v0.3.0 [INFO] [stderr] Compiling atty v0.2.2 [INFO] [stderr] Compiling num_cpus v1.4.0 [INFO] [stderr] Compiling num-integer v0.1.34 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling thread_local v0.3.3 [INFO] [stderr] Compiling clap v2.23.3 [INFO] [stderr] Compiling aho-corasick v0.6.3 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling num-iter v0.1.33 [INFO] [stderr] Compiling num v0.1.37 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling regex v0.2.1 [INFO] [stderr] Compiling chrono v0.2.25 [INFO] [stderr] Compiling elp v2.0.0 [INFO] [stderr] Compiling counter v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling env_logger v0.3.5 [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/record_handling.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | / lazy_static! { [INFO] [stdout] 41 | | static ref SYSTEM_REGEX: Regex = Regex::new(r"(?i)system=([^&]*)").unwrap(); [INFO] [stdout] 42 | | } [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/record_handling.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | / lazy_static! { [INFO] [stdout] 41 | | static ref SYSTEM_REGEX: Regex = Regex::new(r"(?i)system=([^&]*)").unwrap(); [INFO] [stdout] 42 | | } [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: variable does not need to be mutable [INFO] [stdout] --> src/aggregation_control.rs:24:39 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn run_aggregation(&mut self, mut filenames: &mut Vec) -> FileAggregation { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/file_handling.rs:99:28 [INFO] [stdout] | [INFO] [stdout] 99 | panic!(msg); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 99 | panic!("{}", msg); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:96:52 [INFO] [stdout] | [INFO] [stdout] 96 | fn run(&mut self, num_file_aggregators: usize, mut filenames: &mut Vec) -> counter::FileAggregation { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 15.57s [INFO] running `Command { std: "docker" "inspect" "3838d0c29fdd314cbff8ffd13d840a51ae097237365db6d721bb87390dbc617c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3838d0c29fdd314cbff8ffd13d840a51ae097237365db6d721bb87390dbc617c", kill_on_drop: false }` [INFO] [stdout] 3838d0c29fdd314cbff8ffd13d840a51ae097237365db6d721bb87390dbc617c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 60db365fbb3b0f2427265dc6b577d1212e452c0420a87af6e31230d73a31c668 [INFO] running `Command { std: "docker" "start" "-a" "60db365fbb3b0f2427265dc6b577d1212e452c0420a87af6e31230d73a31c668", kill_on_drop: false }` [INFO] [stderr] Compiling names v0.11.0 [INFO] [stderr] Compiling rand v0.3.15 [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/record_handling.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | / lazy_static! { [INFO] [stdout] 41 | | static ref SYSTEM_REGEX: Regex = Regex::new(r"(?i)system=([^&]*)").unwrap(); [INFO] [stdout] 42 | | } [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/record_handling.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | / lazy_static! { [INFO] [stdout] 41 | | static ref SYSTEM_REGEX: Regex = Regex::new(r"(?i)system=([^&]*)").unwrap(); [INFO] [stdout] 42 | | } [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: variable does not need to be mutable [INFO] [stdout] --> src/aggregation_control.rs:24:39 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn run_aggregation(&mut self, mut filenames: &mut Vec) -> FileAggregation { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/file_handling.rs:99:28 [INFO] [stdout] | [INFO] [stdout] 99 | panic!(msg); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 99 | panic!("{}", msg); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling counter v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/record_handling.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | / lazy_static! { [INFO] [stdout] 41 | | static ref SYSTEM_REGEX: Regex = Regex::new(r"(?i)system=([^&]*)").unwrap(); [INFO] [stdout] 42 | | } [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/record_handling.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | / lazy_static! { [INFO] [stdout] 41 | | static ref SYSTEM_REGEX: Regex = Regex::new(r"(?i)system=([^&]*)").unwrap(); [INFO] [stdout] 42 | | } [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 constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/file_handling.rs:332:46 [INFO] [stdout] | [INFO] [stdout] 332 | static TEST_DIR_SYNC: sync::Once = sync::ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:96:52 [INFO] [stdout] | [INFO] [stdout] 96 | fn run(&mut self, num_file_aggregators: usize, mut filenames: &mut Vec) -> counter::FileAggregation { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/file_handling.rs:338:47 [INFO] [stdout] | [INFO] [stdout] 338 | let path = format!("{}/{}", TEST_DIR, NAME_GENERATOR.next()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(const_item_mutation)]` on by default [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> src/file_handling.rs:348:9 [INFO] [stdout] | [INFO] [stdout] 348 | fn next(&mut self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/file_handling.rs:360:5 [INFO] [stdout] | [INFO] [stdout] 360 | const NAME_GENERATOR: NameGenerator = NameGenerator { generator: None }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/file_handling.rs:355:23 [INFO] [stdout] | [INFO] [stdout] 355 | .map(|mut g| g.next().unwrap()) [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/aggregation_control.rs:24:39 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn run_aggregation(&mut self, mut filenames: &mut Vec) -> FileAggregation { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/file_handling.rs:286:50 [INFO] [stdout] | [INFO] [stdout] 286 | path.push_str(format!("/{}", NAME_GENERATOR.next()).as_str()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> src/file_handling.rs:348:9 [INFO] [stdout] | [INFO] [stdout] 348 | fn next(&mut self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/file_handling.rs:360:5 [INFO] [stdout] | [INFO] [stdout] 360 | const NAME_GENERATOR: NameGenerator = NameGenerator { generator: None }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/file_handling.rs:290:50 [INFO] [stdout] | [INFO] [stdout] 290 | path.push_str(format!("/{}.log", NAME_GENERATOR.next()).as_str()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> src/file_handling.rs:348:9 [INFO] [stdout] | [INFO] [stdout] 348 | fn next(&mut self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/file_handling.rs:360:5 [INFO] [stdout] | [INFO] [stdout] 360 | const NAME_GENERATOR: NameGenerator = NameGenerator { generator: None }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/file_handling.rs:99:28 [INFO] [stdout] | [INFO] [stdout] 99 | panic!(msg); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 99 | panic!("{}", msg); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.19s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/counter-2a4342664b83deeb) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/counter-b0f206a2643c58e3) [INFO] running `Command { std: "docker" "inspect" "60db365fbb3b0f2427265dc6b577d1212e452c0420a87af6e31230d73a31c668", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60db365fbb3b0f2427265dc6b577d1212e452c0420a87af6e31230d73a31c668", kill_on_drop: false }` [INFO] [stdout] 60db365fbb3b0f2427265dc6b577d1212e452c0420a87af6e31230d73a31c668 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 91c0b3c45b21ccd22a5079d73257e55710de7d9ab95e8a803b8666b22d82fe6a [INFO] running `Command { std: "docker" "start" "-a" "91c0b3c45b21ccd22a5079d73257e55710de7d9ab95e8a803b8666b22d82fe6a", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/record_handling.rs:40:1 [INFO] [stderr] | [INFO] [stderr] 40 | / lazy_static! { [INFO] [stderr] 41 | | static ref SYSTEM_REGEX: Regex = Regex::new(r"(?i)system=([^&]*)").unwrap(); [INFO] [stderr] 42 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/record_handling.rs:40:1 [INFO] [stderr] | [INFO] [stderr] 40 | / lazy_static! { [INFO] [stderr] 41 | | static ref SYSTEM_REGEX: Regex = Regex::new(r"(?i)system=([^&]*)").unwrap(); [INFO] [stderr] 42 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/aggregation_control.rs:24:39 [INFO] [stderr] | [INFO] [stderr] 24 | pub fn run_aggregation(&mut self, mut filenames: &mut Vec) -> FileAggregation { [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/file_handling.rs:99:28 [INFO] [stderr] | [INFO] [stderr] 99 | panic!(msg); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 99 | panic!("{}", msg); [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/file_handling.rs:332:46 [INFO] [stderr] | [INFO] [stderr] 332 | static TEST_DIR_SYNC: sync::Once = sync::ONCE_INIT; [INFO] [stderr] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stderr] [INFO] [stderr] warning: taking a mutable reference to a `const` item [INFO] [stderr] --> src/file_handling.rs:338:47 [INFO] [stderr] | [INFO] [stderr] 338 | let path = format!("{}/{}", TEST_DIR, NAME_GENERATOR.next()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(const_item_mutation)]` on by default [INFO] [stderr] = note: each usage of a `const` item creates a new temporary [INFO] [stderr] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stderr] note: mutable reference created due to call to this method [INFO] [stderr] --> src/file_handling.rs:348:9 [INFO] [stderr] | [INFO] [stderr] 348 | fn next(&mut self) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] note: `const` item defined here [INFO] [stderr] --> src/file_handling.rs:360:5 [INFO] [stderr] | [INFO] [stderr] 360 | const NAME_GENERATOR: NameGenerator = NameGenerator { generator: None }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/file_handling.rs:355:23 [INFO] [stderr] | [INFO] [stderr] 355 | .map(|mut g| g.next().unwrap()) [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/aggregation_control.rs:24:39 [INFO] [stderr] | [INFO] [stderr] 24 | pub fn run_aggregation(&mut self, mut filenames: &mut Vec) -> FileAggregation { [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: taking a mutable reference to a `const` item [INFO] [stderr] --> src/file_handling.rs:286:50 [INFO] [stderr] | [INFO] [stderr] 286 | path.push_str(format!("/{}", NAME_GENERATOR.next()).as_str()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: each usage of a `const` item creates a new temporary [INFO] [stderr] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stderr] note: mutable reference created due to call to this method [INFO] [stderr] --> src/file_handling.rs:348:9 [INFO] [stderr] | [INFO] [stderr] 348 | fn next(&mut self) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] note: `const` item defined here [INFO] [stderr] --> src/file_handling.rs:360:5 [INFO] [stderr] | [INFO] [stderr] 360 | const NAME_GENERATOR: NameGenerator = NameGenerator { generator: None }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: taking a mutable reference to a `const` item [INFO] [stderr] --> src/file_handling.rs:290:50 [INFO] [stderr] | [INFO] [stderr] 290 | path.push_str(format!("/{}.log", NAME_GENERATOR.next()).as_str()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: each usage of a `const` item creates a new temporary [INFO] [stderr] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stderr] note: mutable reference created due to call to this method [INFO] [stderr] --> src/file_handling.rs:348:9 [INFO] [stderr] | [INFO] [stderr] 348 | fn next(&mut self) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] note: `const` item defined here [INFO] [stderr] --> src/file_handling.rs:360:5 [INFO] [stderr] | [INFO] [stderr] 360 | const NAME_GENERATOR: NameGenerator = NameGenerator { generator: None }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `counter` (lib) generated 4 warnings [INFO] [stderr] warning: `counter` (lib test) generated 9 warnings (3 duplicates) [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:96:52 [INFO] [stderr] | [INFO] [stderr] 96 | fn run(&mut self, num_file_aggregators: usize, mut filenames: &mut Vec) -> counter::FileAggregation { [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `counter` (bin "counter" test) generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/counter-2a4342664b83deeb) [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test aggregation_control::aggregation_controller_unit_tests::run_aggregation_returns_when_all_of_the_file_handlers_have_sent_their_aggs ... ok [INFO] [stdout] test aggregation_control::aggregation_controller_unit_tests::run_aggregation_sends_a_filename_to_the_correct_file_handler_when_there_is_a_filename ... ok [INFO] [stdout] test aggregation_control::aggregation_controller_unit_tests::run_aggregation_sends_done_msg_to_the_correct_file_handler_after_filenames_are_gone ... ok [INFO] [stdout] test aggregation_control::aggregation_controller_unit_tests::run_aggregation_sends_done_msg_to_the_correct_file_handler_when_there_are_no_filenames ... ok [INFO] [stdout] test file_handling::file_aggregator_process_file_tests::process_file_should_return_an_error_when_the_file_cannot_be_opened ... ok [INFO] [stdout] test file_handling::file_aggregator_run_tests::sends_a_next_message_after_starting_up ... ok [INFO] [stdout] test file_handling::file_aggregator_run_tests::sends_the_final_agg_after_receiving_the_done_message ... ok [INFO] [stdout] test record_handling::aggregate_record_tests::inserting_two_records_with_different_values_creates_two_entries_each_recorded_once ... ok [INFO] [stdout] test record_handling::aggregate_record_tests::inserting_two_records_with_the_same_values_increases_the_total_correctly ... ok [INFO] [stdout] test record_handling::merge_aggregates_tests::merge_aggregates_insert_the_src_aggs_into_dst_aggs_when_dst_aggs_is_empty ... ok [INFO] [stdout] test record_handling::merge_aggregates_tests::merge_aggregates_updates_the_dst_aggs_according_to_the_src_aggs ... ok [INFO] [stdout] test record_handling::parse_system_name_tests::parse_system_name_regex_returns_a_none_when_the_system_name_is_not_present ... ok [INFO] [stderr] "" [INFO] [stdout] test record_handling::handle_parsing_result_tests::handle_parsing_result_should_not_alter_the_dst_agg_when_passed_bad_records ... ok [INFO] [stdout] test record_handling::handle_parsing_result_tests::handle_parsing_result_should_update_the_dst_agg_when_passed_good_records ... ok [INFO] [stdout] test record_handling::parse_system_name_tests::parse_system_name_regex_returns_the_system_name_when_it_exists ... ok [INFO] [stdout] test file_handling::file_list_tests::file_list_should_return_the_correct_number_of_files ... FAILED [INFO] [stdout] test file_handling::file_list_tests::file_list_should_return_0_when_there_are_no_files_in_the_directory ... FAILED [INFO] [stdout] test file_handling::file_aggregator_process_file_tests::process_file_should_return_a_result_with_the_correct_number_of_processed_records ... ok [INFO] [stdout] test file_handling::file_aggregator_read_records::read_records ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- file_handling::file_list_tests::file_list_should_return_the_correct_number_of_files stdout ---- [INFO] [stdout] thread 'file_handling::file_list_tests::file_list_should_return_the_correct_number_of_files' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/file_handling.rs:296:22 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5654640cc72d - std::backtrace_rs::backtrace::libunwind::trace::ha359b7f0090e2792 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x5654640cc72d - std::backtrace_rs::backtrace::trace_unsynchronized::h0584631f25c1d70e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5654640cc72d - std::sys_common::backtrace::_print_fmt::hdadffd97d279ff14 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x5654640cc72d - ::fmt::h26f189e611080a74 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x5654640f0d2c - core::fmt::write::hfb5d11dfe037e8b7 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/fmt/mod.rs:1194:17 [INFO] [stdout] 5: 0x5654640c8381 - std::io::Write::write_fmt::h6a24ec64406df9e2 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/io/mod.rs:1655:15 [INFO] [stdout] 6: 0x5654640ce475 - std::sys_common::backtrace::_print::h7a0e44402913ba60 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x5654640ce475 - std::sys_common::backtrace::print::h9767dc455a84e728 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x5654640ce475 - std::panicking::default_hook::{{closure}}::h60afd6c8b12988ad [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x5654640ce164 - std::panicking::default_hook::ha7b9bac6813f9d21 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x5654640ce9c2 - std::panicking::rust_panic_with_hook::h7b117a162a6f8664 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x5654640ce8a7 - std::panicking::begin_panic_handler::{{closure}}::h346750923c608600 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x5654640ccbe4 - std::sys_common::backtrace::__rust_end_short_backtrace::h768c56c6a0c055c0 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x5654640ce5d9 - rust_begin_unwind [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x565463eeb483 - core::panicking::panic_fmt::h5c41cb2fa118fdbc [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x565463eeb573 - core::result::unwrap_failed::h6bc7b183ec719494 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/result.rs:1785:5 [INFO] [stdout] 16: 0x565463efa620 - core::result::Result::unwrap::h4d909a62e6384b89 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/result.rs:1078:23 [INFO] [stdout] 17: 0x565463f0b342 - counter::file_handling::file_list_tests::file_list_should_return_the_correct_number_of_files::{{closure}}::h3c0e9e746b249e23 [INFO] [stdout] at /opt/rustwide/workdir/src/file_handling.rs:291:25 [INFO] [stdout] 18: 0x565463f0a815 - counter::file_handling::file_list_tests::run_int_test_in_test_dir::{{closure}}::h14c86064c706cabf [INFO] [stdout] at /opt/rustwide/workdir/src/file_handling.rs:322:45 [INFO] [stdout] 19: 0x565463f0be5c - std::panicking::try::do_call::hac995b7be83f1f0b [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 20: 0x565463f0f87b - __rust_try [INFO] [stdout] 21: 0x565463f0bd14 - std::panicking::try::h02c86ed532bcf6f6 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 22: 0x565463f133be - std::panic::catch_unwind::h26d19bbe72dacbd1 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 23: 0x565463f0a4b2 - counter::file_handling::file_list_tests::run_int_test_in_test_dir::h7495c46ef1d287f2 [INFO] [stdout] at /opt/rustwide/workdir/src/file_handling.rs:322:22 [INFO] [stdout] 24: 0x565463f0abf6 - counter::file_handling::file_list_tests::file_list_should_return_the_correct_number_of_files::hada77d77a5f6457e [INFO] [stdout] at /opt/rustwide/workdir/src/file_handling.rs:276:9 [INFO] [stdout] 25: 0x565463f0abda - counter::file_handling::file_list_tests::file_list_should_return_the_correct_number_of_files::{{closure}}::h6d9c660c0f62dbe4 [INFO] [stdout] at /opt/rustwide/workdir/src/file_handling.rs:275:5 [INFO] [stdout] 26: 0x565463f01b8e - core::ops::function::FnOnce::call_once::h930e2fac4d61504b [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 27: 0x565463f5ae73 - core::ops::function::FnOnce::call_once::h018fc248431ce8de [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 28: 0x565463f5ae73 - test::__rust_begin_short_backtrace::h293b982b6069d6e3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:574:5 [INFO] [stdout] 29: 0x565463f59c29 - as core::ops::function::FnOnce>::call_once::h4fc1be1a762c7a46 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 30: 0x565463f59c29 - as core::ops::function::FnOnce<()>>::call_once::hd44623ec51b9e897 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 31: 0x565463f59c29 - std::panicking::try::do_call::ha8cfa4b025f5b832 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 32: 0x565463f59c29 - std::panicking::try::h664f75e41c112145 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 33: 0x565463f59c29 - std::panic::catch_unwind::h4932ec05cd60558e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 34: 0x565463f59c29 - test::run_test_in_process::ha14a47756671755c [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:597:18 [INFO] [stdout] 35: 0x565463f59c29 - test::run_test::run_test_inner::{{closure}}::h0ec9e37c8f67b62d [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:491:39 [INFO] [stdout] 36: 0x565463f25dde - test::run_test::run_test_inner::{{closure}}::hd9d2e7f26d4f59e6 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:518:37 [INFO] [stdout] 37: 0x565463f25dde - std::sys_common::backtrace::__rust_begin_short_backtrace::h41c0a39fac5123f8 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 38: 0x565463f2b348 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h69a02ca0bebb6eeb [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 39: 0x565463f2b348 - as core::ops::function::FnOnce<()>>::call_once::hdd05632920ce689b [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 40: 0x565463f2b348 - std::panicking::try::do_call::hb4947142729b90fd [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 41: 0x565463f2b348 - std::panicking::try::h15a7e9b8394e6878 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 42: 0x565463f2b348 - std::panic::catch_unwind::hbd3f4a3f9df49b85 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 43: 0x565463f2b348 - std::thread::Builder::spawn_unchecked_::{{closure}}::h880b5d5f1b9799f4 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 44: 0x565463f2b348 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h304d5eaf401f5061 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 45: 0x5654640d3de3 - as core::ops::function::FnOnce>::call_once::hdba7f2afed0c35b3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 46: 0x5654640d3de3 - as core::ops::function::FnOnce>::call_once::h38b0832765bf7961 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 47: 0x5654640d3de3 - std::sys::unix::thread::Thread::new::thread_start::h70236dc17753425e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 48: 0x7f986ac04609 - start_thread [INFO] [stdout] 49: 0x7f986a9d4163 - clone [INFO] [stdout] 50: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- file_handling::file_list_tests::file_list_should_return_0_when_there_are_no_files_in_the_directory stdout ---- [INFO] [stdout] thread 'file_handling::file_list_tests::file_list_should_return_0_when_there_are_no_files_in_the_directory' panicked at 'called `Result::unwrap()` on an `Err` value: Error { depth: 0, inner: Io { path: Some("./int_tests/whole-station"), err: Os { code: 2, kind: NotFound, message: "No such file or directory" } } }', src/file_handling.rs:310:63 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5654640cc72d - std::backtrace_rs::backtrace::libunwind::trace::ha359b7f0090e2792 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x5654640cc72d - std::backtrace_rs::backtrace::trace_unsynchronized::h0584631f25c1d70e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5654640cc72d - std::sys_common::backtrace::_print_fmt::hdadffd97d279ff14 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x5654640cc72d - ::fmt::h26f189e611080a74 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x5654640f0d2c - core::fmt::write::hfb5d11dfe037e8b7 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/fmt/mod.rs:1194:17 [INFO] [stdout] 5: 0x5654640c8381 - std::io::Write::write_fmt::h6a24ec64406df9e2 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/io/mod.rs:1655:15 [INFO] [stdout] 6: 0x5654640ce475 - std::sys_common::backtrace::_print::h7a0e44402913ba60 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x5654640ce475 - std::sys_common::backtrace::print::h9767dc455a84e728 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x5654640ce475 - std::panicking::default_hook::{{closure}}::h60afd6c8b12988ad [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x5654640ce164 - std::panicking::default_hook::ha7b9bac6813f9d21 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x5654640ce9c2 - std::panicking::rust_panic_with_hook::h7b117a162a6f8664 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x5654640ce8a7 - std::panicking::begin_panic_handler::{{closure}}::h346750923c608600 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x5654640ccbe4 - std::sys_common::backtrace::__rust_end_short_backtrace::h768c56c6a0c055c0 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x5654640ce5d9 - rust_begin_unwind [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x565463eeb483 - core::panicking::panic_fmt::h5c41cb2fa118fdbc [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x565463eeb573 - core::result::unwrap_failed::h6bc7b183ec719494 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/result.rs:1785:5 [INFO] [stdout] 16: 0x565463efa4de - core::result::Result::unwrap::h454bbf24adacb0c3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/result.rs:1078:23 [INFO] [stdout] 17: 0x565463f0b6c1 - counter::file_handling::file_list_tests::file_list_should_return_0_when_there_are_no_files_in_the_directory::{{closure}}::h256e4890cd30f405 [INFO] [stdout] at /opt/rustwide/workdir/src/file_handling.rs:310:25 [INFO] [stdout] 18: 0x565463f0a895 - counter::file_handling::file_list_tests::run_int_test_in_test_dir::{{closure}}::hee0c70b55664fc7d [INFO] [stdout] at /opt/rustwide/workdir/src/file_handling.rs:322:45 [INFO] [stdout] 19: 0x565463f0be9c - std::panicking::try::do_call::hb1b9d52b1939eedd [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 20: 0x565463f0f87b - __rust_try [INFO] [stdout] 21: 0x565463f0bdc4 - std::panicking::try::h1d06f05da4596591 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 22: 0x565463f133ee - std::panic::catch_unwind::h56edc3dab39b6de8 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 23: 0x565463f0a662 - counter::file_handling::file_list_tests::run_int_test_in_test_dir::hb02ddbd6e1c86b27 [INFO] [stdout] at /opt/rustwide/workdir/src/file_handling.rs:322:22 [INFO] [stdout] 24: 0x565463f0b666 - counter::file_handling::file_list_tests::file_list_should_return_0_when_there_are_no_files_in_the_directory::h2e0aa8ef5ee53fcb [INFO] [stdout] at /opt/rustwide/workdir/src/file_handling.rs:309:9 [INFO] [stdout] 25: 0x565463f0b64a - counter::file_handling::file_list_tests::file_list_should_return_0_when_there_are_no_files_in_the_directory::{{closure}}::h7d9d366081a269ea [INFO] [stdout] at /opt/rustwide/workdir/src/file_handling.rs:308:5 [INFO] [stdout] 26: 0x565463f01fce - core::ops::function::FnOnce::call_once::hf01cdb96f68b492e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 27: 0x565463f5ae73 - core::ops::function::FnOnce::call_once::h018fc248431ce8de [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 28: 0x565463f5ae73 - test::__rust_begin_short_backtrace::h293b982b6069d6e3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:574:5 [INFO] [stdout] 29: 0x565463f59c29 - as core::ops::function::FnOnce>::call_once::h4fc1be1a762c7a46 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 30: 0x565463f59c29 - as core::ops::function::FnOnce<()>>::call_once::hd44623ec51b9e897 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 31: 0x565463f59c29 - std::panicking::try::do_call::ha8cfa4b025f5b832 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 32: 0x565463f59c29 - std::panicking::try::h664f75e41c112145 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 33: 0x565463f59c29 - std::panic::catch_unwind::h4932ec05cd60558e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 34: 0x565463f59c29 - test::run_test_in_process::ha14a47756671755c [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:597:18 [INFO] [stdout] 35: 0x565463f59c29 - test::run_test::run_test_inner::{{closure}}::h0ec9e37c8f67b62d [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:491:39 [INFO] [stdout] 36: 0x565463f25dde - test::run_test::run_test_inner::{{closure}}::hd9d2e7f26d4f59e6 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:518:37 [INFO] [stdout] 37: 0x565463f25dde - std::sys_common::backtrace::__rust_begin_short_backtrace::h41c0a39fac5123f8 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 38: 0x565463f2b348 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h69a02ca0bebb6eeb [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 39: 0x565463f2b348 - as core::ops::function::FnOnce<()>>::call_once::hdd05632920ce689b [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 40: 0x565463f2b348 - std::panicking::try::do_call::hb4947142729b90fd [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 41: 0x565463f2b348 - std::panicking::try::h15a7e9b8394e6878 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 42: 0x565463f2b348 - std::panic::catch_unwind::hbd3f4a3f9df49b85 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 43: 0x565463f2b348 - std::thread::Builder::spawn_unchecked_::{{closure}}::h880b5d5f1b9799f4 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 44: 0x565463f2b348 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h304d5eaf401f5061 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 45: 0x5654640d3de3 - as core::ops::function::FnOnce>::call_once::hdba7f2afed0c35b3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 46: 0x5654640d3de3 - as core::ops::function::FnOnce>::call_once::h38b0832765bf7961 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 47: 0x5654640d3de3 - std::sys::unix::thread::Thread::new::thread_start::h70236dc17753425e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 48: 0x7f986ac04609 - start_thread [INFO] [stdout] 49: 0x7f986a9d4163 - clone [INFO] [stdout] 50: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] file_handling::file_list_tests::file_list_should_return_0_when_there_are_no_files_in_the_directory [INFO] [stdout] file_handling::file_list_tests::file_list_should_return_the_correct_number_of_files [INFO] [stdout] [INFO] [stdout] test result: FAILED. 17 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--lib' [INFO] running `Command { std: "docker" "inspect" "91c0b3c45b21ccd22a5079d73257e55710de7d9ab95e8a803b8666b22d82fe6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91c0b3c45b21ccd22a5079d73257e55710de7d9ab95e8a803b8666b22d82fe6a", kill_on_drop: false }` [INFO] [stdout] 91c0b3c45b21ccd22a5079d73257e55710de7d9ab95e8a803b8666b22d82fe6a