[INFO] cloning repository https://github.com/pineapplehunter/Append-Only-Storage [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pineapplehunter/Append-Only-Storage" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpineapplehunter%2FAppend-Only-Storage", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpineapplehunter%2FAppend-Only-Storage'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0039794e3c91771fff58f1ff0d8f99201bb21289 [INFO] testing pineapplehunter/Append-Only-Storage against try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpineapplehunter%2FAppend-Only-Storage" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/pineapplehunter/Append-Only-Storage [INFO] finished tweaking git repo https://github.com/pineapplehunter/Append-Only-Storage [INFO] tweaked toml for git repo https://github.com/pineapplehunter/Append-Only-Storage written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pineapplehunter/Append-Only-Storage on toolchain c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/pineapplehunter/Append-Only-Storage already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 91d829ce084301b8dc5aeac99c911d1c5eb0ad987908451d223291dc43f33358 [INFO] running `Command { std: "docker" "start" "-a" "91d829ce084301b8dc5aeac99c911d1c5eb0ad987908451d223291dc43f33358", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "91d829ce084301b8dc5aeac99c911d1c5eb0ad987908451d223291dc43f33358", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91d829ce084301b8dc5aeac99c911d1c5eb0ad987908451d223291dc43f33358", kill_on_drop: false }` [INFO] [stdout] 91d829ce084301b8dc5aeac99c911d1c5eb0ad987908451d223291dc43f33358 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 4c08ee11b0f0947badbcda6ebc7ae6516aef5ef7cacdbee90177694d6a8412e4 [INFO] running `Command { std: "docker" "start" "-a" "4c08ee11b0f0947badbcda6ebc7ae6516aef5ef7cacdbee90177694d6a8412e4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling getrandom v0.1.12 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling block-padding v0.1.4 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling sha2 v0.8.0 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling hash-storage v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ptr::hash` [INFO] [stdout] --> src/file.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ptr::hash; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/storage.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{Error, Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr::hash` [INFO] [stdout] --> src/storage.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ptr::hash; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/storage.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{Error, Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/file.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | let mut hashes = hashes_lock.read().expect("could not get write lock"); [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/file.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | let mut size_left = buf.len(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `hashes` are never read [INFO] [stdout] --> src/file.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct FileWriter<'a> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 9 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 10 | storage: &'a Storage, [INFO] [stdout] 11 | hashes: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `storage`, `index`, and `hashes` are never read [INFO] [stdout] --> src/file.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct FileReader<'a> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 17 | storage: &'a Storage, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 18 | index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | hashes: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/file.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | self.temp_file.seek(SeekFrom::Start(0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 35 | let _ = self.temp_file.seek(SeekFrom::Start(0)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/file.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | std::io::copy(&mut self.temp_file, &mut hasher); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 36 | let _ = std::io::copy(&mut self.temp_file, &mut hasher); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/file.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | self.temp_file.seek(SeekFrom::Start(0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 45 | let _ = self.temp_file.seek(SeekFrom::Start(0)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/file.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | std::io::copy(&mut self.temp_file, &mut files.storage_file); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 61 | let _ = std::io::copy(&mut self.temp_file, &mut files.storage_file); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/file.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | writeln!(&mut files.meta, "{} {}", &hash_str, new_file_size); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/storage.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | std::fs::DirBuilder::new().create(&path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 28 | let _ = std::fs::DirBuilder::new().create(&path); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/storage.rs:81:28 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn new_file_writer(&self) -> FileWriter { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 81 | pub fn new_file_writer(&self) -> FileWriter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.31s [INFO] running `Command { std: "docker" "inspect" "4c08ee11b0f0947badbcda6ebc7ae6516aef5ef7cacdbee90177694d6a8412e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c08ee11b0f0947badbcda6ebc7ae6516aef5ef7cacdbee90177694d6a8412e4", kill_on_drop: false }` [INFO] [stdout] 4c08ee11b0f0947badbcda6ebc7ae6516aef5ef7cacdbee90177694d6a8412e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 131690a9e9cbfa4759bb93dd1a977f11bf7c5494ee53a4dd62fc24ea622a44cf [INFO] running `Command { std: "docker" "start" "-a" "131690a9e9cbfa4759bb93dd1a977f11bf7c5494ee53a4dd62fc24ea622a44cf", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling unicode-segmentation v1.3.0 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling same-file v1.0.5 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling bstr v0.2.8 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling walkdir v2.2.9 [INFO] [stdout] warning: unused import: `std::ptr::hash` [INFO] [stdout] --> src/file.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ptr::hash; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/storage.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{Error, Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr::hash` [INFO] [stdout] --> src/storage.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ptr::hash; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/storage.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{Error, Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/file.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | let mut hashes = hashes_lock.read().expect("could not get write lock"); [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/file.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | let mut size_left = buf.len(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `hashes` are never read [INFO] [stdout] --> src/file.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct FileWriter<'a> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 9 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 10 | storage: &'a Storage, [INFO] [stdout] 11 | hashes: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `storage`, `index`, and `hashes` are never read [INFO] [stdout] --> src/file.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct FileReader<'a> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 17 | storage: &'a Storage, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 18 | index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | hashes: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling crossbeam-channel v0.3.9 [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/file.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | self.temp_file.seek(SeekFrom::Start(0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 35 | let _ = self.temp_file.seek(SeekFrom::Start(0)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/file.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | std::io::copy(&mut self.temp_file, &mut hasher); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 36 | let _ = std::io::copy(&mut self.temp_file, &mut hasher); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/file.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | self.temp_file.seek(SeekFrom::Start(0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 45 | let _ = self.temp_file.seek(SeekFrom::Start(0)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/file.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | std::io::copy(&mut self.temp_file, &mut files.storage_file); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 61 | let _ = std::io::copy(&mut self.temp_file, &mut files.storage_file); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/file.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | writeln!(&mut files.meta, "{} {}", &hash_str, new_file_size); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/storage.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | std::fs::DirBuilder::new().create(&path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 28 | let _ = std::fs::DirBuilder::new().create(&path); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/storage.rs:81:28 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn new_file_writer(&self) -> FileWriter { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 81 | pub fn new_file_writer(&self) -> FileWriter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling globset v0.4.4 [INFO] [stderr] Compiling ignore v0.4.10 [INFO] [stderr] Compiling proc-macro-error v0.2.6 [INFO] [stderr] Compiling structopt-derive v0.3.3 [INFO] [stderr] Compiling structopt v0.3.3 [INFO] [stderr] Compiling hash-storage v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ptr::hash` [INFO] [stdout] --> src/file.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ptr::hash; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/storage.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{Error, Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr::hash` [INFO] [stdout] --> src/storage.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ptr::hash; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FileType` [INFO] [stdout] --> examples/save_recursive.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs::{File, FileType}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `WalkParallel` and `Walk` [INFO] [stdout] --> examples/save_recursive.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use ignore::{Walk, WalkBuilder, WalkParallel, WalkState}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/storage.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{Error, Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/file.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | let mut hashes = hashes_lock.read().expect("could not get write lock"); [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/file.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | let mut size_left = buf.len(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `hashes` are never read [INFO] [stdout] --> src/file.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct FileWriter<'a> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 9 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 10 | storage: &'a Storage, [INFO] [stdout] 11 | hashes: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `storage`, `index`, and `hashes` are never read [INFO] [stdout] --> src/file.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct FileReader<'a> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 17 | storage: &'a Storage, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 18 | index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | hashes: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/file.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | self.temp_file.seek(SeekFrom::Start(0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 35 | let _ = self.temp_file.seek(SeekFrom::Start(0)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/file.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | std::io::copy(&mut self.temp_file, &mut hasher); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 36 | let _ = std::io::copy(&mut self.temp_file, &mut hasher); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/file.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | self.temp_file.seek(SeekFrom::Start(0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 45 | let _ = self.temp_file.seek(SeekFrom::Start(0)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/file.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | std::io::copy(&mut self.temp_file, &mut files.storage_file); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 61 | let _ = std::io::copy(&mut self.temp_file, &mut files.storage_file); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/file.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | writeln!(&mut files.meta, "{} {}", &hash_str, new_file_size); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/storage.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | std::fs::DirBuilder::new().create(&path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 28 | let _ = std::fs::DirBuilder::new().create(&path); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/storage.rs:81:28 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn new_file_writer(&self) -> FileWriter { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 81 | pub fn new_file_writer(&self) -> FileWriter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcBaRjUZ/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libhash_storage-73d8d8e161e4fb60.rlib,libtempfile-e24977c3ce69efb8.rlib,librand-7fc026422d501bd9.rlib,librand_chacha-695f3a0b023dc483.rlib,libc2_chacha-9e049181c203be6d.rlib,libppv_lite86-3db1eddbb11ee7cb.rlib,librand_core-479a99d96f562805.rlib,libgetrandom-0fddbb3fc88fb15b.rlib,libremove_dir_all-3a2e6d1ec33fb04e.rlib,libcfg_if-2d17986ae484e939.rlib,libsha2-29846aa14706a2b6.rlib,libdigest-5f78703e9ac51891.rlib,libopaque_debug-a7962e22a4dc4c30.rlib,libfake_simd-a91f2f775e698a8f.rlib,libblock_buffer-d1add359f1ba4de7.rlib,libgeneric_array-c51409444f4147ff.rlib,libtypenum-94c12ce366bf9ba8.rlib,libblock_padding-78ee37bedf3266e7.rlib,libbyte_tools-bed8c652a5ea9f13.rlib,libbyteorder-407c63fb026ffdbd.rlib,libstructopt-165f20da44ffeb56.rlib,libclap-b55e4ca9ee19d6dc.rlib,libvec_map-5b81ccf8104b4a62.rlib,libtextwrap-11ef9c48d2b67776.rlib,libunicode_width-2633e479f3e78e9e.rlib,libstrsim-b8b77d7a062bc77b.rlib,libbitflags-561a4f1321538a32.rlib,libatty-6059a1a2e4e87fe7.rlib,liblibc-0531c8984a49e007.rlib,libansi_term-ff0b7d01d18bd931.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcBaRjUZ/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/save-1a5c8da31da83f6a" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgetrandom-0fddbb3fc88fb15b.rlib(getrandom-0fddbb3fc88fb15b.getrandom.31ca62ee9ed33ed1-cgu.0.rcgu.o): in function `getrandom::util_libc::open_readonly': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.1.12/src/util_libc.rs:131:(.text._ZN9getrandom9util_libc13open_readonly17hb109e6f670197658E+0x79): undefined reference to `open64' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hash-storage` (example "save") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcWsPLF3/symbols.o" "<3 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libignore-8634c4ad883c9db0.rlib,libwalkdir-6b9a51c61d19c90f.rlib,libsame_file-6e238e849469a793.rlib,libglobset-1c4c28e2e8c38987.rlib,libregex-4f2e41fd9d2ff08a.rlib,libthread_local-86eb7ed30d8d4b34.rlib,libregex_syntax-c2488f2255729bd6.rlib,liblog-0458da19e351a080.rlib,libfnv-9e53809b7a9a2c90.rlib,libbstr-77dff414f28896c8.rlib,libaho_corasick-4be54ce5ab3be63f.rlib,libmemchr-807679e1588846d7.rlib,libcrossbeam_channel-c530b09791879491.rlib,libcrossbeam_utils-c2ac251fc39d3c17.rlib,liblazy_static-4b136fc9bfbd2c4b.rlib,libhash_storage-73d8d8e161e4fb60.rlib,libtempfile-e24977c3ce69efb8.rlib,librand-7fc026422d501bd9.rlib,librand_chacha-695f3a0b023dc483.rlib,libc2_chacha-9e049181c203be6d.rlib,libppv_lite86-3db1eddbb11ee7cb.rlib,librand_core-479a99d96f562805.rlib,libgetrandom-0fddbb3fc88fb15b.rlib,libremove_dir_all-3a2e6d1ec33fb04e.rlib,libcfg_if-2d17986ae484e939.rlib,libsha2-29846aa14706a2b6.rlib,libdigest-5f78703e9ac51891.rlib,libopaque_debug-a7962e22a4dc4c30.rlib,libfake_simd-a91f2f775e698a8f.rlib,libblock_buffer-d1add359f1ba4de7.rlib,libgeneric_array-c51409444f4147ff.rlib,libtypenum-94c12ce366bf9ba8.rlib,libblock_padding-78ee37bedf3266e7.rlib,libbyte_tools-bed8c652a5ea9f13.rlib,libbyteorder-407c63fb026ffdbd.rlib,libstructopt-165f20da44ffeb56.rlib,libclap-b55e4ca9ee19d6dc.rlib,libvec_map-5b81ccf8104b4a62.rlib,libtextwrap-11ef9c48d2b67776.rlib,libunicode_width-2633e479f3e78e9e.rlib,libstrsim-b8b77d7a062bc77b.rlib,libbitflags-561a4f1321538a32.rlib,libatty-6059a1a2e4e87fe7.rlib,liblibc-0531c8984a49e007.rlib,libansi_term-ff0b7d01d18bd931.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcWsPLF3/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/save_recursive-189eff2190c4b181" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgetrandom-0fddbb3fc88fb15b.rlib(getrandom-0fddbb3fc88fb15b.getrandom.31ca62ee9ed33ed1-cgu.0.rcgu.o): in function `getrandom::util_libc::open_readonly': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.1.12/src/util_libc.rs:131:(.text._ZN9getrandom9util_libc13open_readonly17hb109e6f670197658E+0x79): undefined reference to `open64' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hash-storage` (example "save_recursive") due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "131690a9e9cbfa4759bb93dd1a977f11bf7c5494ee53a4dd62fc24ea622a44cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "131690a9e9cbfa4759bb93dd1a977f11bf7c5494ee53a4dd62fc24ea622a44cf", kill_on_drop: false }` [INFO] [stdout] 131690a9e9cbfa4759bb93dd1a977f11bf7c5494ee53a4dd62fc24ea622a44cf