[INFO] cloning repository https://github.com/Wcubed/asset_keeper [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Wcubed/asset_keeper" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWcubed%2Fasset_keeper", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWcubed%2Fasset_keeper'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 23526b40bdf5b47c75b0fc7bd4fe51b52a252d41 [INFO] checking Wcubed/asset_keeper against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWcubed%2Fasset_keeper" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Wcubed/asset_keeper on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Wcubed/asset_keeper [INFO] finished tweaking git repo https://github.com/Wcubed/asset_keeper [INFO] tweaked toml for git repo https://github.com/Wcubed/asset_keeper written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/Wcubed/asset_keeper already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 267a9bfe40d7f4ef6a44d7a3a7c3f0b5bc30f211a765b1b4cc702c9f4e192b91 [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" "267a9bfe40d7f4ef6a44d7a3a7c3f0b5bc30f211a765b1b4cc702c9f4e192b91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "267a9bfe40d7f4ef6a44d7a3a7c3f0b5bc30f211a765b1b4cc702c9f4e192b91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "267a9bfe40d7f4ef6a44d7a3a7c3f0b5bc30f211a765b1b4cc702c9f4e192b91", kill_on_drop: false }` [INFO] [stdout] 267a9bfe40d7f4ef6a44d7a3a7c3f0b5bc30f211a765b1b4cc702c9f4e192b91 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 546e8be640edd6050e37009ca437b7b48fda4c24c96c95371a19e75c570d1bf2 [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" "546e8be640edd6050e37009ca437b7b48fda4c24c96c95371a19e75c570d1bf2", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Checking asset_keeper v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stdout] warning: struct is never constructed: `Data` [INFO] [stdout] --> src/data.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Data { [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` [INFO] [stdout] --> src/data.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(save_dir: &Path, files_dir: &Path) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_file_from_disk` [INFO] [stdout] --> src/data.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn add_file_from_disk(&mut self, title: &str, file: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `file_count` [INFO] [stdout] --> src/data.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn file_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `file_iter` [INFO] [stdout] --> src/data.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn file_iter(&self) -> Iter { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_file_info` [INFO] [stdout] --> src/data.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn get_file_info(&self, id: FileId) -> Option<&File> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_string` [INFO] [stdout] --> src/stores/file_store.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `next_id` [INFO] [stdout] --> src/stores/file_store.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | next_id: FileId, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/stores/file_store.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new() -> FileStore { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_file` [INFO] [stdout] --> src/stores/file_store.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn new_file(&mut self, title: &str, extension: KnownExtension) -> (FileId, PathBuf) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/stores/file_store.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | id: FileId, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `title` [INFO] [stdout] --> src/stores/file_store.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | title: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `extension` [INFO] [stdout] --> src/stores/file_store.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | extension: KnownExtension, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `system_tags` [INFO] [stdout] --> src/stores/file_store.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | system_tags: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `title` [INFO] [stdout] --> src/stores/file_store.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn title(&self) -> &str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `extension` [INFO] [stdout] --> src/stores/file_store.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn extension(&self) -> &KnownExtension { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `file_name` [INFO] [stdout] --> src/stores/file_store.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn file_name(&self) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `system_tags` [INFO] [stdout] --> src/stores/file_store.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn system_tags(&self) -> &HashSet { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Png` [INFO] [stdout] --> src/stores/file_store.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | Png, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_str` [INFO] [stdout] --> src/stores/file_store.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn from_str(string: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_path` [INFO] [stdout] --> src/stores/file_store.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn from_path(path: &Path) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_str` [INFO] [stdout] --> src/stores/file_store.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn to_str(&self) -> &str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Transparent` [INFO] [stdout] --> src/stores/file_store.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | Transparent, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking serde_json v1.0.57 [INFO] [stderr] Checking naughty-strings v0.2.3 [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/data.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | let data = Data::new(&save_dir, &file_dir); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `save_dir` [INFO] [stdout] --> src/data.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | save_dir: PathBuf, [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: `file_iter` [INFO] [stdout] --> src/data.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn file_iter(&self) -> Iter { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `system_tags` [INFO] [stdout] --> src/stores/file_store.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | system_tags: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `extension` [INFO] [stdout] --> src/stores/file_store.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn extension(&self) -> &KnownExtension { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `system_tags` [INFO] [stdout] --> src/stores/file_store.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn system_tags(&self) -> &HashSet { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Transparent` [INFO] [stdout] --> src/stores/file_store.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | Transparent, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.85s [INFO] running `Command { std: "docker" "inspect" "546e8be640edd6050e37009ca437b7b48fda4c24c96c95371a19e75c570d1bf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "546e8be640edd6050e37009ca437b7b48fda4c24c96c95371a19e75c570d1bf2", kill_on_drop: false }` [INFO] [stdout] 546e8be640edd6050e37009ca437b7b48fda4c24c96c95371a19e75c570d1bf2