[INFO] fetching crate small-db 0.4.0... [INFO] testing small-db-0.4.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate small-db 0.4.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate small-db 0.4.0 [INFO] finished tweaking crates.io crate small-db 0.4.0 [INFO] tweaked toml for crates.io crate small-db 0.4.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate small-db 0.4.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 52 packages to latest compatible versions [INFO] [stderr] Adding bit-vec v0.6.3 (available: v0.8.0) [INFO] [stderr] Adding env_logger v0.7.1 (available: v0.11.8) [INFO] [stderr] Adding itertools v0.9.0 (available: v0.14.0) [INFO] [stderr] Adding rand v0.7.3 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4db0d1790cf74b570e341c2a24f474eea1ecfe91b0d8b7eaa5931808a56fb9b3 [INFO] running `Command { std: "docker" "start" "-a" "4db0d1790cf74b570e341c2a24f474eea1ecfe91b0d8b7eaa5931808a56fb9b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4db0d1790cf74b570e341c2a24f474eea1ecfe91b0d8b7eaa5931808a56fb9b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4db0d1790cf74b570e341c2a24f474eea1ecfe91b0d8b7eaa5931808a56fb9b3", kill_on_drop: false }` [INFO] [stdout] 4db0d1790cf74b570e341c2a24f474eea1ecfe91b0d8b7eaa5931808a56fb9b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36c6cf66baee8341d2d860e0ee362bbc2c9d582aa422e9373948d0a7a0fb2628 [INFO] running `Command { std: "docker" "start" "-a" "36c6cf66baee8341d2d860e0ee362bbc2c9d582aa422e9373948d0a7a0fb2628", kill_on_drop: false }` [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling gimli v0.32.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling addr2line v0.25.1 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling small-db v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `delete::*` [INFO] [stdout] --> src/btree/table/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use delete::*; [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: `utils::init_log` [INFO] [stdout] --> src/utils/other.rs:26:49 [INFO] [stdout] | [INFO] [stdout] 26 | pub use crate::{btree::tuple::small_int_schema, utils::init_log}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/concurrent_status.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 95 | panic!("acquire_lock timeout"); [INFO] [stdout] | ------------------------------ any code following this expression is unreachable [INFO] [stdout] 96 | [INFO] [stdout] 97 | return Err(SmallError::new("acquire lock timeout")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `btree::page::BTreePage` [INFO] [stdout] --> src/io.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | btree::page::BTreePage, error::SmallError, types::SmallResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/tx_log/log_manager.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | io::{Read, Seek, Write}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::Write` [INFO] [stdout] --> src/btree/table/delete.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | io::Write, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::prelude` [INFO] [stdout] --> src/utils/other.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | io::prelude::*, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `*self` which is behind a shared reference [INFO] [stdout] --> src/tx_log/log_manager.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 59 | vec![*self as u8] [INFO] [stdout] | ^^^^^ move occurs because `*self` has type `RecordType`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `RecordType` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/tx_log/log_manager.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | enum RecordType { [INFO] [stdout] | ^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] ... [INFO] [stdout] 59 | vec![*self as u8] [INFO] [stdout] | ----- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0507`. [INFO] [stdout] [INFO] [stderr] error: could not compile `small-db` (lib) due to 1 previous error; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "36c6cf66baee8341d2d860e0ee362bbc2c9d582aa422e9373948d0a7a0fb2628", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36c6cf66baee8341d2d860e0ee362bbc2c9d582aa422e9373948d0a7a0fb2628", kill_on_drop: false }` [INFO] [stdout] 36c6cf66baee8341d2d860e0ee362bbc2c9d582aa422e9373948d0a7a0fb2628