[INFO] fetching crate spray 0.1.0... [INFO] building spray-0.1.0 against try#2cd6942e35a7765b6869d3a149ca54f2598b77ad for pr-93180 [INFO] extracting crate spray 0.1.0 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate spray 0.1.0 on toolchain 2cd6942e35a7765b6869d3a149ca54f2598b77ad [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+2cd6942e35a7765b6869d3a149ca54f2598b77ad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate spray 0.1.0 [INFO] finished tweaking crates.io crate spray 0.1.0 [INFO] tweaked toml for crates.io crate spray 0.1.0 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate crates.io crate spray 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+2cd6942e35a7765b6869d3a149ca54f2598b77ad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pin-project v0.4.19 [INFO] [stderr] Downloaded pin-project-internal v0.4.19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+2cd6942e35a7765b6869d3a149ca54f2598b77ad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7733c3bd8c2c0258394453d5f4b88fce0ae9e3fb82102f20d5510e2ade03c11b [INFO] running `Command { std: "docker" "start" "-a" "7733c3bd8c2c0258394453d5f4b88fce0ae9e3fb82102f20d5510e2ade03c11b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7733c3bd8c2c0258394453d5f4b88fce0ae9e3fb82102f20d5510e2ade03c11b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7733c3bd8c2c0258394453d5f4b88fce0ae9e3fb82102f20d5510e2ade03c11b", kill_on_drop: false }` [INFO] [stdout] 7733c3bd8c2c0258394453d5f4b88fce0ae9e3fb82102f20d5510e2ade03c11b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+2cd6942e35a7765b6869d3a149ca54f2598b77ad" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1348fc875d407e2229ca4cb2621ccad25e40368c3ee66b177726873424eab8ff [INFO] running `Command { std: "docker" "start" "-a" "1348fc875d407e2229ca4cb2621ccad25e40368c3ee66b177726873424eab8ff", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling build_const v0.2.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling arc-swap v0.4.7 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bytesize v1.0.1 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling pin-project-internal v0.4.19 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling pin-project v0.4.19 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling spray v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::files` [INFO] [stdout] --> src/handle.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::files; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `File` [INFO] [stdout] --> src/files.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub type File = tokio::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Path` [INFO] [stdout] --> src/files.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub type Path = std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `PathBuf` [INFO] [stdout] --> src/files.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub type PathBuf = std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create` [INFO] [stdout] --> src/files.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn create(path: &PathBuf) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `open` [INFO] [stdout] --> src/files.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn open(path: &PathBuf) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_dir` [INFO] [stdout] --> src/files.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn create_dir(path: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `stem_as_u64` [INFO] [stdout] --> src/files.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn stem_as_u64(path: PathBuf) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `list_files_as_u64` [INFO] [stdout] --> src/files.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn list_files_as_u64(path: &Path, extension: &'static str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Handle` [INFO] [stdout] --> src/handle.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Handle { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/handle.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | pub async fn new(location: &PathBuf, id: u64) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `open` [INFO] [stdout] --> src/handle.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | pub async fn open(location: &PathBuf, id: u64) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stream` [INFO] [stdout] --> src/handle.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 26 | pub async fn stream(&mut self, offset: u64, bytes: usize, target: &mut T) -> Result<()> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> src/handle.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | pub async fn add(&mut self, entries: Vec>) -> Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `log_size` [INFO] [stdout] --> src/handle.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | pub async fn log_size(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `index_size` [INFO] [stdout] --> src/handle.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 49 | pub async fn index_size(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ENTRY_SIZE` [INFO] [stdout] --> src/index.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | const ENTRY_SIZE: usize = 8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Index` [INFO] [stdout] --> src/index.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Index { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/index.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn new(location: &PathBuf, id: u64) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `open` [INFO] [stdout] --> src/index.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | pub async fn open(location: &PathBuf, id: u64) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_entry` [INFO] [stdout] --> src/index.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | pub async fn add_entry(&mut self, value: u64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_entry` [INFO] [stdout] --> src/index.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 53 | pub async fn find_entry(&mut self, offset: u64) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `size` [INFO] [stdout] --> src/index.rs:62:18 [INFO] [stdout] | [INFO] [stdout] 62 | pub async fn size(&self) -> u64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Ledger` [INFO] [stdout] --> src/ledger.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Ledger { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/ledger.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | pub async fn new(location: &Path, segment_size: u64) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `open` [INFO] [stdout] --> src/ledger.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | pub async fn open(location: &Path, id: String, segment_size: u64) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> src/ledger.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | pub async fn add(&mut self, segment_id: u64, entries: Vec>) -> Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stream` [INFO] [stdout] --> src/ledger.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 48 | pub async fn stream( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `segment_size` [INFO] [stdout] --> src/ledger.rs:64:18 [INFO] [stdout] | [INFO] [stdout] 64 | pub async fn segment_size(&self, segment_id: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Log` [INFO] [stdout] --> src/log.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Log { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/log.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | pub async fn new(location: &PathBuf, id: u64) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `open` [INFO] [stdout] --> src/log.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | pub async fn open(location: &PathBuf, id: u64) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_entry` [INFO] [stdout] --> src/log.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub async fn add_entry(&mut self, offset: u64, entry: Vec) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stream_entries` [INFO] [stdout] --> src/log.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 41 | pub async fn stream_entries( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `size` [INFO] [stdout] --> src/log.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 60 | pub async fn size(&self) -> u64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Segments` [INFO] [stdout] --> src/segment.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Segments { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `open` [INFO] [stdout] --> src/segment.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn open(location: PathBuf) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create` [INFO] [stdout] --> src/segment.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | pub async fn create(&mut self, id: u64) -> Result<&mut Segment> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/segment.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn get(&self, id: u64) -> Option<&Segment> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create_if_absent` [INFO] [stdout] --> src/segment.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn create_if_absent(&mut self, id: u64) -> &mut Segment { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_mut` [INFO] [stdout] --> src/segment.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn get_mut(&mut self, id: u64) -> Option<&mut Segment> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `len` [INFO] [stdout] --> src/segment.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Segment` [INFO] [stdout] --> src/segment.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Segment { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/segment.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn new(location: PathBuf, id: u64) -> Segment { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> src/segment.rs:65:18 [INFO] [stdout] | [INFO] [stdout] 65 | pub async fn add(&mut self, entries: Vec>) -> Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stream` [INFO] [stdout] --> src/segment.rs:74:18 [INFO] [stdout] | [INFO] [stdout] 74 | pub async fn stream(&mut self, offset: u64, bytes: usize, target: &mut T) -> Result<()> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `size` [INFO] [stdout] --> src/segment.rs:84:18 [INFO] [stdout] | [INFO] [stdout] 84 | pub async fn size(&self) -> u64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_a_test_directory` [INFO] [stdout] --> src/test_util.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn create_a_test_directory() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Result` [INFO] [stdout] --> src/types.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub type Result = std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SegmentFull` [INFO] [stdout] --> src/types.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | SegmentFull(u64), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/types.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_segment_full` [INFO] [stdout] --> src/types.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn is_segment_full(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 51 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::runtime::Runtime` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use tokio::runtime::Runtime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.29s [INFO] running `Command { std: "docker" "inspect" "1348fc875d407e2229ca4cb2621ccad25e40368c3ee66b177726873424eab8ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1348fc875d407e2229ca4cb2621ccad25e40368c3ee66b177726873424eab8ff", kill_on_drop: false }` [INFO] [stdout] 1348fc875d407e2229ca4cb2621ccad25e40368c3ee66b177726873424eab8ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+2cd6942e35a7765b6869d3a149ca54f2598b77ad" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f12a06d2da50efb52bf70e7ac599e66460e7e5346f6bfc180a50d7287d3c38c0 [INFO] running `Command { std: "docker" "start" "-a" "f12a06d2da50efb52bf70e7ac599e66460e7e5346f6bfc180a50d7287d3c38c0", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `crate::files` [INFO] [stdout] --> src/handle.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::files; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `File` [INFO] [stdout] --> src/files.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub type File = tokio::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Path` [INFO] [stdout] --> src/files.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub type Path = std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `PathBuf` [INFO] [stdout] --> src/files.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub type PathBuf = std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create` [INFO] [stdout] --> src/files.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn create(path: &PathBuf) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `open` [INFO] [stdout] --> src/files.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn open(path: &PathBuf) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_dir` [INFO] [stdout] --> src/files.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn create_dir(path: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `stem_as_u64` [INFO] [stdout] --> src/files.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn stem_as_u64(path: PathBuf) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `list_files_as_u64` [INFO] [stdout] --> src/files.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn list_files_as_u64(path: &Path, extension: &'static str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Handle` [INFO] [stdout] --> src/handle.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Handle { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/handle.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | pub async fn new(location: &PathBuf, id: u64) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `open` [INFO] [stdout] --> src/handle.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | pub async fn open(location: &PathBuf, id: u64) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stream` [INFO] [stdout] --> src/handle.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 26 | pub async fn stream(&mut self, offset: u64, bytes: usize, target: &mut T) -> Result<()> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> src/handle.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | pub async fn add(&mut self, entries: Vec>) -> Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `log_size` [INFO] [stdout] --> src/handle.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | pub async fn log_size(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `index_size` [INFO] [stdout] --> src/handle.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 49 | pub async fn index_size(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ENTRY_SIZE` [INFO] [stdout] --> src/index.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | const ENTRY_SIZE: usize = 8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Index` [INFO] [stdout] --> src/index.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Index { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/index.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn new(location: &PathBuf, id: u64) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `open` [INFO] [stdout] --> src/index.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | pub async fn open(location: &PathBuf, id: u64) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_entry` [INFO] [stdout] --> src/index.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | pub async fn add_entry(&mut self, value: u64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_entry` [INFO] [stdout] --> src/index.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 53 | pub async fn find_entry(&mut self, offset: u64) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `size` [INFO] [stdout] --> src/index.rs:62:18 [INFO] [stdout] | [INFO] [stdout] 62 | pub async fn size(&self) -> u64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Ledger` [INFO] [stdout] --> src/ledger.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Ledger { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/ledger.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | pub async fn new(location: &Path, segment_size: u64) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `open` [INFO] [stdout] --> src/ledger.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | pub async fn open(location: &Path, id: String, segment_size: u64) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> src/ledger.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | pub async fn add(&mut self, segment_id: u64, entries: Vec>) -> Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stream` [INFO] [stdout] --> src/ledger.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 48 | pub async fn stream( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `segment_size` [INFO] [stdout] --> src/ledger.rs:64:18 [INFO] [stdout] | [INFO] [stdout] 64 | pub async fn segment_size(&self, segment_id: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Log` [INFO] [stdout] --> src/log.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Log { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/log.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | pub async fn new(location: &PathBuf, id: u64) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `open` [INFO] [stdout] --> src/log.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | pub async fn open(location: &PathBuf, id: u64) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_entry` [INFO] [stdout] --> src/log.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub async fn add_entry(&mut self, offset: u64, entry: Vec) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stream_entries` [INFO] [stdout] --> src/log.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 41 | pub async fn stream_entries( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `size` [INFO] [stdout] --> src/log.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 60 | pub async fn size(&self) -> u64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Segments` [INFO] [stdout] --> src/segment.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Segments { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `open` [INFO] [stdout] --> src/segment.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn open(location: PathBuf) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create` [INFO] [stdout] --> src/segment.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | pub async fn create(&mut self, id: u64) -> Result<&mut Segment> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/segment.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn get(&self, id: u64) -> Option<&Segment> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create_if_absent` [INFO] [stdout] --> src/segment.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn create_if_absent(&mut self, id: u64) -> &mut Segment { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_mut` [INFO] [stdout] --> src/segment.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn get_mut(&mut self, id: u64) -> Option<&mut Segment> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `len` [INFO] [stdout] --> src/segment.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Segment` [INFO] [stdout] --> src/segment.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Segment { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/segment.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn new(location: PathBuf, id: u64) -> Segment { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> src/segment.rs:65:18 [INFO] [stdout] | [INFO] [stdout] 65 | pub async fn add(&mut self, entries: Vec>) -> Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stream` [INFO] [stdout] --> src/segment.rs:74:18 [INFO] [stdout] | [INFO] [stdout] 74 | pub async fn stream(&mut self, offset: u64, bytes: usize, target: &mut T) -> Result<()> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `size` [INFO] [stdout] --> src/segment.rs:84:18 [INFO] [stdout] | [INFO] [stdout] 84 | pub async fn size(&self) -> u64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_a_test_directory` [INFO] [stdout] --> src/test_util.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn create_a_test_directory() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Result` [INFO] [stdout] --> src/types.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub type Result = std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SegmentFull` [INFO] [stdout] --> src/types.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | SegmentFull(u64), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/types.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_segment_full` [INFO] [stdout] --> src/types.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn is_segment_full(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 51 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling spray v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tokio::runtime::Runtime` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use tokio::runtime::Runtime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::files` [INFO] [stdout] --> src/handle.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::files; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/index.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] thread 'rustc' panicked at 'Box', /rustc/2cd6942e35a7765b6869d3a149ca54f2598b77ad/compiler/rustc_errors/src/lib.rs:1103:9 [INFO] [stdout] error: internal compiler error: compiler/rustc_mir_transform/src/generator.rs:766:13: Broken MIR: generator contains type &mut Segment in MIR, but typeck only knows about {ResumeTy, u64, segment::Segments, impl std::future::Future>, (), u8, [u8; 2], impl std::future::Future>, Vec, usize, impl std::future::Future>} and [] [INFO] [stdout] --> src/segment.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | #[tokio::test] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error: internal compiler error originates in the attribute macro `tokio::test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x7f1b8f1aa67c - std::backtrace_rs::backtrace::libunwind::trace::hab3bb7239730ce1e [INFO] [stderr] at /rustc/2cd6942e35a7765b6869d3a149ca54f2598b77ad/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stderr] 1: 0x7f1b8f1aa67c - std::backtrace_rs::backtrace::trace_unsynchronized::h7c00739330269721 [INFO] [stderr] at /rustc/2cd6942e35a7765b6869d3a149ca54f2598b77ad/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 2: 0x7f1b8f1aa67c - std::sys_common::backtrace::_print_fmt::hc7fce0f2bad6b4e5 [INFO] [stderr] at /rustc/2cd6942e35a7765b6869d3a149ca54f2598b77ad/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stderr] 3: 0x7f1b8f1aa67c - ::fmt::h6b1f9c749ca5dfce [INFO] [stderr] at /rustc/2cd6942e35a7765b6869d3a149ca54f2598b77ad/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stderr] 4: 0x7f1b8f20b85c - core::fmt::write::h14b56021008c8193 [INFO] [stderr] at /rustc/2cd6942e35a7765b6869d3a149ca54f2598b77ad/library/core/src/fmt/mod.rs:1168:17 [INFO] [stderr] 5: 0x7f1b8f199c23 - std::io::Write::write_fmt::h00903ac5c84da4ab [INFO] [stderr] at /rustc/2cd6942e35a7765b6869d3a149ca54f2598b77ad/library/std/src/io/mod.rs:1653:15 [INFO] [stderr] 6: 0x7f1b8f1aeaa2 - std::sys_common::backtrace::_print::h520cdd5f2e9c382b [INFO] [stderr] at /rustc/2cd6942e35a7765b6869d3a149ca54f2598b77ad/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stderr] 7: 0x7f1b8f1aeaa2 - std::sys_common::backtrace::print::hc31c18dd3d9e99d7 [INFO] [stderr] at /rustc/2cd6942e35a7765b6869d3a149ca54f2598b77ad/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stderr] 8: 0x7f1b8f1aeaa2 - std::panicking::default_hook::{{closure}}::h2b4911050a1d8d19 [INFO] [stderr] at /rustc/2cd6942e35a7765b6869d3a149ca54f2598b77ad/library/std/src/panicking.rs:290:50 [INFO] [stderr] 9: 0x7f1b8f1ae685 - std::panicking::default_hook::hd9ee213c07ceee82 [INFO] [stderr] at /rustc/2cd6942e35a7765b6869d3a149ca54f2598b77ad/library/std/src/panicking.rs:307:9 [INFO] [stderr] 10: 0x7f1b8f98bf91 - rustc_driver[574060610cdb6686]::DEFAULT_HOOK::{closure#0}::{closure#0} [INFO] [stderr] 11: 0x7f1b801ddac3 - as core::ops::function::Fn>::call::ha3ee6ee2491fe725 [INFO] [stderr] at /rustc/2cd6942e35a7765b6869d3a149ca54f2598b77ad/library/alloc/src/boxed.rs:1868:9 [INFO] [stderr] 12: 0x7f1b801da36c - proc_macro::bridge::client::::enter::{{closure}}::{{closure}}::h596365e8da587af3 [INFO] [stderr] at /rustc/2cd6942e35a7765b6869d3a149ca54f2598b77ad/library/proc_macro/src/bridge/client.rs:319:21 [INFO] [stderr] 13: 0x7f1b801e9af0 - std::panicking::update_hook::{{closure}}::h9cd3be1d03e842b1 [INFO] [stderr] at /rustc/2cd6942e35a7765b6869d3a149ca54f2598b77ad/library/std/src/panicking.rs:257:41 [INFO] [stderr] 14: 0x7f1b8f1af2bb - std::panicking::rust_panic_with_hook::hf221ce82965f4abb [INFO] [stderr] at /rustc/2cd6942e35a7765b6869d3a149ca54f2598b77ad/library/std/src/panicking.rs:695:17 [INFO] [stderr] 15: 0x7f1b8fc021d1 - std[8ff7d40267274bc7]::panicking::begin_panic::::{closure#0} [INFO] [stderr] 16: 0x7f1b8fc01d76 - std[8ff7d40267274bc7]::sys_common::backtrace::__rust_end_short_backtrace::::{closure#0}, !> [INFO] [stderr] 17: 0x7f1b8fb683ff - std[8ff7d40267274bc7]::panicking::begin_panic:: [INFO] [stderr] 18: 0x7f1b8fbe2f5d - std[8ff7d40267274bc7]::panic::panic_any:: [INFO] [stderr] 19: 0x7f1b8fbdf8c8 - ::span_bug:: [INFO] [stderr] 20: 0x7f1b8fbdf680 - ::span_bug:: [INFO] [stderr] 21: 0x7f1b8fb450f8 - rustc_middle[8a77eead77a7de65]::ty::context::tls::with_opt::::{closure#0}, ()> [INFO] [stderr] 22: 0x7f1b8fb451b0 - rustc_middle[8a77eead77a7de65]::util::bug::opt_span_bug_fmt:: [INFO] [stderr] 23: 0x7f1b8fb4517c - rustc_middle[8a77eead77a7de65]::util::bug::span_bug_fmt:: [INFO] [stderr] 24: 0x7f1b919a39d3 - ::run_pass [INFO] [stderr] 25: 0x7f1b90cd650f - rustc_mir_transform[e8bf563d71c3358c]::pass_manager::run_passes [INFO] [stderr] 26: 0x7f1b90c974e1 - rustc_mir_transform[e8bf563d71c3358c]::optimized_mir [INFO] [stderr] 27: 0x7f1b9124eeb2 - rustc_query_system[ae4364215f97c5f4]::query::plumbing::try_execute_query::> [INFO] [stderr] 28: 0x7f1b9129a247 - ::optimized_mir [INFO] [stderr] 29: 0x7f1b90916e12 - ::generator_layout [INFO] [stderr] 30: 0x7f1b916ef2af - >::layout_of_uncached [INFO] [stderr] 31: 0x7f1b916f717a - rustc_middle[8a77eead77a7de65]::ty::layout::layout_of [INFO] [stderr] 32: 0x7f1b91281f12 - rustc_query_system[ae4364215f97c5f4]::query::plumbing::get_query:: [INFO] [stderr] 33: 0x7f1b912a5d0a - ::layout_of [INFO] [stderr] 34: 0x7f1b9171df68 - core[25abe57cfe4190a5]::iter::adapters::process_results::, >::layout_of_uncached::{closure#5}::{closure#0}>, rustc_target[1eda696444af1ff]::abi::TyAndLayout<&rustc_middle[8a77eead77a7de65]::ty::TyS>, rustc_middle[8a77eead77a7de65]::ty::layout::LayoutError, >, rustc_middle[8a77eead77a7de65]::ty::layout::LayoutError> as core[25abe57cfe4190a5]::iter::traits::collect::FromIterator, rustc_middle[8a77eead77a7de65]::ty::layout::LayoutError>>>::from_iter, >::layout_of_uncached::{closure#5}::{closure#0}>>::{closure#0}, alloc[7db2980217c62220]::vec::Vec>> [INFO] [stderr] 35: 0x7f1b916e99bd - >::layout_of_uncached [INFO] [stderr] 36: 0x7f1b916f717a - rustc_middle[8a77eead77a7de65]::ty::layout::layout_of [INFO] [stderr] 37: 0x7f1b91281f12 - rustc_query_system[ae4364215f97c5f4]::query::plumbing::get_query:: [INFO] [stderr] 38: 0x7f1b912a5d0a - ::layout_of [INFO] [stderr] 39: 0x7f1b916f7e4f - rustc_middle[8a77eead77a7de65]::ty::layout::layout_of [INFO] [stderr] 40: 0x7f1b91281f12 - rustc_query_system[ae4364215f97c5f4]::query::plumbing::get_query:: [INFO] [stderr] 41: 0x7f1b912a5d0a - ::layout_of [INFO] [stderr] 42: 0x7f1b90cad906 - ::run_pass [INFO] [stderr] 43: 0x7f1b90cd650f - rustc_mir_transform[e8bf563d71c3358c]::pass_manager::run_passes [INFO] [stderr] 44: 0x7f1b90c978d1 - rustc_mir_transform[e8bf563d71c3358c]::optimized_mir [INFO] [stderr] 45: 0x7f1b9124eeb2 - rustc_query_system[ae4364215f97c5f4]::query::plumbing::try_execute_query::> [INFO] [stderr] 46: 0x7f1b9129a247 - ::optimized_mir [INFO] [stderr] 47: 0x7f1b916b49c6 - ::instance_mir [INFO] [stderr] 48: 0x7f1b90c65806 - rustc_monomorphize[d443c1900dbcbba2]::collector::collect_neighbours [INFO] [stderr] 49: 0x7f1b90c613d6 - rustc_monomorphize[d443c1900dbcbba2]::collector::collect_items_rec [INFO] [stderr] 50: 0x7f1b90c6150d - rustc_monomorphize[d443c1900dbcbba2]::collector::collect_items_rec [INFO] [stderr] 51: 0x7f1b90c6150d - rustc_monomorphize[d443c1900dbcbba2]::collector::collect_items_rec [INFO] [stderr] 52: 0x7f1b919869da - ::time::<(), rustc_monomorphize[d443c1900dbcbba2]::collector::collect_crate_mono_items::{closure#1}> [INFO] [stderr] 53: 0x7f1b91983a51 - rustc_monomorphize[d443c1900dbcbba2]::collector::collect_crate_mono_items [INFO] [stderr] 54: 0x7f1b9198b2d6 - rustc_monomorphize[d443c1900dbcbba2]::partitioning::collect_and_partition_mono_items [INFO] [stderr] 55: 0x7f1b91c9a9eb - rustc_query_system[ae4364215f97c5f4]::query::plumbing::try_execute_query::>, &[rustc_middle[8a77eead77a7de65]::mir::mono::CodegenUnit])>> [INFO] [stderr] 56: 0x7f1b91cceef0 - rustc_query_system[ae4364215f97c5f4]::query::plumbing::get_query:: [INFO] [stderr] 57: 0x7f1b91cf42ae - ::collect_and_partition_mono_items [INFO] [stderr] 58: 0x7f1b91860202 - rustc_codegen_ssa[dd388e5cb94d8695]::base::codegen_crate:: [INFO] [stderr] 59: 0x7f1b91870eda - ::codegen_crate [INFO] [stderr] 60: 0x7f1b9181c367 - ::time::, rustc_interface[925b183bd10502e3]::passes::start_codegen::{closure#0}> [INFO] [stderr] 61: 0x7f1b917ff319 - ::ongoing_codegen [INFO] [stderr] 62: 0x7f1b917da7dd - ::enter::, rustc_errors[a0b4bf6c95948d12]::ErrorReported>> [INFO] [stderr] 63: 0x7f1b917dbdb6 - rustc_span[7ad56b2a1dc47726]::with_source_map::, rustc_interface[925b183bd10502e3]::interface::create_compiler_and_run, rustc_driver[574060610cdb6686]::run_compiler::{closure#1}>::{closure#1}> [INFO] [stderr] 64: 0x7f1b917d9b5e - rustc_interface[925b183bd10502e3]::interface::create_compiler_and_run::, rustc_driver[574060610cdb6686]::run_compiler::{closure#1}> [INFO] [stderr] 65: 0x7f1b917bdd5b - >::set::, rustc_driver[574060610cdb6686]::run_compiler::{closure#1}>::{closure#0}, core[25abe57cfe4190a5]::result::Result<(), rustc_errors[a0b4bf6c95948d12]::ErrorReported>>::{closure#0}::{closure#0}, core[25abe57cfe4190a5]::result::Result<(), rustc_errors[a0b4bf6c95948d12]::ErrorReported>> [INFO] [stderr] 66: 0x7f1b917bdb35 - std[8ff7d40267274bc7]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver[574060610cdb6686]::run_compiler::{closure#1}>::{closure#0}, core[25abe57cfe4190a5]::result::Result<(), rustc_errors[a0b4bf6c95948d12]::ErrorReported>>::{closure#0}, core[25abe57cfe4190a5]::result::Result<(), rustc_errors[a0b4bf6c95948d12]::ErrorReported>> [INFO] [stderr] 67: 0x7f1b917bc6e9 - <::spawn_unchecked_, rustc_driver[574060610cdb6686]::run_compiler::{closure#1}>::{closure#0}, core[25abe57cfe4190a5]::result::Result<(), rustc_errors[a0b4bf6c95948d12]::ErrorReported>>::{closure#0}, core[25abe57cfe4190a5]::result::Result<(), rustc_errors[a0b4bf6c95948d12]::ErrorReported>>::{closure#1} as core[25abe57cfe4190a5]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stderr] 68: 0x7f1b8f1bae63 - as core::ops::function::FnOnce>::call_once::h37fad153086c8632 [INFO] [stderr] at /rustc/2cd6942e35a7765b6869d3a149ca54f2598b77ad/library/alloc/src/boxed.rs:1854:9 [INFO] [stderr] 69: 0x7f1b8f1bae63 - as core::ops::function::FnOnce>::call_once::h63ac285b00349412 [INFO] [stderr] at /rustc/2cd6942e35a7765b6869d3a149ca54f2598b77ad/library/alloc/src/boxed.rs:1854:9 [INFO] [stderr] 70: 0x7f1b8f1bae63 - std::sys::unix::thread::Thread::new::thread_start::ha85c370649f33522 [INFO] [stderr] at /rustc/2cd6942e35a7765b6869d3a149ca54f2598b77ad/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stderr] 71: 0x7f1b8f0cc609 - start_thread [INFO] [stderr] 72: 0x7f1b8efe6293 - clone [INFO] [stderr] 73: 0x0 - [INFO] [stderr] [INFO] [stderr] note: the compiler unexpectedly panicked. this is a bug. [INFO] [stderr] [INFO] [stderr] note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md [INFO] [stderr] [INFO] [stderr] note: rustc 1.60.0-nightly (2cd6942e3 2022-01-26) running on x86_64-unknown-linux-gnu [INFO] [stderr] [INFO] [stderr] note: compiler flags: -C embed-bitcode=no -C debuginfo=2 [INFO] [stderr] [INFO] [stderr] note: some of the compiler flags provided by cargo are hidden [INFO] [stderr] [INFO] [stderr] query stack during panic: [INFO] [stderr] #0 [optimized_mir] optimizing MIR for `segment::tests::stream_entries_from_segment::{closure#0}` [INFO] [stderr] #1 [layout_of] computing layout of `[static generator@src/segment.rs:124:5: 124:19]` [INFO] [stderr] #2 [layout_of] computing layout of `core::future::from_generator::GenFuture<[static generator@src/segment.rs:124:5: 124:19]>` [INFO] [stderr] #3 [layout_of] computing layout of `impl core::future::future::Future` [INFO] [stderr] #4 [optimized_mir] optimizing MIR for `segment::tests::stream_entries_from_segment` [INFO] [stderr] #5 [collect_and_partition_mono_items] collect_and_partition_mono_items [INFO] [stderr] end of query stack [INFO] [stdout] error: aborting due to previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `spray` due to previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f12a06d2da50efb52bf70e7ac599e66460e7e5346f6bfc180a50d7287d3c38c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f12a06d2da50efb52bf70e7ac599e66460e7e5346f6bfc180a50d7287d3c38c0", kill_on_drop: false }` [INFO] [stdout] f12a06d2da50efb52bf70e7ac599e66460e7e5346f6bfc180a50d7287d3c38c0