[INFO] cloning repository https://github.com/Kloenk/rusty-nix [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kloenk/rusty-nix" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKloenk%2Frusty-nix", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKloenk%2Frusty-nix'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e7998a0067692461072c5257b1087e394dee8fcf [INFO] testing Kloenk/rusty-nix against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKloenk%2Frusty-nix" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Kloenk/rusty-nix on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Kloenk/rusty-nix [INFO] finished tweaking git repo https://github.com/Kloenk/rusty-nix [INFO] tweaked toml for git repo https://github.com/Kloenk/rusty-nix written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/Kloenk/rusty-nix already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f7adcc1ae989a819c406d1375e3a723864d06b554f7fa2341e32f6c5e6ba1576 [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" "f7adcc1ae989a819c406d1375e3a723864d06b554f7fa2341e32f6c5e6ba1576", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f7adcc1ae989a819c406d1375e3a723864d06b554f7fa2341e32f6c5e6ba1576", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7adcc1ae989a819c406d1375e3a723864d06b554f7fa2341e32f6c5e6ba1576", kill_on_drop: false }` [INFO] [stdout] f7adcc1ae989a819c406d1375e3a723864d06b554f7fa2341e32f6c5e6ba1576 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--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] b2e518d7381d5bac14d3501996148c90e7fdcb5587c0cc8e87e432be67e1b08a [INFO] running `Command { std: "docker" "start" "-a" "b2e518d7381d5bac14d3501996148c90e7fdcb5587c0cc8e87e432be67e1b08a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling smallvec v1.5.0 [INFO] [stderr] Compiling futures-sink v0.3.8 [INFO] [stderr] Compiling ahash v0.4.6 [INFO] [stderr] Compiling cc v1.0.64 [INFO] [stderr] Compiling bytes v0.6.0 [INFO] [stderr] Compiling custom_error v1.8.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling data-encoding v2.3.1 [INFO] [stderr] Compiling humantime v2.0.1 [INFO] [stderr] Compiling lru_time_cache v0.11.2 [INFO] [stderr] Compiling tokio v0.3.4 [INFO] [stderr] Compiling libsqlite3-sys v0.20.1 [INFO] [stderr] Compiling futures-channel v0.3.8 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling sha2 v0.9.2 [INFO] [stderr] Compiling hashlink v0.6.0 [INFO] [stderr] Compiling rusqlite v0.24.1 [INFO] [stderr] Compiling ring v0.16.16 [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.2.2 [INFO] [stderr] Compiling mio v0.7.6 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling nix v0.19.0 [INFO] [stderr] Compiling users v0.10.0 [INFO] [stderr] Compiling env_logger v0.8.2 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling tokio-macros v0.3.1 [INFO] [stderr] Compiling pin-project v1.0.2 [INFO] [stderr] Compiling futures-util v0.3.8 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling futures-executor v0.3.8 [INFO] [stderr] Compiling futures v0.3.8 [INFO] [stderr] Compiling libutil v0.1.0 (/opt/rustwide/workdir/libutil) [INFO] [stderr] Compiling libstore v0.1.0 (/opt/rustwide/workdir/libstore) [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> libstore/src/connection/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `RwLock` [INFO] [stdout] --> libstore/src/connection/mod.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::{Arc, RwLock}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LittleEndian` [INFO] [stdout] --> libstore/src/connection/mod.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | use byteorder::{ByteOrder, LittleEndian}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::net::UnixStream` [INFO] [stdout] --> libstore/src/connection/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use tokio::net::UnixStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> libstore/src/store/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::NaiveDateTime` [INFO] [stdout] --> libstore/src/store/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use chrono::NaiveDateTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryFrom` [INFO] [stdout] --> libstore/src/store/local_store.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Arc` is imported redundantly [INFO] [stdout] --> libstore/src/store/local_store.rs:135:29 [INFO] [stdout] | [INFO] [stdout] 14 | use std::sync::{Arc, RwLock}; [INFO] [stdout] | --- the item `Arc` is already imported here [INFO] [stdout] ... [INFO] [stdout] 135 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::source::AsyncRead` [INFO] [stdout] --> libstore/src/store/local_store.rs:348:17 [INFO] [stdout] | [INFO] [stdout] 348 | use crate::source::AsyncRead; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Store` [INFO] [stdout] --> libstore/src/store/hash.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Store, StoreError}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> libstore/src/archive/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Store`, `store::BuildStore` [INFO] [stdout] --> libstore/src/archive/mod.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{store::BuildStore, store::WriteStore, Store}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> libstore/src/archive/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Mutex` [INFO] [stdout] --> libstore/src/archive/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ReadHalf`, `WriteHalf` [INFO] [stdout] --> libstore/src/source/mod.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::net::unix::{ReadHalf, WriteHalf}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncReadExt`, `AsyncRead` [INFO] [stdout] --> libstore/src/build/derivation/token.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{AsyncRead, AsyncReadExt, StoreError}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncSeekExt`, `AsyncSeek` [INFO] [stdout] --> libstore/src/build/derivation/token.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::io::{AsyncSeek, AsyncSeekExt}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this `#[deprecated]` annotation has no effect [INFO] [stdout] --> libstore/src/store/valid_path.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 162 | #[deprecated = "use try-from version"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the unnecessary deprecation attribute [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(useless_deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> libstore/src/store/hash.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 72 | panic!("unsupported hash type"); [INFO] [stdout] | ------------------------------- any code following this expression is unreachable [INFO] [stdout] 73 | "unsuported".to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> libstore/src/build/derivation/mod.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 198 | return Ok(ret); [INFO] [stdout] | -------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 205 | unreachable!() [INFO] [stdout] | ^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `unreachable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ByteOrder` [INFO] [stdout] --> libstore/src/connection/mod.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use byteorder::{ByteOrder, LittleEndian}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncBufReadExt` [INFO] [stdout] --> libstore/src/build/derivation/mod.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::io::{AsyncBufReadExt, AsyncRead, AsyncReadExt}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client_version` [INFO] [stdout] --> libstore/src/connection/mod.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | client_version: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_client_version` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parser` [INFO] [stdout] --> libstore/src/connection/mod.rs:446:13 [INFO] [stdout] | [INFO] [stdout] 446 | let parser = parser.parse().await.unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `worker` [INFO] [stdout] --> libstore/src/store/local_store.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | let worker = crate::build::worker::Worker::new(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_worker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> libstore/src/store/local_store.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | mode: u8, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> libstore/src/store/local_store.rs:278:9 [INFO] [stdout] | [INFO] [stdout] 278 | source: &'a str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> libstore/src/store/local_store.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 279 | target: &'a str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `check_sigs` [INFO] [stdout] --> libstore/src/store/local_store.rs:344:9 [INFO] [stdout] | [INFO] [stdout] 344 | check_sigs: bool, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_check_sigs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `deriver` is never read [INFO] [stdout] --> libstore/src/store/local_store.rs:475:21 [INFO] [stdout] | [INFO] [stdout] 475 | let mut deriver = String::new(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `nar_size` is never read [INFO] [stdout] --> libstore/src/store/local_store.rs:476:21 [INFO] [stdout] | [INFO] [stdout] 476 | let mut nar_size = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash_part` [INFO] [stdout] --> libstore/src/store/local_store.rs:583:17 [INFO] [stdout] | [INFO] [stdout] 583 | let hash_part = path.hash_part(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hash_part` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row` [INFO] [stdout] --> libstore/src/store/local_store.rs:700:49 [INFO] [stdout] | [INFO] [stdout] 700 | let data = stm.query_row(&[&path], |row| Ok(true)).unwrap_or(false); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> libstore/src/store/local_store.rs:328:21 [INFO] [stdout] | [INFO] [stdout] 328 | let mut info = ValidPathInfo::now(dest_path, hash, nar.len() as u64)?; [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: function is never used: `get_hash_part` [INFO] [stdout] --> libstore/src/store/local_store.rs:727:4 [INFO] [stdout] | [INFO] [stdout] 727 | fn get_hash_part(path: &std::path::PathBuf) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `user` [INFO] [stdout] --> libstore/src/build/user.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | user: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `supplementary_gids` [INFO] [stdout] --> libstore/src/build/user.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | supplementary_gids: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `file` [INFO] [stdout] --> libstore/src/build/user.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | file: std::fs::File, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `last_woken_up` [INFO] [stdout] --> libstore/src/build/worker.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | last_woken_up: std::time::SystemTime, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> libstore/src/store/local_store.rs:80:61 [INFO] [stdout] | [INFO] [stdout] 80 | std::ffi::CString::new("none").unwrap().as_ptr(), [INFO] [stdout] | --------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> libstore/src/connection/mod.rs:435:9 [INFO] [stdout] | [INFO] [stdout] 435 | std::fs::remove_dir_all(&extract_file); // TODO: fix this hotfix [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> libstore/src/store/local_store.rs:305:17 [INFO] [stdout] | [INFO] [stdout] 305 | self.delete_path(&dest_path).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> libstore/src/store/local_store.rs:420:13 [INFO] [stdout] | [INFO] [stdout] 420 | std::fs::remove_dir_all(&path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 42 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libstore` due to 2 previous errors; 42 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b2e518d7381d5bac14d3501996148c90e7fdcb5587c0cc8e87e432be67e1b08a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2e518d7381d5bac14d3501996148c90e7fdcb5587c0cc8e87e432be67e1b08a", kill_on_drop: false }` [INFO] [stdout] b2e518d7381d5bac14d3501996148c90e7fdcb5587c0cc8e87e432be67e1b08a