[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] checking trafficland/counter against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [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: 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 f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded names v0.11.0 [INFO] [stderr] Downloaded variance v0.1.3 [INFO] [stderr] Downloaded scoped-pool v1.0.0 [INFO] [stderr] Downloaded scopeguard v0.1.2 [INFO] [stderr] Downloaded elp v2.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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 40b3f932db428dedf548e68691a5dcd7861da2ad3c605dbbcf5af31d5b45bceb [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" "40b3f932db428dedf548e68691a5dcd7861da2ad3c605dbbcf5af31d5b45bceb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "40b3f932db428dedf548e68691a5dcd7861da2ad3c605dbbcf5af31d5b45bceb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40b3f932db428dedf548e68691a5dcd7861da2ad3c605dbbcf5af31d5b45bceb", kill_on_drop: false }` [INFO] [stdout] 40b3f932db428dedf548e68691a5dcd7861da2ad3c605dbbcf5af31d5b45bceb [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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2458b0285f884b8b13d4802318c622b29c5d67cd5b2b50cfeb78a8d749cfb1cc [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" "2458b0285f884b8b13d4802318c622b29c5d67cd5b2b50cfeb78a8d749cfb1cc", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.22 [INFO] [stderr] Compiling num-traits v0.1.37 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Checking log v0.3.7 [INFO] [stderr] Checking same-file v0.1.3 [INFO] [stderr] Checking lazy_static v0.2.8 [INFO] [stderr] Checking unicode-width v0.1.4 [INFO] [stderr] Checking bitflags v0.8.2 [INFO] [stderr] Checking regex-syntax v0.4.0 [INFO] [stderr] Checking ansi_term v0.9.0 [INFO] [stderr] Checking unicode-segmentation v1.1.0 [INFO] [stderr] Checking scopeguard v0.1.2 [INFO] [stderr] Checking vec_map v0.7.0 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking variance v0.1.3 [INFO] [stderr] Checking crossbeam v0.2.10 [INFO] [stderr] Checking strsim v0.6.0 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Compiling names v0.11.0 [INFO] [stderr] Checking num-integer v0.1.34 [INFO] [stderr] Checking unreachable v0.1.1 [INFO] [stderr] Checking walkdir v1.0.7 [INFO] [stderr] Checking num-iter v0.1.33 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking memchr v1.0.1 [INFO] [stderr] Checking thread-id v3.0.0 [INFO] [stderr] Checking time v0.1.37 [INFO] [stderr] Checking atty v0.2.2 [INFO] [stderr] Checking term_size v0.3.0 [INFO] [stderr] Checking num_cpus v1.4.0 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Checking num v0.1.37 [INFO] [stderr] Checking thread_local v0.3.3 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking aho-corasick v0.6.3 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking scoped-pool v1.0.0 [INFO] [stderr] Checking clap v2.23.3 [INFO] [stderr] Checking chrono v0.2.25 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking regex v0.2.1 [INFO] [stderr] Checking elp v2.0.0 [INFO] [stderr] Compiling counter v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking 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: 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/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: 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: 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] [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: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 22.99s [INFO] running `Command { std: "docker" "inspect" "2458b0285f884b8b13d4802318c622b29c5d67cd5b2b50cfeb78a8d749cfb1cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2458b0285f884b8b13d4802318c622b29c5d67cd5b2b50cfeb78a8d749cfb1cc", kill_on_drop: false }` [INFO] [stdout] 2458b0285f884b8b13d4802318c622b29c5d67cd5b2b50cfeb78a8d749cfb1cc