[INFO] cloning repository https://github.com/duskoo/rust-db-performance [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/duskoo/rust-db-performance" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fduskoo%2Frust-db-performance", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fduskoo%2Frust-db-performance'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7cc3774086533094a1c73a4d2439fd29915efb8e [INFO] checking duskoo/rust-db-performance against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fduskoo%2Frust-db-performance" "/workspace/builds/worker-25/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-25/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/duskoo/rust-db-performance on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/duskoo/rust-db-performance [INFO] finished tweaking git repo https://github.com/duskoo/rust-db-performance [INFO] tweaked toml for git repo https://github.com/duskoo/rust-db-performance written to /workspace/builds/worker-25/source/Cargo.toml [INFO] crate git repo https://github.com/duskoo/rust-db-performance already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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 persy v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6aa1efa9b73f57c9960946d1e9786110284a77bd701fa5d96904280b4f1c9d22 [INFO] running `Command { std: "docker" "start" "-a" "6aa1efa9b73f57c9960946d1e9786110284a77bd701fa5d96904280b4f1c9d22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6aa1efa9b73f57c9960946d1e9786110284a77bd701fa5d96904280b4f1c9d22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6aa1efa9b73f57c9960946d1e9786110284a77bd701fa5d96904280b4f1c9d22", kill_on_drop: false }` [INFO] [stdout] 6aa1efa9b73f57c9960946d1e9786110284a77bd701fa5d96904280b4f1c9d22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9358f798db1e89c4a9722db77239316da559af77210fb45c93ceccbf6b713c34 [INFO] running `Command { std: "docker" "start" "-a" "9358f798db1e89c4a9722db77239316da559af77210fb45c93ceccbf6b713c34", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling build_const v0.2.1 [INFO] [stderr] Compiling cc v1.0.56 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Checking unsigned-varint v0.3.3 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking smallvec v1.4.0 [INFO] [stderr] Checking data-encoding v2.2.1 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling libsqlite3-sys v0.18.0 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking persy v0.9.0 [INFO] [stderr] Checking rusqlite v0.23.1 [INFO] [stderr] Checking db_testing v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/sqlite_benchmark.rs (5 fixes) [INFO] [stdout] warning: function is never used: `insert` [INFO] [stdout] --> src/sqlite_benchmark.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn insert(conn: &Connection) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sqlite_insert_multiple` [INFO] [stdout] --> src/sqlite_benchmark.rs:70:4 [INFO] [stdout] | [INFO] [stdout] 70 | fn sqlite_insert_multiple(conn: &Connection) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sqlite_examine` [INFO] [stdout] --> src/sqlite_benchmark.rs:76:4 [INFO] [stdout] | [INFO] [stdout] 76 | fn sqlite_examine(conn: &Connection) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `temp_db` [INFO] [stdout] --> src/sqlite_benchmark.rs:127:4 [INFO] [stdout] | [INFO] [stdout] 127 | fn temp_db(name: &str, test: T) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instant` [INFO] [stdout] --> src/sqlite_benchmark.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | let now = Instant::now(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 7 | use crate::tests::Instant; [INFO] [stdout] | [INFO] [stdout] 7 | use std::time::Instant; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instant` [INFO] [stdout] --> src/sqlite_benchmark.rs:61:15 [INFO] [stdout] | [INFO] [stdout] 61 | let now = Instant::now(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 7 | use crate::tests::Instant; [INFO] [stdout] | [INFO] [stdout] 7 | use std::time::Instant; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bencher` in this scope [INFO] [stdout] --> src/sqlite_benchmark.rs:90:30 [INFO] [stdout] | [INFO] [stdout] 90 | fn bench_load_sqlite(b: &mut Bencher) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 7 | use crate::tests::Bencher; [INFO] [stdout] | [INFO] [stdout] 7 | use test::Bencher; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instant` [INFO] [stdout] --> src/sqlite_benchmark.rs:115:15 [INFO] [stdout] | [INFO] [stdout] 115 | let now = Instant::now(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 7 | use crate::tests::Instant; [INFO] [stdout] | [INFO] [stdout] 7 | use std::time::Instant; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bencher` in this scope [INFO] [stdout] --> src/sqlite_benchmark.rs:122:30 [INFO] [stdout] | [INFO] [stdout] 122 | fn bench_sqlite_save(b: &mut Bencher) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 7 | use crate::tests::Bencher; [INFO] [stdout] | [INFO] [stdout] 7 | use test::Bencher; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PersyError` [INFO] [stdout] --> src/main.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | use persy::{Persy, PersyError, PersyId, Value, ValueMode}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `db_testing` due to 6 previous errors; 1 warning emitted [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "9358f798db1e89c4a9722db77239316da559af77210fb45c93ceccbf6b713c34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9358f798db1e89c4a9722db77239316da559af77210fb45c93ceccbf6b713c34", kill_on_drop: false }` [INFO] [stdout] 9358f798db1e89c4a9722db77239316da559af77210fb45c93ceccbf6b713c34