[INFO] fetching crate sleipnirdb 0.0.1... [INFO] checking sleipnirdb-0.0.1 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate sleipnirdb 0.0.1 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate sleipnirdb 0.0.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate sleipnirdb 0.0.1 [INFO] tweaked toml for crates.io crate sleipnirdb 0.0.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate sleipnirdb 0.0.1 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate sleipnirdb 0.0.1 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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cec9c3c0e4ec291a0fb5ccd46c6c2f7d3e6df7aa7e2a4489a6755b149ce8ff6d [INFO] running `Command { std: "docker" "start" "-a" "cec9c3c0e4ec291a0fb5ccd46c6c2f7d3e6df7aa7e2a4489a6755b149ce8ff6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cec9c3c0e4ec291a0fb5ccd46c6c2f7d3e6df7aa7e2a4489a6755b149ce8ff6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cec9c3c0e4ec291a0fb5ccd46c6c2f7d3e6df7aa7e2a4489a6755b149ce8ff6d", kill_on_drop: false }` [INFO] [stdout] cec9c3c0e4ec291a0fb5ccd46c6c2f7d3e6df7aa7e2a4489a6755b149ce8ff6d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a01f68c7d33a53952dca1d029fde1f4a9c11df531e34d837aab65310a26cbd6 [INFO] running `Command { std: "docker" "start" "-a" "9a01f68c7d33a53952dca1d029fde1f4a9c11df531e34d837aab65310a26cbd6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling serde v1.0.208 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking rmp v0.8.14 [INFO] [stderr] Compiling syn v2.0.75 [INFO] [stderr] Compiling serde_derive v1.0.208 [INFO] [stderr] Checking rmp-serde v1.3.0 [INFO] [stderr] Checking sleipnirdb v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> src/database/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::ExDatabase` [INFO] [stdout] --> src/database/dump.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::ExDatabase; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `File` and `remove_file` [INFO] [stdout] --> src/database/load.rs:1:68 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{error::Error, fs::{create_dir_all, read_dir, remove_dir, remove_file, File}, path::PathBuf, sync::{Arc, Mutex}}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Hash`, `Mutex`, `borrow::Cow`, `create_dir_all`, `ffi::OsStr`, and `path::PathBuf` [INFO] [stdout] --> src/database/tables.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | ...::{borrow::Cow, collections::HashSet, error::Error, ffi::OsStr, fs::{create_dir_all, remove_dir, remove_file, File}, hash::{self, Hash}, io::Read, path::PathBuf, sync::{Arc, Mutex}}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> src/database/tables.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{de::DeserializeOwned, Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mutex` and `path::PathBuf` [INFO] [stdout] --> src/table/mod.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashSet, hash, path::PathBuf, sync::{Arc, Mutex}}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/table/mod.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error::Error`, `hash_set`, and `ops::DerefMut` [INFO] [stdout] --> src/table/add.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::{hash_set, HashSet}, error::Error, hash, ops::DerefMut, sync::{Arc, Mutex}}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `table` [INFO] [stdout] --> src/table/add.rs:5:42 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{database::ExDatabase, error, table}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `borrow::Borrow` and `ops::DerefMut` [INFO] [stdout] --> src/table/query.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{borrow::Borrow, collections::HashSet, hash, ops::DerefMut, sync::{Arc, Mutex}}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `table::contains::ContainsExTable` [INFO] [stdout] --> src/table/query.rs:5:42 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{database::ExDatabase, error, table::contains::ContainsExTable}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mutex` and `path::PathBuf` [INFO] [stdout] --> src/table/save.rs:1:74 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashSet, error::Error, fs::File, hash, io::Write, path::PathBuf, sync::{Arc, Mutex}}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> src/database/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::ExDatabase` [INFO] [stdout] --> src/database/dump.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::ExDatabase; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `File`, `remove_dir`, and `remove_file` [INFO] [stdout] --> src/database/load.rs:1:56 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{error::Error, fs::{create_dir_all, read_dir, remove_dir, remove_file, File}, path::PathBuf, sync::{Arc, Mutex}}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Hash`, `Mutex`, `borrow::Cow`, `create_dir_all`, `ffi::OsStr`, `path::PathBuf`, and `remove_dir` [INFO] [stdout] --> src/database/tables.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | ...::{borrow::Cow, collections::HashSet, error::Error, ffi::OsStr, fs::{create_dir_all, remove_dir, remove_file, File}, hash::{self, Hash}, io::Read, path::PathBuf, sync::{Arc, Mutex}}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> src/database/tables.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{de::DeserializeOwned, Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `database::load::LoadExDatabase` [INFO] [stdout] --> src/database/tables.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{database::load::LoadExDatabase, table::{save::DumpExTable, ExTable, EX_TABLE_EXTENSION}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mutex` and `path::PathBuf` [INFO] [stdout] --> src/table/mod.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashSet, hash, path::PathBuf, sync::{Arc, Mutex}}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/table/mod.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `HashSet`, `Mutex`, `error::Error`, `hash_set`, and `ops::DerefMut` [INFO] [stdout] --> src/table/add.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::{hash_set, HashSet}, error::Error, hash, ops::DerefMut, sync::{Arc, Mutex}}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `database::ExDatabase` and `table` [INFO] [stdout] --> src/table/add.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{database::ExDatabase, error, table}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `Mutex`, `borrow::Borrow`, `collections::HashSet`, and `ops::DerefMut` [INFO] [stdout] --> src/table/query.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{borrow::Borrow, collections::HashSet, hash, ops::DerefMut, sync::{Arc, Mutex}}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `database::ExDatabase` and `table::contains::ContainsExTable` [INFO] [stdout] --> src/table/query.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{database::ExDatabase, error, table::contains::ContainsExTable}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `Mutex`, and `collections::HashSet` [INFO] [stdout] --> src/table/contains.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashSet, hash, sync::{Arc, Mutex}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::database::ExDatabase` [INFO] [stdout] --> src/table/contains.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::database::ExDatabase; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `Mutex`, and `collections::HashSet` [INFO] [stdout] --> src/table/update.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashSet, hash, sync::{Arc, Mutex}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `database::ExDatabase` [INFO] [stdout] --> src/table/update.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{database::ExDatabase, error}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `Mutex`, and `collections::HashSet` [INFO] [stdout] --> src/table/remove.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashSet, hash, sync::{Arc, Mutex}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `database::ExDatabase` [INFO] [stdout] --> src/table/remove.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{database::ExDatabase, error}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mutex` and `path::PathBuf` [INFO] [stdout] --> src/table/save.rs:1:74 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashSet, error::Error, fs::File, hash, io::Write, path::PathBuf, sync::{Arc, Mutex}}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/database/load.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let mut database = ExDatabase { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/database/load.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let mut database = ExDatabase { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/table/add.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | table.add_item(TEST.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 35 | let _ = table.add_item(TEST.into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.02s [INFO] running `Command { std: "docker" "inspect" "9a01f68c7d33a53952dca1d029fde1f4a9c11df531e34d837aab65310a26cbd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a01f68c7d33a53952dca1d029fde1f4a9c11df531e34d837aab65310a26cbd6", kill_on_drop: false }` [INFO] [stdout] 9a01f68c7d33a53952dca1d029fde1f4a9c11df531e34d837aab65310a26cbd6