[INFO] cloning repository https://github.com/jveiga/dlog [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jveiga/dlog" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjveiga%2Fdlog", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjveiga%2Fdlog'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 254163efe2f98965fad8b1865847da32f5615a09 [INFO] testing jveiga/dlog against master#d933cf483edf1605142ac6899ff32536c0ad8b22 for pr-150933 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjveiga%2Fdlog" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jveiga/dlog [INFO] finished tweaking git repo https://github.com/jveiga/dlog [INFO] tweaked toml for git repo https://github.com/jveiga/dlog written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jveiga/dlog on toolchain d933cf483edf1605142ac6899ff32536c0ad8b22 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jveiga/dlog 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" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cookie v0.14.2 [INFO] [stderr] Downloaded thiserror v1.0.21 [INFO] [stderr] Downloaded time v0.2.22 [INFO] [stderr] Downloaded thiserror-impl v1.0.21 [INFO] [stderr] Downloaded temp_testdir v0.2.3 [INFO] [stderr] Downloaded standback v0.2.11 [INFO] [stderr] Downloaded byte-pool v0.2.2 [INFO] [stderr] Downloaded async-session v2.0.1 [INFO] [stderr] Downloaded async-sse v4.0.1 [INFO] [stderr] Downloaded wepoll-sys v3.0.1 [INFO] [stderr] Downloaded polling v2.0.2 [INFO] [stderr] Downloaded proptest-derive v0.2.0 [INFO] [stderr] Downloaded async-h1 v2.1.3 [INFO] [stderr] Downloaded http-client v6.2.0 [INFO] [stderr] Downloaded tide v0.14.0 [INFO] [stderr] Downloaded async-io v1.1.10 [INFO] [stderr] Downloaded serde_qs v0.7.0 [INFO] [stderr] Downloaded async-executor v1.3.0 [INFO] [stderr] Downloaded blake3 v0.3.7 [INFO] [stderr] Downloaded polyval v0.4.1 [INFO] [stderr] Downloaded proptest v0.10.1 [INFO] [stderr] Downloaded hkdf v0.9.0 [INFO] [stderr] Downloaded nb-connect v1.0.2 [INFO] [stderr] Downloaded async-std v1.6.5 [INFO] [stderr] Downloaded vec-arena v1.0.0 [INFO] [stderr] Downloaded async-global-executor v1.4.3 [INFO] [stderr] Downloaded route-recognizer v0.2.0 [INFO] [stderr] Downloaded femme v2.1.1 [INFO] [stderr] Downloaded http-types v2.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 73ba54a203a714254420022073d46d7588f4a526605f904de970f405ff6233b0 [INFO] running `Command { std: "docker" "start" "-a" "73ba54a203a714254420022073d46d7588f4a526605f904de970f405ff6233b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "73ba54a203a714254420022073d46d7588f4a526605f904de970f405ff6233b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73ba54a203a714254420022073d46d7588f4a526605f904de970f405ff6233b0", kill_on_drop: false }` [INFO] [stdout] 73ba54a203a714254420022073d46d7588f4a526605f904de970f405ff6233b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 91949041d63ef328f392d38d5486cc9beae29831723a242e93b230808e468763 [INFO] running `Command { std: "docker" "start" "-a" "91949041d63ef328f392d38d5486cc9beae29831723a242e93b230808e468763", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling futures-core v0.3.7 [INFO] [stderr] Compiling anyhow v1.0.33 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling once_cell v1.4.1 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling fastrand v1.4.0 [INFO] [stderr] Compiling futures-io v0.3.7 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling standback v0.2.11 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling vec-arena v1.0.0 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling async-task v4.0.3 [INFO] [stderr] Compiling universal-hash v0.4.0 [INFO] [stderr] Compiling block-cipher v0.7.1 [INFO] [stderr] Compiling nb-connect v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling const_fn v0.4.2 [INFO] [stderr] Compiling polyval v0.4.1 [INFO] [stderr] Compiling aes-soft v0.4.0 [INFO] [stderr] Compiling async-channel v1.5.1 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling time v0.2.22 [INFO] [stderr] Compiling tinyvec v0.3.4 [INFO] [stderr] Compiling sha2 v0.9.1 [INFO] [stderr] Compiling ghash v0.3.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling futures-lite v1.11.2 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling cookie v0.14.2 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling aes v0.4.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling hkdf v0.9.0 [INFO] [stderr] Compiling polling v2.0.2 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling aes-gcm v0.6.0 [INFO] [stderr] Compiling form_urlencoded v1.0.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling data-encoding v2.3.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling http-types v2.6.0 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling infer v0.2.3 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling cc v1.0.61 [INFO] [stderr] Compiling prost-build v0.6.1 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling multimap v0.8.2 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling async-executor v1.3.0 [INFO] [stderr] Compiling async-io v1.1.10 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling byte-pool v0.2.2 [INFO] [stderr] Compiling futures-task v0.3.7 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling route-recognizer v0.2.0 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling async-global-executor v1.4.3 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling blake3 v0.3.7 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling async-attributes v1.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.21 [INFO] [stderr] Compiling prost-derive v0.6.1 [INFO] [stderr] Compiling pin-project-internal v1.0.1 [INFO] [stderr] Compiling async-trait v0.1.41 [INFO] [stderr] Compiling futures-macro v0.3.7 [INFO] [stderr] Compiling tracing-attributes v0.1.11 [INFO] [stderr] Compiling async-std v1.6.5 [INFO] [stderr] Compiling tracing v0.1.21 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling thiserror v1.0.21 [INFO] [stderr] Compiling pin-project v1.0.1 [INFO] [stderr] Compiling futures-util v0.3.7 [INFO] [stderr] Compiling prost v0.6.1 [INFO] [stderr] Compiling prost-types v0.6.1 [INFO] [stderr] Compiling dlog v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling serde_qs v0.7.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling bincode v1.3.1 [INFO] [stderr] Compiling femme v2.1.1 [INFO] [stderr] Compiling async-session v2.0.1 [INFO] [stderr] Compiling http-client v6.2.0 [INFO] [stderr] Compiling async-sse v4.0.1 [INFO] [stderr] Compiling async-h1 v2.1.3 [INFO] [stderr] Compiling tide v0.14.0 [INFO] [stdout] warning: unused import: `ReadBytesExt` [INFO] [stdout] --> src/store.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use byteorder::{BigEndian, ReadBytesExt, WriteBytesExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bytes_read` is never read [INFO] [stdout] --> src/store.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct StoreWriteStatus { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 17 | pub bytes_read: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StoreWriteStatus` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read_at` is never used [INFO] [stdout] --> src/store.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Store { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn read_at(&mut self, buf: &mut [u8], offset: u64) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/store.rs:65:41 [INFO] [stdout] | [INFO] [stdout] 65 | let record_size: u64 = unsafe { std::mem::transmute::<[u8; 8], u64>(buf) }.to_be(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 65 - let record_size: u64 = unsafe { std::mem::transmute::<[u8; 8], u64>(buf) }.to_be(); [INFO] [stdout] 65 + let record_size: u64 = unsafe { u64::from_ne_bytes(buf) }.to_be(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.82s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: http-types v2.6.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "91949041d63ef328f392d38d5486cc9beae29831723a242e93b230808e468763", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91949041d63ef328f392d38d5486cc9beae29831723a242e93b230808e468763", kill_on_drop: false }` [INFO] [stdout] 91949041d63ef328f392d38d5486cc9beae29831723a242e93b230808e468763 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56beb121722c9d22e76581df8ee17d1e0d8d54c6708ff4e659356c87d0c7225c [INFO] running `Command { std: "docker" "start" "-a" "56beb121722c9d22e76581df8ee17d1e0d8d54c6708ff4e659356c87d0c7225c", kill_on_drop: false }` [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling bit-vec v0.6.2 [INFO] [stderr] Compiling rand_xorshift v0.2.0 [INFO] [stderr] Compiling regex-syntax v0.6.20 [INFO] [stderr] Compiling temp_testdir v0.2.3 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling prost-build v0.6.1 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling dlog v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ReadBytesExt` [INFO] [stdout] --> src/store.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use byteorder::{BigEndian, ReadBytesExt, WriteBytesExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bytes_read` is never read [INFO] [stdout] --> src/store.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct StoreWriteStatus { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 17 | pub bytes_read: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StoreWriteStatus` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read_at` is never used [INFO] [stdout] --> src/store.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Store { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn read_at(&mut self, buf: &mut [u8], offset: u64) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/store.rs:65:41 [INFO] [stdout] | [INFO] [stdout] 65 | let record_size: u64 = unsafe { std::mem::transmute::<[u8; 8], u64>(buf) }.to_be(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 65 - let record_size: u64 = unsafe { std::mem::transmute::<[u8; 8], u64>(buf) }.to_be(); [INFO] [stdout] 65 + let record_size: u64 = unsafe { u64::from_ne_bytes(buf) }.to_be(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling proptest v0.10.1 [INFO] [stderr] Compiling proptest-derive v0.2.0 [INFO] [stdout] warning: unused imports: `File` and `OpenOptions` [INFO] [stdout] --> src/segment.rs:127:19 [INFO] [stdout] | [INFO] [stdout] 127 | use std::fs::{File, OpenOptions}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ENTWIDTH` [INFO] [stdout] --> src/segment.rs:131:25 [INFO] [stdout] | [INFO] [stdout] 131 | use crate::{Config, ENTWIDTH}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ReadBytesExt` [INFO] [stdout] --> src/store.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use byteorder::{BigEndian, ReadBytesExt, WriteBytesExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::OpenOptions` [INFO] [stdout] --> src/store.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | use std::fs::OpenOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/index.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | let mut index = Index::new(f)?; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `c` is assigned to, but never used [INFO] [stdout] --> src/store.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | let mut c = Config::default(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_c` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `c` is never read [INFO] [stdout] --> src/store.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | c.segment.max_store_bytes = 1024; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `c` is never read [INFO] [stdout] --> src/store.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | c.segment.max_index_bytes = (ENTWIDTH as u64) * 3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bytes_read` is never read [INFO] [stdout] --> src/store.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct StoreWriteStatus { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 17 | pub bytes_read: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StoreWriteStatus` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/store.rs:65:41 [INFO] [stdout] | [INFO] [stdout] 65 | let record_size: u64 = unsafe { std::mem::transmute::<[u8; 8], u64>(buf) }.to_be(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 65 - let record_size: u64 = unsafe { std::mem::transmute::<[u8; 8], u64>(buf) }.to_be(); [INFO] [stdout] 65 + let record_size: u64 = unsafe { u64::from_ne_bytes(buf) }.to_be(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/store.rs:105:14 [INFO] [stdout] | [INFO] [stdout] 105 | #[derive(Arbitrary, Debug)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Arbitrary` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_Action` [INFO] [stdout] 106 | enum Action { [INFO] [stdout] | ------ `Action` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/store.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 112 | #[derive(Arbitrary, Debug)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Arbitrary` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_Actions` [INFO] [stdout] 113 | struct Actions(Vec); [INFO] [stdout] | ------- `Actions` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 16.97s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: http-types v2.6.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "56beb121722c9d22e76581df8ee17d1e0d8d54c6708ff4e659356c87d0c7225c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56beb121722c9d22e76581df8ee17d1e0d8d54c6708ff4e659356c87d0c7225c", kill_on_drop: false }` [INFO] [stdout] 56beb121722c9d22e76581df8ee17d1e0d8d54c6708ff4e659356c87d0c7225c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ad78edc63be4e44dbc8792519e701bd5f6b174d237e07ea10d1f9051965320ea [INFO] running `Command { std: "docker" "start" "-a" "ad78edc63be4e44dbc8792519e701bd5f6b174d237e07ea10d1f9051965320ea", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `ReadBytesExt` [INFO] [stdout] [INFO] [stderr] --> src/store.rs:5:28 [INFO] [stdout] running 6 tests [INFO] [stderr] | [INFO] [stdout] test index::tests::test_new ... ok [INFO] [stderr] 5 | use byteorder::{BigEndian, ReadBytesExt, WriteBytesExt}; [INFO] [stdout] test segment::tests::test_new ... ok [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stdout] test index::tests::test_write ... ok [INFO] [stderr] | [INFO] [stdout] test segment::tests::test_append ... ok [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `bytes_read` is never read [INFO] [stderr] --> src/store.rs:17:9 [INFO] [stderr] | [INFO] [stderr] 16 | pub struct StoreWriteStatus { [INFO] [stderr] | ---------------- field in this struct [INFO] [stderr] 17 | pub bytes_read: u64, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `StoreWriteStatus` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: method `read_at` is never used [INFO] [stderr] --> src/store.rs:51:12 [INFO] [stderr] | [INFO] [stderr] 21 | impl Store { [INFO] [stderr] | ---------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 51 | pub fn read_at(&mut self, buf: &mut [u8], offset: u64) -> std::io::Result<()> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/store.rs:65:41 [INFO] [stderr] | [INFO] [stderr] 65 | let record_size: u64 = unsafe { std::mem::transmute::<[u8; 8], u64>(buf) }.to_be(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stderr] help: replace this with [INFO] [stderr] | [INFO] [stderr] 65 - let record_size: u64 = unsafe { std::mem::transmute::<[u8; 8], u64>(buf) }.to_be(); [INFO] [stderr] 65 + let record_size: u64 = unsafe { u64::from_ne_bytes(buf) }.to_be(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `dlog` (lib) generated 4 warnings (run `cargo fix --lib -p dlog` to apply 2 suggestions) [INFO] [stderr] warning: unused imports: `File` and `OpenOptions` [INFO] [stderr] --> src/segment.rs:127:19 [INFO] [stderr] | [INFO] [stderr] 127 | use std::fs::{File, OpenOptions}; [INFO] [stderr] | ^^^^ ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `ENTWIDTH` [INFO] [stderr] --> src/segment.rs:131:25 [INFO] [stderr] | [INFO] [stderr] 131 | use crate::{Config, ENTWIDTH}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ReadBytesExt` [INFO] [stderr] --> src/store.rs:5:28 [INFO] [stderr] | [INFO] [stderr] 5 | use byteorder::{BigEndian, ReadBytesExt, WriteBytesExt}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fs::OpenOptions` [INFO] [stderr] --> src/store.rs:94:9 [INFO] [stderr] | [INFO] [stderr] 94 | use std::fs::OpenOptions; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/index.rs:187:13 [INFO] [stderr] | [INFO] [stderr] 187 | let mut index = Index::new(f)?; [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable `c` is assigned to, but never used [INFO] [stderr] --> src/store.rs:120:17 [INFO] [stderr] | [INFO] [stderr] 120 | let mut c = Config::default(); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_c` instead [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `c` is never read [INFO] [stderr] --> src/store.rs:121:13 [INFO] [stderr] | [INFO] [stderr] 121 | c.segment.max_store_bytes = 1024; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `c` is never read [INFO] [stderr] --> src/store.rs:122:13 [INFO] [stderr] | [INFO] [stderr] 122 | c.segment.max_index_bytes = (ENTWIDTH as u64) * 3; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/store.rs:105:14 [INFO] [stderr] | [INFO] [stderr] 105 | #[derive(Arbitrary, Debug)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Arbitrary` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_Action` [INFO] [stderr] 106 | enum Action { [INFO] [stderr] | ------ `Action` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/store.rs:112:14 [INFO] [stderr] | [INFO] [stderr] 112 | #[derive(Arbitrary, Debug)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Arbitrary` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_Actions` [INFO] [stderr] 113 | struct Actions(Vec); [INFO] [stderr] | ------- `Actions` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `dlog` (lib test) generated 12 warnings (2 duplicates) (run `cargo fix --lib -p dlog --tests` to apply 5 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: http-types v2.6.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/dlog-022cf9501169e55e) [INFO] [stdout] test index::tests::test_read ... ok [INFO] [stdout] test store::tests::test_prop ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.68s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/protobufftype/main.rs (/opt/rustwide/target/debug/deps/protobufftype-a37263daa34034db) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/prototype/main.rs (/opt/rustwide/target/debug/deps/prototype-69788492d3d408b9) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/log.rs (/opt/rustwide/target/debug/deps/log-aefbe0dfe2acfc1b) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test_get ... ok [INFO] [stdout] test test_append ... ok [INFO] [stdout] [INFO] [stderr] Running tests/segment.rs (/opt/rustwide/target/debug/deps/segment-821a11dacc0e9745) [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Doc-tests dlog [INFO] [stdout] test test_something ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ad78edc63be4e44dbc8792519e701bd5f6b174d237e07ea10d1f9051965320ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad78edc63be4e44dbc8792519e701bd5f6b174d237e07ea10d1f9051965320ea", kill_on_drop: false }` [INFO] [stdout] ad78edc63be4e44dbc8792519e701bd5f6b174d237e07ea10d1f9051965320ea