[INFO] updating cached repository https://github.com/danielbusaba/histogram [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 52c97c163f589ebb770d1f627985fa8a59e3697b [INFO] checking danielbusaba/histogram against master#c724b67e1b474262917a5154d74e7072267593fe for pr-74315 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanielbusaba%2Fhistogram" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] [stderr] Checking out files: 33% (42/124) Checking out files: 34% (43/124) Checking out files: 35% (44/124) Checking out files: 36% (45/124) Checking out files: 37% (46/124) Checking out files: 38% (48/124) Checking out files: 39% (49/124) Checking out files: 40% (50/124) Checking out files: 41% (51/124) Checking out files: 42% (53/124) Checking out files: 43% (54/124) Checking out files: 44% (55/124) Checking out files: 45% (56/124) Checking out files: 46% (58/124) Checking out files: 47% (59/124) Checking out files: 48% (60/124) Checking out files: 49% (61/124) Checking out files: 50% (62/124) Checking out files: 51% (64/124) Checking out files: 52% (65/124) Checking out files: 53% (66/124) Checking out files: 54% (67/124) Checking out files: 55% (69/124) Checking out files: 56% (70/124) Checking out files: 57% (71/124) Checking out files: 58% (72/124) Checking out files: 59% (74/124) Checking out files: 60% (75/124) Checking out files: 61% (76/124) Checking out files: 62% (77/124) Checking out files: 63% (79/124) Checking out files: 64% (80/124) Checking out files: 65% (81/124) Checking out files: 66% (82/124) Checking out files: 67% (84/124) Checking out files: 68% (85/124) Checking out files: 69% (86/124) Checking out files: 70% (87/124) Checking out files: 71% (89/124) Checking out files: 72% (90/124) Checking out files: 73% (91/124) Checking out files: 74% (92/124) Checking out files: 75% (93/124) Checking out files: 76% (95/124) Checking out files: 77% (96/124) Checking out files: 78% (97/124) Checking out files: 79% (98/124) Checking out files: 80% (100/124) Checking out files: 81% (101/124) Checking out files: 82% (102/124) Checking out files: 83% (103/124) Checking out files: 84% (105/124) Checking out files: 85% (106/124) Checking out files: 86% (107/124) Checking out files: 87% (108/124) Checking out files: 88% (110/124) Checking out files: 89% (111/124) Checking out files: 90% (112/124) Checking out files: 91% (113/124) Checking out files: 92% (115/124) Checking out files: 93% (116/124) Checking out files: 94% (117/124) Checking out files: 95% (118/124) Checking out files: 96% (120/124) Checking out files: 97% (121/124) Checking out files: 98% (122/124) Checking out files: 99% (123/124) Checking out files: 100% (124/124) Checking out files: 100% (124/124), done. [INFO] validating manifest of git repo https://github.com/danielbusaba/histogram on toolchain c724b67e1b474262917a5154d74e7072267593fe [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c724b67e1b474262917a5154d74e7072267593fe" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/danielbusaba/histogram [INFO] finished tweaking git repo https://github.com/danielbusaba/histogram [INFO] tweaked toml for git repo https://github.com/danielbusaba/histogram written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/danielbusaba/histogram already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c724b67e1b474262917a5154d74e7072267593fe" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+c724b67e1b474262917a5154d74e7072267593fe" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2a932db375b441cdc49da7856a254859a5c23c9639a1df3a3aee8dc504f641a2 [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" "2a932db375b441cdc49da7856a254859a5c23c9639a1df3a3aee8dc504f641a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a932db375b441cdc49da7856a254859a5c23c9639a1df3a3aee8dc504f641a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a932db375b441cdc49da7856a254859a5c23c9639a1df3a3aee8dc504f641a2", kill_on_drop: false }` [INFO] [stdout] 2a932db375b441cdc49da7856a254859a5c23c9639a1df3a3aee8dc504f641a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+c724b67e1b474262917a5154d74e7072267593fe" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 94f3d55f2ae208be4ca4f771f6834e6be1f0d3c47dadf6c61c6ab9d890a53772 [INFO] running `Command { std: "docker" "start" "-a" "94f3d55f2ae208be4ca4f771f6834e6be1f0d3c47dadf6c61c6ab9d890a53772", kill_on_drop: false }` [INFO] [stderr] Checking histogram v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/histogram.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; //Can be used with bucket to create sublog histograms [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `histogram::Histogram` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use histogram::Histogram; //Imports Histogram struct [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `histogram::Histogram` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use histogram::Histogram; //Imports Histogram struct [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Histogram` [INFO] [stdout] --> src/histogram.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Histogram //Stores a Histogram [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_single` [INFO] [stdout] --> src/histogram.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new_single(sb: u64, mrt: u64) -> Histogram //Constructor that takes in the sublog bits and the maximum reuse time [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> src/histogram.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn add(&mut self, reuse_time: u64) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert` [INFO] [stdout] --> src/histogram.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn insert(&mut self, reuse_time: u64, frequency: u64) //Inserts a value into the histogram at a given reuse time [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_frequency` [INFO] [stdout] --> src/histogram.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn get_frequency(&self, reuse_time: u64) -> u64 //Retreives the frequency value at a given reuse time [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_values` [INFO] [stdout] --> src/histogram.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn get_values(&self) -> Vec //Returns copy of internal vector [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_max_reuse_time` [INFO] [stdout] --> src/histogram.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn get_max_reuse_time(&self) -> u64 //Returns copy of max reuse time [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_tuple` [INFO] [stdout] --> src/histogram.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn new_tuple(sb: u64, mrt: u64) -> Histogram <(u64, u64, u64, u64)> //Constructor that takes in the sublog bits and the maximum ... [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> src/histogram.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn add(&mut self, reuse_time: u64) //Inserts a value into the histogram at a given reuse time [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_tuple` [INFO] [stdout] --> src/histogram.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn get_tuple(&self, reuse_time: u64) -> (u64, u64, u64, u64) //Retreives the value tuple at a given reuse time [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_frequency` [INFO] [stdout] --> src/histogram.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn get_frequency(&self, reuse_time: u64) -> u64 //Retreives the frequency value at a given reuse time [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_values` [INFO] [stdout] --> src/histogram.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn get_values(&self) -> Vec <(u64, u64, u64, u64)> //Returns copy of internal vector [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_max_reuse_time` [INFO] [stdout] --> src/histogram.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn get_max_reuse_time(&self) -> u64 //Returns copy of max reuse time [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_values` [INFO] [stdout] --> src/histogram.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn get_values(&self) -> Vec <(u64, u64, u64, u64)> //Returns copy of internal vector [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_max_reuse_time` [INFO] [stdout] --> src/histogram.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn get_max_reuse_time(&self) -> u64 //Returns copy of max reuse time [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.78s [INFO] running `Command { std: "docker" "inspect" "94f3d55f2ae208be4ca4f771f6834e6be1f0d3c47dadf6c61c6ab9d890a53772", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94f3d55f2ae208be4ca4f771f6834e6be1f0d3c47dadf6c61c6ab9d890a53772", kill_on_drop: false }` [INFO] [stdout] 94f3d55f2ae208be4ca4f771f6834e6be1f0d3c47dadf6c61c6ab9d890a53772