[INFO] cloning repository https://github.com/bluseking/fast-insert-one-billion-random-rows-with-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bluseking/fast-insert-one-billion-random-rows-with-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbluseking%2Ffast-insert-one-billion-random-rows-with-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbluseking%2Ffast-insert-one-billion-random-rows-with-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b6671ce9401dbeff164c18b65e21bca0e2d40386 [INFO] checking bluseking/fast-insert-one-billion-random-rows-with-rust against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbluseking%2Ffast-insert-one-billion-random-rows-with-rust" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bluseking/fast-insert-one-billion-random-rows-with-rust 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/bluseking/fast-insert-one-billion-random-rows-with-rust [INFO] finished tweaking git repo https://github.com/bluseking/fast-insert-one-billion-random-rows-with-rust [INFO] tweaked toml for git repo https://github.com/bluseking/fast-insert-one-billion-random-rows-with-rust written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/bluseking/fast-insert-one-billion-random-rows-with-rust 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] Downloading crates ... [INFO] [stderr] Downloaded vcpkg v0.2.12 [INFO] [stderr] Downloaded sqlformat v0.1.6 [INFO] [stderr] Downloaded openssl v0.10.34 [INFO] [stderr] Downloaded build_const v0.2.2 [INFO] [stderr] Downloaded whoami v1.1.2 [INFO] [stderr] Downloaded sha2 v0.9.4 [INFO] [stderr] Downloaded sqlx-macros v0.5.2 [INFO] [stderr] Downloaded sqlx v0.5.2 [INFO] [stderr] Downloaded sqlx-core v0.5.2 [INFO] [stderr] Downloaded openssl-sys v0.9.63 [INFO] [stderr] Downloaded sqlx-rt v0.5.2 [INFO] [stderr] Downloaded cpufeatures v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] eadc02710f6a9199acc52b05b076fd40b11fda101562ebf079c8a9e0118c3587 [INFO] running `Command { std: "docker" "start" "-a" "eadc02710f6a9199acc52b05b076fd40b11fda101562ebf079c8a9e0118c3587", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eadc02710f6a9199acc52b05b076fd40b11fda101562ebf079c8a9e0118c3587", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eadc02710f6a9199acc52b05b076fd40b11fda101562ebf079c8a9e0118c3587", kill_on_drop: false }` [INFO] [stdout] eadc02710f6a9199acc52b05b076fd40b11fda101562ebf079c8a9e0118c3587 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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] 2df4d33ea8ed7445c2d40d48d35a02a7c383d4371016fedfda8595fb0c3f2ec1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2df4d33ea8ed7445c2d40d48d35a02a7c383d4371016fedfda8595fb0c3f2ec1", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] digest v0.9.0: alloc, std [INFO] [stderr] futures-sink v0.3.14: alloc, std [INFO] [stderr] futures-util v0.3.14: channel, futures-channel, futures-io, io, memchr [INFO] [stderr] getrandom v0.2.2 (as host dependency): std [INFO] [stderr] libsqlite3-sys v0.22.2 (as host dependency): default, min_sqlite_version_3_6_8 [INFO] [stderr] sha2 v0.9.4: default, std [INFO] [stderr] syn v1.0.72 (as host dependency): visit [INFO] [stderr] tokio v1.5.0: winapi [INFO] [stderr] tokio v1.5.0 (as host dependency): full, io-std, macros, once_cell, parking_lot, process, signal, signal-hook-registry, tokio-macros, winapi [INFO] [stderr] [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling futures-core v0.3.14 [INFO] [stderr] Compiling build_const v0.2.2 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling whoami v1.1.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling futures-sink v0.3.14 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling futures-task v0.3.14 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling futures-io v0.3.14 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling cpufeatures v0.1.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling openssl-sys v0.9.63 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling libsqlite3-sys v0.22.2 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling futures-channel v0.3.14 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling ahash v0.7.2 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking hashlink v0.6.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking bitvec v0.19.5 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Checking getrandom v0.2.2 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Compiling openssl v0.10.34 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Compiling crossbeam-queue v0.3.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking atoi v0.4.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Compiling sha2 v0.9.4 [INFO] [stderr] Checking hashlink v0.7.0 [INFO] [stderr] Checking sqlformat v0.1.6 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Checking rusqlite v0.25.3 [INFO] [stderr] Compiling futures-util v0.3.14 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling futures-executor v0.3.14 [INFO] [stderr] Compiling futures v0.3.14 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking tokio-stream v0.1.5 [INFO] [stderr] Checking sqlx-rt v0.5.2 [INFO] [stderr] Checking sqlx-core v0.5.2 [INFO] [stderr] Compiling sqlx-macros v0.5.2 [INFO] [stderr] Checking sqlx v0.5.2 [INFO] [stderr] Checking fast-sqlite3-inserts v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/bin/basic_prep.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/basic_async.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/threaded_str_batched.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/basic_batched_wp.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/basic_batched.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/threaded_busy.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/threaded_batched.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/common.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/basic.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/busy.rs from 2018 edition to 2021 [INFO] [stdout] error[E0601]: `main` function not found in crate `common` [INFO] [stdout] --> src/bin/common.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use rand::prelude::SliceRandom; [INFO] [stdout] 2 | | use rand::Rng; [INFO] [stdout] 3 | | [INFO] [stdout] 4 | | pub fn get_random_age() -> i8 { [INFO] [stdout] ... | [INFO] [stdout] 22 | | format!("{:06}", rng.gen_range(0..999999)) [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ consider adding a `main` function to `src/bin/common.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fast-sqlite3-inserts` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [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" "2df4d33ea8ed7445c2d40d48d35a02a7c383d4371016fedfda8595fb0c3f2ec1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2df4d33ea8ed7445c2d40d48d35a02a7c383d4371016fedfda8595fb0c3f2ec1", kill_on_drop: false }` [INFO] [stdout] 2df4d33ea8ed7445c2d40d48d35a02a7c383d4371016fedfda8595fb0c3f2ec1