[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 1.60.0 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] validating manifest of git repo https://github.com/trafficland/counter on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded scopeguard v0.1.2 [INFO] [stderr] Downloaded scoped-pool v1.0.0 [INFO] [stderr] Downloaded num_cpus v1.4.0 [INFO] [stderr] Downloaded clap v2.23.3 [INFO] [stderr] Downloaded variance v0.1.3 [INFO] [stderr] Downloaded elp v2.0.0 [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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c63d403e13980d656b294d0ced24754d3a6066eacee104c850e9c4a5790f56dc [INFO] running `Command { std: "docker" "start" "-a" "c63d403e13980d656b294d0ced24754d3a6066eacee104c850e9c4a5790f56dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c63d403e13980d656b294d0ced24754d3a6066eacee104c850e9c4a5790f56dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c63d403e13980d656b294d0ced24754d3a6066eacee104c850e9c4a5790f56dc", kill_on_drop: false }` [INFO] [stdout] c63d403e13980d656b294d0ced24754d3a6066eacee104c850e9c4a5790f56dc [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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 82de5358ba2b77db33ad9541f88e2549dad9a2c8fe9087a48ba6362b0c588bc1 [INFO] running `Command { std: "docker" "start" "-a" "82de5358ba2b77db33ad9541f88e2549dad9a2c8fe9087a48ba6362b0c588bc1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.22 [INFO] [stderr] Compiling num-traits v0.1.37 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling log v0.3.7 [INFO] [stderr] Compiling regex-syntax v0.4.0 [INFO] [stderr] Compiling bitflags v0.8.2 [INFO] [stderr] Compiling lazy_static v0.2.8 [INFO] [stderr] Compiling unicode-segmentation v1.1.0 [INFO] [stderr] Compiling vec_map v0.7.0 [INFO] [stderr] Compiling scopeguard v0.1.2 [INFO] [stderr] Compiling same-file v0.1.3 [INFO] [stderr] Compiling variance v0.1.3 [INFO] [stderr] Compiling crossbeam v0.2.10 [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 num-integer v0.1.34 [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 thread-id v3.0.0 [INFO] [stderr] Compiling memchr v1.0.1 [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 aho-corasick v0.5.3 [INFO] [stderr] Compiling num-iter v0.1.33 [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-id v2.0.0 [INFO] [stderr] Compiling num v0.1.37 [INFO] [stderr] Compiling regex v0.2.1 [INFO] [stderr] Compiling chrono v0.2.25 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling elp v2.0.0 [INFO] [stderr] Compiling env_logger v0.3.5 [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: 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 32.94s [INFO] running `Command { std: "docker" "inspect" "82de5358ba2b77db33ad9541f88e2549dad9a2c8fe9087a48ba6362b0c588bc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82de5358ba2b77db33ad9541f88e2549dad9a2c8fe9087a48ba6362b0c588bc1", kill_on_drop: false }` [INFO] [stdout] 82de5358ba2b77db33ad9541f88e2549dad9a2c8fe9087a48ba6362b0c588bc1 [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" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 24d9b41e8f08c7c691b01b915394aad5d90f499e906f501d9bbeffba050eebb4 [INFO] running `Command { std: "docker" "start" "-a" "24d9b41e8f08c7c691b01b915394aad5d90f499e906f501d9bbeffba050eebb4", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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.39s [INFO] running `Command { std: "docker" "inspect" "24d9b41e8f08c7c691b01b915394aad5d90f499e906f501d9bbeffba050eebb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24d9b41e8f08c7c691b01b915394aad5d90f499e906f501d9bbeffba050eebb4", kill_on_drop: false }` [INFO] [stdout] 24d9b41e8f08c7c691b01b915394aad5d90f499e906f501d9bbeffba050eebb4 [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" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 82cfc70eb4f016602580d01307791d0a707b1991f860ee50ddecdbcd16c333c2 [INFO] running `Command { std: "docker" "start" "-a" "82cfc70eb4f016602580d01307791d0a707b1991f860ee50ddecdbcd16c333c2", 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.13s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/counter-63e016272e934311) [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_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_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: 0x5594f741119d - std::backtrace_rs::backtrace::libunwind::trace::hee598835bc88d35b [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x5594f741119d - std::backtrace_rs::backtrace::trace_unsynchronized::h9cdc730ba5cf5d72 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5594f741119d - std::sys_common::backtrace::_print_fmt::h75aeaf7ed30e43fa [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x5594f741119d - ::fmt::h606862f787600875 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x5594f74385ec - core::fmt::write::he803f0f418caf762 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/fmt/mod.rs:1190:17 [INFO] [stdout] 5: 0x5594f740bc88 - std::io::Write::write_fmt::hbe7c1a63616291e2 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/io/mod.rs:1657:15 [INFO] [stdout] 6: 0x5594f7413477 - std::sys_common::backtrace::_print::h64d038cf8ac3e13e [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x5594f7413477 - std::sys_common::backtrace::print::h359300b4a7fccf65 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x5594f7413477 - std::panicking::default_hook::{{closure}}::hf51be35e2f510149 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x5594f74131ac - std::panicking::default_hook::h03ca0f22e1d2d25e [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x5594f7413bc9 - std::panicking::rust_panic_with_hook::h3b7380e99b825b63 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x5594f74138b7 - std::panicking::begin_panic_handler::{{closure}}::h8e849d0710154ce0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x5594f7411664 - std::sys_common::backtrace::__rust_end_short_backtrace::hedcdaddbd4c46cc5 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x5594f74135c9 - rust_begin_unwind [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x5594f723b1d3 - core::panicking::panic_fmt::he1bbc7336d49a357 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x5594f723b2c3 - core::result::unwrap_failed::h719f957ed74f93fd [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/result.rs:1749:5 [INFO] [stdout] 16: 0x5594f72486c9 - core::result::Result::unwrap::hab1482c88ea3367d [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/result.rs:1065:23 [INFO] [stdout] 17: 0x5594f7257506 - counter::file_handling::file_list_tests::file_list_should_return_the_correct_number_of_files::{{closure}}::hda1e2cb3dac61c60 [INFO] [stdout] at /opt/rustwide/workdir/src/file_handling.rs:291:25 [INFO] [stdout] 18: 0x5594f72567cc - counter::file_handling::file_list_tests::run_int_test_in_test_dir::{{closure}}::h99da943172b85141 [INFO] [stdout] at /opt/rustwide/workdir/src/file_handling.rs:322:45 [INFO] [stdout] 19: 0x5594f72610fc - std::panicking::try::do_call::ha1b21af846f50456 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40 [INFO] [stdout] 20: 0x5594f7261b8b - __rust_try [INFO] [stdout] 21: 0x5594f7260fb4 - std::panicking::try::h0f2f03763676b9d3 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19 [INFO] [stdout] 22: 0x5594f726737e - std::panic::catch_unwind::h5a298c83e8d71218 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14 [INFO] [stdout] 23: 0x5594f72565d2 - counter::file_handling::file_list_tests::run_int_test_in_test_dir::he3d219e1f1821d6f [INFO] [stdout] at /opt/rustwide/workdir/src/file_handling.rs:322:22 [INFO] [stdout] 24: 0x5594f7256d16 - counter::file_handling::file_list_tests::file_list_should_return_the_correct_number_of_files::hfeb4a889052cc0c7 [INFO] [stdout] at /opt/rustwide/workdir/src/file_handling.rs:276:9 [INFO] [stdout] 25: 0x5594f7256cfa - counter::file_handling::file_list_tests::file_list_should_return_the_correct_number_of_files::{{closure}}::h3a2b2e684455cac1 [INFO] [stdout] at /opt/rustwide/workdir/src/file_handling.rs:275:5 [INFO] [stdout] 26: 0x5594f725049e - core::ops::function::FnOnce::call_once::h1f942370e4313530 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 27: 0x5594f72a0113 - core::ops::function::FnOnce::call_once::h2a47b4b927cb6ca5 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 28: 0x5594f72a0113 - test::__rust_begin_short_backtrace::h594ef8055a183b9b [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:575:5 [INFO] [stdout] 29: 0x5594f729edf4 - as core::ops::function::FnOnce>::call_once::hb40cbb8bc3e1be15 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 30: 0x5594f729edf4 - as core::ops::function::FnOnce<()>>::call_once::ha4f2bd3b806745a0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 31: 0x5594f729edf4 - std::panicking::try::do_call::h92af9f8bc77a5987 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40 [INFO] [stdout] 32: 0x5594f729edf4 - std::panicking::try::h9df49eeae42572b7 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19 [INFO] [stdout] 33: 0x5594f729edf4 - std::panic::catch_unwind::h101dbadc82bbe0fd [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14 [INFO] [stdout] 34: 0x5594f729edf4 - test::run_test_in_process::h2ad7bffb068e750a [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:598:18 [INFO] [stdout] 35: 0x5594f729edf4 - test::run_test::run_test_inner::{{closure}}::h384faf46554c5acb [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:492:39 [INFO] [stdout] 36: 0x5594f72a8711 - test::run_test::run_test_inner::{{closure}}::h17cfe94835a46685 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:519:37 [INFO] [stdout] 37: 0x5594f72a8711 - std::sys_common::backtrace::__rust_begin_short_backtrace::h82709e5086312627 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 38: 0x5594f7274d8f - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hdfea66a201b39571 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 39: 0x5594f7274d8f - as core::ops::function::FnOnce<()>>::call_once::h4912df03598e67fa [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 40: 0x5594f7274d8f - std::panicking::try::do_call::h6d5dc1045d0eade8 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40 [INFO] [stdout] 41: 0x5594f7274d8f - std::panicking::try::hbc897fc717ec6571 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19 [INFO] [stdout] 42: 0x5594f7274d8f - std::panic::catch_unwind::h27f1e958c91391ad [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14 [INFO] [stdout] 43: 0x5594f7274d8f - std::thread::Builder::spawn_unchecked_::{{closure}}::h1b42e48537edc3c0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 44: 0x5594f7274d8f - core::ops::function::FnOnce::call_once{{vtable.shim}}::h9137b3d6d2a88354 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 45: 0x5594f741a7e3 - as core::ops::function::FnOnce>::call_once::hf70ac038171e3e1a [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 46: 0x5594f741a7e3 - as core::ops::function::FnOnce>::call_once::he6690128792365ad [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 47: 0x5594f741a7e3 - std::sys::unix::thread::Thread::new::thread_start::ha07928d93d5a5ec9 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 48: 0x7f9727bee609 - start_thread [INFO] [stdout] 49: 0x7f97279be163 - 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/two-rifle"), 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: 0x5594f741119d - std::backtrace_rs::backtrace::libunwind::trace::hee598835bc88d35b [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x5594f741119d - std::backtrace_rs::backtrace::trace_unsynchronized::h9cdc730ba5cf5d72 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5594f741119d - std::sys_common::backtrace::_print_fmt::h75aeaf7ed30e43fa [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x5594f741119d - ::fmt::h606862f787600875 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x5594f74385ec - core::fmt::write::he803f0f418caf762 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/fmt/mod.rs:1190:17 [INFO] [stdout] 5: 0x5594f740bc88 - std::io::Write::write_fmt::hbe7c1a63616291e2 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/io/mod.rs:1657:15 [INFO] [stdout] 6: 0x5594f7413477 - std::sys_common::backtrace::_print::h64d038cf8ac3e13e [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x5594f7413477 - std::sys_common::backtrace::print::h359300b4a7fccf65 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x5594f7413477 - std::panicking::default_hook::{{closure}}::hf51be35e2f510149 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x5594f74131ac - std::panicking::default_hook::h03ca0f22e1d2d25e [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x5594f7413bc9 - std::panicking::rust_panic_with_hook::h3b7380e99b825b63 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x5594f74138b7 - std::panicking::begin_panic_handler::{{closure}}::h8e849d0710154ce0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x5594f7411664 - std::sys_common::backtrace::__rust_end_short_backtrace::hedcdaddbd4c46cc5 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x5594f74135c9 - rust_begin_unwind [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x5594f723b1d3 - core::panicking::panic_fmt::he1bbc7336d49a357 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x5594f723b2c3 - core::result::unwrap_failed::h719f957ed74f93fd [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/result.rs:1749:5 [INFO] [stdout] 16: 0x5594f72485ae - core::result::Result::unwrap::h796f032d30d0dfde [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/result.rs:1065:23 [INFO] [stdout] 17: 0x5594f72578a1 - counter::file_handling::file_list_tests::file_list_should_return_0_when_there_are_no_files_in_the_directory::{{closure}}::h505a3a6c0f8f6e5c [INFO] [stdout] at /opt/rustwide/workdir/src/file_handling.rs:310:25 [INFO] [stdout] 18: 0x5594f725674c - counter::file_handling::file_list_tests::run_int_test_in_test_dir::{{closure}}::h5ddaa97acf51646f [INFO] [stdout] at /opt/rustwide/workdir/src/file_handling.rs:322:45 [INFO] [stdout] 19: 0x5594f726113c - std::panicking::try::do_call::hc83a678354b3ac1a [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40 [INFO] [stdout] 20: 0x5594f7261b8b - __rust_try [INFO] [stdout] 21: 0x5594f7261064 - std::panicking::try::h574ed3c54a49323a [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19 [INFO] [stdout] 22: 0x5594f72673ae - std::panic::catch_unwind::hbf39f695c41bbcb9 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14 [INFO] [stdout] 23: 0x5594f7256442 - counter::file_handling::file_list_tests::run_int_test_in_test_dir::hc07a8488b1c8aae1 [INFO] [stdout] at /opt/rustwide/workdir/src/file_handling.rs:322:22 [INFO] [stdout] 24: 0x5594f7257846 - counter::file_handling::file_list_tests::file_list_should_return_0_when_there_are_no_files_in_the_directory::h59b31455fadaf3a1 [INFO] [stdout] at /opt/rustwide/workdir/src/file_handling.rs:309:9 [INFO] [stdout] 25: 0x5594f725782a - counter::file_handling::file_list_tests::file_list_should_return_0_when_there_are_no_files_in_the_directory::{{closure}}::h639ef472400d7b71 [INFO] [stdout] at /opt/rustwide/workdir/src/file_handling.rs:308:5 [INFO] [stdout] 26: 0x5594f72505fe - core::ops::function::FnOnce::call_once::h4592c830b948794d [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 27: 0x5594f72a0113 - core::ops::function::FnOnce::call_once::h2a47b4b927cb6ca5 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 28: 0x5594f72a0113 - test::__rust_begin_short_backtrace::h594ef8055a183b9b [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:575:5 [INFO] [stdout] 29: 0x5594f729edf4 - as core::ops::function::FnOnce>::call_once::hb40cbb8bc3e1be15 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 30: 0x5594f729edf4 - as core::ops::function::FnOnce<()>>::call_once::ha4f2bd3b806745a0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 31: 0x5594f729edf4 - std::panicking::try::do_call::h92af9f8bc77a5987 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40 [INFO] [stdout] 32: 0x5594f729edf4 - std::panicking::try::h9df49eeae42572b7 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19 [INFO] [stdout] 33: 0x5594f729edf4 - std::panic::catch_unwind::h101dbadc82bbe0fd [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14 [INFO] [stdout] 34: 0x5594f729edf4 - test::run_test_in_process::h2ad7bffb068e750a [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:598:18 [INFO] [stdout] 35: 0x5594f729edf4 - test::run_test::run_test_inner::{{closure}}::h384faf46554c5acb [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:492:39 [INFO] [stdout] 36: 0x5594f72a8711 - test::run_test::run_test_inner::{{closure}}::h17cfe94835a46685 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:519:37 [INFO] [stdout] 37: 0x5594f72a8711 - std::sys_common::backtrace::__rust_begin_short_backtrace::h82709e5086312627 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 38: 0x5594f7274d8f - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hdfea66a201b39571 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 39: 0x5594f7274d8f - as core::ops::function::FnOnce<()>>::call_once::h4912df03598e67fa [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 40: 0x5594f7274d8f - std::panicking::try::do_call::h6d5dc1045d0eade8 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40 [INFO] [stdout] 41: 0x5594f7274d8f - std::panicking::try::hbc897fc717ec6571 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19 [INFO] [stdout] 42: 0x5594f7274d8f - std::panic::catch_unwind::h27f1e958c91391ad [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14 [INFO] [stdout] 43: 0x5594f7274d8f - std::thread::Builder::spawn_unchecked_::{{closure}}::h1b42e48537edc3c0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 44: 0x5594f7274d8f - core::ops::function::FnOnce::call_once{{vtable.shim}}::h9137b3d6d2a88354 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 45: 0x5594f741a7e3 - as core::ops::function::FnOnce>::call_once::hf70ac038171e3e1a [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 46: 0x5594f741a7e3 - as core::ops::function::FnOnce>::call_once::he6690128792365ad [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 47: 0x5594f741a7e3 - std::sys::unix::thread::Thread::new::thread_start::ha07928d93d5a5ec9 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 48: 0x7f9727bee609 - start_thread [INFO] [stdout] 49: 0x7f97279be163 - 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" "82cfc70eb4f016602580d01307791d0a707b1991f860ee50ddecdbcd16c333c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82cfc70eb4f016602580d01307791d0a707b1991f860ee50ddecdbcd16c333c2", kill_on_drop: false }` [INFO] [stdout] 82cfc70eb4f016602580d01307791d0a707b1991f860ee50ddecdbcd16c333c2