[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#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKloenk%2Frusty-nix" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Kloenk/rusty-nix on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "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-2/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6edc14a47a365fbe9aba83dce1a5fa00e4047f2bfc4abfaddf1bab070728a144 [INFO] running `Command { std: "docker" "start" "-a" "6edc14a47a365fbe9aba83dce1a5fa00e4047f2bfc4abfaddf1bab070728a144", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6edc14a47a365fbe9aba83dce1a5fa00e4047f2bfc4abfaddf1bab070728a144", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6edc14a47a365fbe9aba83dce1a5fa00e4047f2bfc4abfaddf1bab070728a144", kill_on_drop: false }` [INFO] [stdout] 6edc14a47a365fbe9aba83dce1a5fa00e4047f2bfc4abfaddf1bab070728a144 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e355e19d9b20d34d79d13dddebd0476aaf1ebc60a6b20c80291b920c73db383 [INFO] running `Command { std: "docker" "start" "-a" "7e355e19d9b20d34d79d13dddebd0476aaf1ebc60a6b20c80291b920c73db383", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling smallvec v1.5.0 [INFO] [stderr] Compiling futures-sink v0.3.8 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling cc v1.0.64 [INFO] [stderr] Compiling ahash v0.4.6 [INFO] [stderr] Compiling bytes v0.6.0 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling custom_error v1.8.0 [INFO] [stderr] Compiling data-encoding v2.3.1 [INFO] [stderr] Compiling lru_time_cache v0.11.2 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling libsqlite3-sys v0.20.1 [INFO] [stderr] Compiling tokio v0.3.4 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling sha2 v0.9.2 [INFO] [stderr] Compiling futures-channel v0.3.8 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling hashlink v0.6.0 [INFO] [stderr] Compiling ring v0.16.16 [INFO] [stderr] Compiling rusqlite v0.24.1 [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Compiling mio v0.7.6 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.2.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling nix v0.19.0 [INFO] [stderr] Compiling users v0.10.0 [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 regex v1.4.2 [INFO] [stderr] Compiling env_logger v0.8.2 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling futures-macro v0.3.8 [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 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] error: aborting due to previous error; 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libstore` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "7e355e19d9b20d34d79d13dddebd0476aaf1ebc60a6b20c80291b920c73db383", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e355e19d9b20d34d79d13dddebd0476aaf1ebc60a6b20c80291b920c73db383", kill_on_drop: false }` [INFO] [stdout] 7e355e19d9b20d34d79d13dddebd0476aaf1ebc60a6b20c80291b920c73db383