[INFO] cloning repository https://github.com/leofaraf/exdb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/leofaraf/exdb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleofaraf%2Fexdb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleofaraf%2Fexdb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ba6714490836ce781a25b44f34751c41a45cadbc [INFO] testing leofaraf/exdb against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleofaraf%2Fexdb" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/leofaraf/exdb [INFO] finished tweaking git repo https://github.com/leofaraf/exdb [INFO] tweaked toml for git repo https://github.com/leofaraf/exdb written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/leofaraf/exdb on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/leofaraf/exdb 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 678300c2aab63ce004f2a159d35ff7567a42c89c52ac0fad375e6cd05fa30e1a [INFO] running `Command { std: "docker" "start" "-a" "678300c2aab63ce004f2a159d35ff7567a42c89c52ac0fad375e6cd05fa30e1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "678300c2aab63ce004f2a159d35ff7567a42c89c52ac0fad375e6cd05fa30e1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "678300c2aab63ce004f2a159d35ff7567a42c89c52ac0fad375e6cd05fa30e1a", kill_on_drop: false }` [INFO] [stdout] 678300c2aab63ce004f2a159d35ff7567a42c89c52ac0fad375e6cd05fa30e1a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6a9a39eaa05fe8aa840ce51933d262572b8a55be0bc6634ede1ce52b3213e355 [INFO] running `Command { std: "docker" "start" "-a" "6a9a39eaa05fe8aa840ce51933d262572b8a55be0bc6634ede1ce52b3213e355", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling serde v1.0.208 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling zerocopy v0.8.23 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling time-macros v0.2.21 [INFO] [stderr] Compiling memmap2 v0.9.5 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling syn v2.0.75 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling rmp v0.8.14 [INFO] [stderr] Compiling time v0.3.40 [INFO] [stderr] Compiling serde_derive v1.0.208 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.0 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling rmp-serde v1.3.0 [INFO] [stderr] Compiling bson v2.14.0 [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/main.rs:1:54 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{error::Error, fs::{File, OpenOptions}, os::windows::fs::MetadataExt}; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/os/mod.rs:56:5 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/os/mod.rs:120:10 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `file_size` found for struct `Metadata` in the current scope [INFO] [stdout] --> src/main.rs:46:47 [INFO] [stdout] | [INFO] [stdout] 46 | let lenght = file.metadata().unwrap().file_size(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `file_type` with a similar name [INFO] [stdout] | [INFO] [stdout] 46 - let lenght = file.metadata().unwrap().file_size(); [INFO] [stdout] 46 + let lenght = file.metadata().unwrap().file_type(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/main.rs:160:37 [INFO] [stdout] | [INFO] [stdout] 160 | fn remove_collection(&mut self, name: String) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sleipnirdb` (bin "sleipnirdb_bin") due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "6a9a39eaa05fe8aa840ce51933d262572b8a55be0bc6634ede1ce52b3213e355", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a9a39eaa05fe8aa840ce51933d262572b8a55be0bc6634ede1ce52b3213e355", kill_on_drop: false }` [INFO] [stdout] 6a9a39eaa05fe8aa840ce51933d262572b8a55be0bc6634ede1ce52b3213e355