[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 try#eafdee2dfae8c2233b74f98b123308be7ccefcc6 for pr-79296 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrafficland%2Fcounter" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] [stderr] Checking out files: 79% (27/34) Checking out files: 82% (28/34) Checking out files: 85% (29/34) Checking out files: 88% (30/34) Checking out files: 91% (31/34) Checking out files: 94% (32/34) Checking out files: 97% (33/34) Checking out files: 100% (34/34) Checking out files: 100% (34/34), done. [INFO] validating manifest of git repo https://github.com/trafficland/counter on toolchain eafdee2dfae8c2233b74f98b123308be7ccefcc6 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "read-manifest" "--manifest-path" "Cargo.toml", 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-5/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" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded variance v0.1.3 [INFO] [stderr] Downloaded scopeguard v0.1.2 [INFO] [stderr] Downloaded log v0.3.7 [INFO] [stderr] Downloaded regex v0.2.1 [INFO] [stderr] Downloaded redox_syscall v0.1.17 [INFO] [stderr] Downloaded names v0.11.0 [INFO] [stderr] Downloaded num_cpus v1.4.0 [INFO] [stderr] Downloaded scoped-pool v1.0.0 [INFO] [stderr] Downloaded regex-syntax v0.4.0 [INFO] [stderr] Downloaded elp v2.0.0 [INFO] [stderr] Downloaded thread-id v3.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1900b63eb6437b842db2c8ca52393fb5c08d8eace256033235ce31fe9759a02d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1900b63eb6437b842db2c8ca52393fb5c08d8eace256033235ce31fe9759a02d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1900b63eb6437b842db2c8ca52393fb5c08d8eace256033235ce31fe9759a02d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1900b63eb6437b842db2c8ca52393fb5c08d8eace256033235ce31fe9759a02d", kill_on_drop: false }` [INFO] [stdout] 1900b63eb6437b842db2c8ca52393fb5c08d8eace256033235ce31fe9759a02d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 59afe74d9ca8e6e1b77f1ce16a58515c5fda76135a2e97b98922eaa2174e50b0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "59afe74d9ca8e6e1b77f1ce16a58515c5fda76135a2e97b98922eaa2174e50b0", kill_on_drop: false }` [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling log v0.3.7 [INFO] [stderr] Compiling regex-syntax v0.4.0 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling ansi_term v0.9.0 [INFO] [stderr] Compiling crossbeam v0.2.10 [INFO] [stderr] Compiling same-file v0.1.3 [INFO] [stderr] Compiling variance v0.1.3 [INFO] [stderr] Compiling scopeguard v0.1.2 [INFO] [stderr] Compiling vec_map v0.7.0 [INFO] [stderr] Compiling utf8-ranges 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 unreachable v0.1.1 [INFO] [stderr] Compiling aho-corasick v0.6.3 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling walkdir v1.0.7 [INFO] [stderr] Compiling thread_local v0.3.3 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling clap v2.23.3 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling scoped-pool v1.0.0 [INFO] [stderr] Compiling chrono v0.2.25 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling regex v0.2.1 [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 a macro (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 a macro (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: 3 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 38.47s [INFO] running `Command { std: "docker" "inspect" "59afe74d9ca8e6e1b77f1ce16a58515c5fda76135a2e97b98922eaa2174e50b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59afe74d9ca8e6e1b77f1ce16a58515c5fda76135a2e97b98922eaa2174e50b0", kill_on_drop: false }` [INFO] [stdout] 59afe74d9ca8e6e1b77f1ce16a58515c5fda76135a2e97b98922eaa2174e50b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d888d3f2a19385723b3d8bc4ce3ccbf6c3a53ebe9de8210bd8f8aea5868c1359 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d888d3f2a19385723b3d8bc4ce3ccbf6c3a53ebe9de8210bd8f8aea5868c1359", 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 a macro (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 a macro (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: 3 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/file_handling.rs:332:40 [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] = note: `#[warn(deprecated)]` on by default [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 a macro (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 a macro (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/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:286:50 [INFO] [stdout] | [INFO] [stdout] 286 | path.push_str(format!("/{}", NAME_GENERATOR.next()).as_str()); [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: 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: 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: 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: 8 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 7.81s [INFO] running `Command { std: "docker" "inspect" "d888d3f2a19385723b3d8bc4ce3ccbf6c3a53ebe9de8210bd8f8aea5868c1359", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d888d3f2a19385723b3d8bc4ce3ccbf6c3a53ebe9de8210bd8f8aea5868c1359", kill_on_drop: false }` [INFO] [stdout] d888d3f2a19385723b3d8bc4ce3ccbf6c3a53ebe9de8210bd8f8aea5868c1359 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 701eda06a38ae8655690847efd4052beab251aa08d36a3651ee563fbed40902e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "701eda06a38ae8655690847efd4052beab251aa08d36a3651ee563fbed40902e", 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 a macro (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 a macro (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: 3 warnings emitted [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:40 [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] = note: `#[warn(deprecated)]` on by default [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 a macro (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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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: `#[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: 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: 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: 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: 8 warnings emitted [INFO] [stderr] [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: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/counter-aca66e0d7f0df0d2 [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test record_handling::aggregate_record_tests::inserting_two_records_with_different_values_creates_two_entries_each_recorded_once ... 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 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 record_handling::aggregate_record_tests::inserting_two_records_with_the_same_values_increases_the_total_correctly ... ok [INFO] [stdout] test file_handling::file_aggregator_run_tests::sends_the_final_agg_after_receiving_the_done_message ... 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_run_tests::sends_a_next_message_after_starting_up ... ok [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_done_msg_to_the_correct_file_handler_after_filenames_are_gone ... 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::merge_aggregates_tests::merge_aggregates_insert_the_src_aggs_into_dst_aggs_when_dst_aggs_is_empty ... ok [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_list_tests::file_list_should_return_the_correct_number_of_files ... FAILED [INFO] [stdout] test record_handling::parse_system_name_tests::parse_system_name_regex_returns_the_system_name_when_it_exists ... 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] [stdout] test record_handling::handle_parsing_result_tests::handle_parsing_result_should_update_the_dst_agg_when_passed_good_records ... 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 file_handling::file_aggregator_read_records::read_records ... ok [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] [INFO] [stdout] failures: [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/uninterested-drain"), 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: 0x55790ee61c80 - std::backtrace_rs::backtrace::libunwind::trace::h95fc93571932622e [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x55790ee61c80 - std::backtrace_rs::backtrace::trace_unsynchronized::h4d0b90afc33151fd [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55790ee61c80 - std::sys_common::backtrace::_print_fmt::h93d302d001a3bf01 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55790ee61c80 - ::fmt::h7881e3a580134f9a [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55790ee87dac - core::fmt::write::h1857a60b204f1b6a [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/core/src/fmt/mod.rs:1078:17 [INFO] [stdout] 5: 0x55790ee5d7f2 - std::io::Write::write_fmt::hd17811b9a5dec54b [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/io/mod.rs:1519:15 [INFO] [stdout] 6: 0x55790ee64865 - std::sys_common::backtrace::_print::h3e3f9fed81bc11e9 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55790ee64865 - std::sys_common::backtrace::print::hd22ac23fed5071c8 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55790ee64865 - std::panicking::default_hook::{{closure}}::h1647bdcf68060e17 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x55790ee643f2 - std::panicking::default_hook::hb08853b392b9404b [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x55790ee65001 - std::panicking::rust_panic_with_hook::h3624ee29da369ede [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:591:17 [INFO] [stdout] 11: 0x55790ee64b47 - std::panicking::begin_panic_handler::{{closure}}::hefcfcedcde6bb6d9 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:497:13 [INFO] [stdout] 12: 0x55790ee6213c - std::sys_common::backtrace::__rust_end_short_backtrace::heb130cec93caa706 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x55790ee64aa9 - rust_begin_unwind [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:493:5 [INFO] [stdout] 14: 0x55790ee86731 - core::panicking::panic_fmt::hb15d6f55e8472f62 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/core/src/panicking.rs:92:14 [INFO] [stdout] 15: 0x55790ee86553 - core::option::expect_none_failed::he492a18657d97593 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/core/src/option.rs:1268:5 [INFO] [stdout] 16: 0x55790eca5295 - core::result::Result::unwrap::h2e82e776c4584bbd [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/core/src/result.rs:973:23 [INFO] [stdout] 17: 0x55790ec81eaa - counter::file_handling::file_list_tests::file_list_should_return_0_when_there_are_no_files_in_the_directory::{{closure}}::h0496e7cbe9d71f6f [INFO] [stdout] at /opt/rustwide/workdir/src/file_handling.rs:310:25 [INFO] [stdout] 18: 0x55790ec80bfc - counter::file_handling::file_list_tests::run_int_test_in_test_dir::{{closure}}::h4ce04200e4664562 [INFO] [stdout] at /opt/rustwide/workdir/src/file_handling.rs:322:45 [INFO] [stdout] 19: 0x55790ec9a88a - std::panicking::try::do_call::h950e85c8f9e1e001 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:379:40 [INFO] [stdout] 20: 0x55790ec9da7d - __rust_try [INFO] [stdout] 21: 0x55790ec9a717 - std::panicking::try::h98e1736874d69437 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:343:19 [INFO] [stdout] 22: 0x55790ec7fc3e - std::panic::catch_unwind::h77fb8bf92fe3aa56 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panic.rs:396:14 [INFO] [stdout] 23: 0x55790ec80892 - counter::file_handling::file_list_tests::run_int_test_in_test_dir::h44c592d4dcb4db02 [INFO] [stdout] at /opt/rustwide/workdir/src/file_handling.rs:322:22 [INFO] [stdout] 24: 0x55790ec81e46 - counter::file_handling::file_list_tests::file_list_should_return_0_when_there_are_no_files_in_the_directory::h776b308d8be7e995 [INFO] [stdout] at /opt/rustwide/workdir/src/file_handling.rs:309:9 [INFO] [stdout] 25: 0x55790ec81e2a - counter::file_handling::file_list_tests::file_list_should_return_0_when_there_are_no_files_in_the_directory::{{closure}}::h3bce43f121e77ed9 [INFO] [stdout] at /opt/rustwide/workdir/src/file_handling.rs:308:5 [INFO] [stdout] 26: 0x55790ec70bce - core::ops::function::FnOnce::call_once::h669cfd4287532997 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 27: 0x55790eccf333 - core::ops::function::FnOnce::call_once::h72b3efc134abec04 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 28: 0x55790eccf333 - test::__rust_begin_short_backtrace::hf76173a3f44f554b [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/test/src/lib.rs:516:5 [INFO] [stdout] 29: 0x55790eccda28 - as core::ops::function::FnOnce>::call_once::h49f5b686efed1e06 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/alloc/src/boxed.rs:1318:9 [INFO] [stdout] 30: 0x55790eccda28 - as core::ops::function::FnOnce<()>>::call_once::h4879f836ca9aaead [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panic.rs:322:9 [INFO] [stdout] 31: 0x55790eccda28 - std::panicking::try::do_call::h9655796ce3021b6c [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:379:40 [INFO] [stdout] 32: 0x55790eccda28 - std::panicking::try::h346508ed448399f4 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:343:19 [INFO] [stdout] 33: 0x55790eccda28 - std::panic::catch_unwind::h00e84f4e9c3caaa0 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panic.rs:396:14 [INFO] [stdout] 34: 0x55790eccda28 - test::run_test_in_process::hc80321f825c30106 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/test/src/lib.rs:538:18 [INFO] [stdout] 35: 0x55790eccda28 - test::run_test::run_test_inner::{{closure}}::h89c217441620999f [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/test/src/lib.rs:449:39 [INFO] [stdout] 36: 0x55790eca8016 - std::sys_common::backtrace::__rust_begin_short_backtrace::h3852ec0877008db6 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 37: 0x55790ecac7dd - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h7c7dfff4b938ae67 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/thread/mod.rs:474:17 [INFO] [stdout] 38: 0x55790ecac7dd - as core::ops::function::FnOnce<()>>::call_once::h8db0dd15c072a403 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panic.rs:322:9 [INFO] [stdout] 39: 0x55790ecac7dd - std::panicking::try::do_call::haad8639857ae1187 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:379:40 [INFO] [stdout] 40: 0x55790ecac7dd - std::panicking::try::h61de115e9dce60f6 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:343:19 [INFO] [stdout] 41: 0x55790ecac7dd - std::panic::catch_unwind::h50601fd82666a838 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panic.rs:396:14 [INFO] [stdout] 42: 0x55790ecac7dd - std::thread::Builder::spawn_unchecked::{{closure}}::hac267391ef9d21bd [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/thread/mod.rs:473:30 [INFO] [stdout] 43: 0x55790ecac7dd - core::ops::function::FnOnce::call_once{{vtable.shim}}::heb15d2d9c42706b7 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 44: 0x55790ee6b38a - as core::ops::function::FnOnce>::call_once::h5446ed3fdb82006e [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/alloc/src/boxed.rs:1318:9 [INFO] [stdout] 45: 0x55790ee6b38a - as core::ops::function::FnOnce>::call_once::h62a21a889329a3f2 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/alloc/src/boxed.rs:1318:9 [INFO] [stdout] 46: 0x55790ee6b38a - std::sys::unix::thread::Thread::new::thread_start::h62402416daf174b6 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/sys/unix/thread.rs:71:17 [INFO] [stdout] 47: 0x7f049887b609 - start_thread [INFO] [stdout] 48: 0x7f049864d293 - clone [INFO] [stdout] 49: 0x0 - [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: 0x55790ee61c80 - std::backtrace_rs::backtrace::libunwind::trace::h95fc93571932622e [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x55790ee61c80 - std::backtrace_rs::backtrace::trace_unsynchronized::h4d0b90afc33151fd [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55790ee61c80 - std::sys_common::backtrace::_print_fmt::h93d302d001a3bf01 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55790ee61c80 - ::fmt::h7881e3a580134f9a [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55790ee87dac - core::fmt::write::h1857a60b204f1b6a [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/core/src/fmt/mod.rs:1078:17 [INFO] [stdout] 5: 0x55790ee5d7f2 - std::io::Write::write_fmt::hd17811b9a5dec54b [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/io/mod.rs:1519:15 [INFO] [stdout] 6: 0x55790ee64865 - std::sys_common::backtrace::_print::h3e3f9fed81bc11e9 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55790ee64865 - std::sys_common::backtrace::print::hd22ac23fed5071c8 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55790ee64865 - std::panicking::default_hook::{{closure}}::h1647bdcf68060e17 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x55790ee643f2 - std::panicking::default_hook::hb08853b392b9404b [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x55790ee65001 - std::panicking::rust_panic_with_hook::h3624ee29da369ede [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:591:17 [INFO] [stdout] 11: 0x55790ee64b47 - std::panicking::begin_panic_handler::{{closure}}::hefcfcedcde6bb6d9 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:497:13 [INFO] [stdout] 12: 0x55790ee6213c - std::sys_common::backtrace::__rust_end_short_backtrace::heb130cec93caa706 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x55790ee64aa9 - rust_begin_unwind [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:493:5 [INFO] [stdout] 14: 0x55790ee86731 - core::panicking::panic_fmt::hb15d6f55e8472f62 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/core/src/panicking.rs:92:14 [INFO] [stdout] 15: 0x55790ee86553 - core::option::expect_none_failed::he492a18657d97593 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/core/src/option.rs:1268:5 [INFO] [stdout] 16: 0x55790eca572b - core::result::Result::unwrap::hed4e3813dfdca87f [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/core/src/result.rs:973:23 [INFO] [stdout] 17: 0x55790ec817e6 - counter::file_handling::file_list_tests::file_list_should_return_the_correct_number_of_files::{{closure}}::hcae661c2e59febc3 [INFO] [stdout] at /opt/rustwide/workdir/src/file_handling.rs:291:25 [INFO] [stdout] 18: 0x55790ec80c7c - counter::file_handling::file_list_tests::run_int_test_in_test_dir::{{closure}}::h7996842bfff24529 [INFO] [stdout] at /opt/rustwide/workdir/src/file_handling.rs:322:45 [INFO] [stdout] 19: 0x55790ec9a85a - std::panicking::try::do_call::h81f977c947630fba [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:379:40 [INFO] [stdout] 20: 0x55790ec9da7d - __rust_try [INFO] [stdout] 21: 0x55790ec9a7c7 - std::panicking::try::hd0e748ab85c3c70b [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:343:19 [INFO] [stdout] 22: 0x55790ec7fc6e - std::panic::catch_unwind::hda144d21f2816422 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panic.rs:396:14 [INFO] [stdout] 23: 0x55790ec80a42 - counter::file_handling::file_list_tests::run_int_test_in_test_dir::h5e174bd2c79e6fe8 [INFO] [stdout] at /opt/rustwide/workdir/src/file_handling.rs:322:22 [INFO] [stdout] 24: 0x55790ec810b6 - counter::file_handling::file_list_tests::file_list_should_return_the_correct_number_of_files::h63403aface2b28a7 [INFO] [stdout] at /opt/rustwide/workdir/src/file_handling.rs:276:9 [INFO] [stdout] 25: 0x55790ec8109a - counter::file_handling::file_list_tests::file_list_should_return_the_correct_number_of_files::{{closure}}::ha1f3966b1fe97f44 [INFO] [stdout] at /opt/rustwide/workdir/src/file_handling.rs:275:5 [INFO] [stdout] 26: 0x55790ec7093e - core::ops::function::FnOnce::call_once::h1e5963ae4686a93b [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 27: 0x55790eccf333 - core::ops::function::FnOnce::call_once::h72b3efc134abec04 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 28: 0x55790eccf333 - test::__rust_begin_short_backtrace::hf76173a3f44f554b [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/test/src/lib.rs:516:5 [INFO] [stdout] 29: 0x55790eccda28 - as core::ops::function::FnOnce>::call_once::h49f5b686efed1e06 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/alloc/src/boxed.rs:1318:9 [INFO] [stdout] 30: 0x55790eccda28 - as core::ops::function::FnOnce<()>>::call_once::h4879f836ca9aaead [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panic.rs:322:9 [INFO] [stdout] 31: 0x55790eccda28 - std::panicking::try::do_call::h9655796ce3021b6c [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:379:40 [INFO] [stdout] 32: 0x55790eccda28 - std::panicking::try::h346508ed448399f4 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:343:19 [INFO] [stdout] 33: 0x55790eccda28 - std::panic::catch_unwind::h00e84f4e9c3caaa0 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panic.rs:396:14 [INFO] [stdout] 34: 0x55790eccda28 - test::run_test_in_process::hc80321f825c30106 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/test/src/lib.rs:538:18 [INFO] [stdout] 35: 0x55790eccda28 - test::run_test::run_test_inner::{{closure}}::h89c217441620999f [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/test/src/lib.rs:449:39 [INFO] [stdout] 36: 0x55790eca8016 - std::sys_common::backtrace::__rust_begin_short_backtrace::h3852ec0877008db6 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 37: 0x55790ecac7dd - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h7c7dfff4b938ae67 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/thread/mod.rs:474:17 [INFO] [stdout] 38: 0x55790ecac7dd - as core::ops::function::FnOnce<()>>::call_once::h8db0dd15c072a403 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panic.rs:322:9 [INFO] [stdout] 39: 0x55790ecac7dd - std::panicking::try::do_call::haad8639857ae1187 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:379:40 [INFO] [stdout] 40: 0x55790ecac7dd - std::panicking::try::h61de115e9dce60f6 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:343:19 [INFO] [stdout] 41: 0x55790ecac7dd - std::panic::catch_unwind::h50601fd82666a838 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panic.rs:396:14 [INFO] [stdout] 42: 0x55790ecac7dd - std::thread::Builder::spawn_unchecked::{{closure}}::hac267391ef9d21bd [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/thread/mod.rs:473:30 [INFO] [stdout] 43: 0x55790ecac7dd - core::ops::function::FnOnce::call_once{{vtable.shim}}::heb15d2d9c42706b7 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 44: 0x55790ee6b38a - as core::ops::function::FnOnce>::call_once::h5446ed3fdb82006e [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/alloc/src/boxed.rs:1318:9 [INFO] [stdout] 45: 0x55790ee6b38a - as core::ops::function::FnOnce>::call_once::h62a21a889329a3f2 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/alloc/src/boxed.rs:1318:9 [INFO] [stdout] 46: 0x55790ee6b38a - std::sys::unix::thread::Thread::new::thread_start::h62402416daf174b6 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/sys/unix/thread.rs:71:17 [INFO] [stdout] 47: 0x7f049887b609 - start_thread [INFO] [stdout] 48: 0x7f049864d293 - clone [INFO] [stdout] 49: 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 [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--lib' [INFO] running `Command { std: "docker" "inspect" "701eda06a38ae8655690847efd4052beab251aa08d36a3651ee563fbed40902e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "701eda06a38ae8655690847efd4052beab251aa08d36a3651ee563fbed40902e", kill_on_drop: false }` [INFO] [stdout] 701eda06a38ae8655690847efd4052beab251aa08d36a3651ee563fbed40902e