[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] e428c2625dbeaefd47dab1953a376e5079fdb61d [INFO] checking Wcubed/asset_keeper against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [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 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/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded naughty-strings v0.2.3 [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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f314599a75b19d3ee808c0c591a0adc95882bd6cd2d194c58692cca363a31d85 [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" "f314599a75b19d3ee808c0c591a0adc95882bd6cd2d194c58692cca363a31d85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f314599a75b19d3ee808c0c591a0adc95882bd6cd2d194c58692cca363a31d85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f314599a75b19d3ee808c0c591a0adc95882bd6cd2d194c58692cca363a31d85", kill_on_drop: false }` [INFO] [stdout] f314599a75b19d3ee808c0c591a0adc95882bd6cd2d194c58692cca363a31d85 [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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 073ba6421cbfcb017abceaf53bd5ec558e6787e3c2bec3a6ee80a6db3ff1954c [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" "073ba6421cbfcb017abceaf53bd5ec558e6787e3c2bec3a6ee80a6db3ff1954c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling anyhow v1.0.32 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking asset_keeper v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `FileId` [INFO] [stdout] --> src/data.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::stores::file_store::{FileId, FileStore, KnownExtension}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Data` [INFO] [stdout] --> src/data.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | 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:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | 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_asset_from_disk` [INFO] [stdout] --> src/data.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn add_asset_from_disk(&mut self, title: &str, file: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `asset_count` [INFO] [stdout] --> src/data.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn asset_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `assets_iter` [INFO] [stdout] --> src/data.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn assets_iter(&self) -> Iter { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_asset` [INFO] [stdout] --> src/data.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn get_asset(&self, id: AssetId) -> Option<&Asset> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `next_id` [INFO] [stdout] --> src/stores/asset_store.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | next_id: AssetId, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/stores/asset_store.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new() -> AssetStore { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_asset` [INFO] [stdout] --> src/stores/asset_store.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new_asset(&mut self, title: &str, file: FileId) -> AssetId { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `title` [INFO] [stdout] --> src/stores/asset_store.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | title: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `file` [INFO] [stdout] --> src/stores/asset_store.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | file: FileId, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `title` [INFO] [stdout] --> src/stores/asset_store.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn title(&self) -> &String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `file` [INFO] [stdout] --> src/stores/asset_store.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn file(&self) -> &FileId { [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:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | id: FileId, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `title` [INFO] [stdout] --> src/stores/file_store.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | title: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `extension` [INFO] [stdout] --> src/stores/file_store.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | extension: KnownExtension, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `title` [INFO] [stdout] --> src/stores/file_store.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | 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:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | 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:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn file_name(&self) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Png` [INFO] [stdout] --> src/stores/file_store.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | Png, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_str` [INFO] [stdout] --> src/stores/file_store.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | 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:114:12 [INFO] [stdout] | [INFO] [stdout] 114 | 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:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn to_str(&self) -> &str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking naughty-strings v0.2.3 [INFO] [stdout] warning: unused import: `FileId` [INFO] [stdout] --> src/data.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::stores::file_store::{FileId, FileStore, KnownExtension}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/stores/asset_store.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/data.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | 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:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | 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: `assets_iter` [INFO] [stdout] --> src/data.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn assets_iter(&self) -> Iter { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `title` [INFO] [stdout] --> src/stores/file_store.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | title: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `title` [INFO] [stdout] --> src/stores/file_store.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | 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:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn extension(&self) -> &KnownExtension { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 17.93s [INFO] running `Command { std: "docker" "inspect" "073ba6421cbfcb017abceaf53bd5ec558e6787e3c2bec3a6ee80a6db3ff1954c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "073ba6421cbfcb017abceaf53bd5ec558e6787e3c2bec3a6ee80a6db3ff1954c", kill_on_drop: false }` [INFO] [stdout] 073ba6421cbfcb017abceaf53bd5ec558e6787e3c2bec3a6ee80a6db3ff1954c