[INFO] cloning repository https://github.com/fifc/my2postgres [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fifc/my2postgres" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffifc%2Fmy2postgres", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffifc%2Fmy2postgres'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b413b36143a95e6428b27aad2c1507ccef96d1f4 [INFO] testing fifc/my2postgres against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffifc%2Fmy2postgres" "/workspace/builds/worker-23/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-23/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fifc/my2postgres on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fifc/my2postgres [INFO] finished tweaking git repo https://github.com/fifc/my2postgres [INFO] tweaked toml for git repo https://github.com/fifc/my2postgres written to /workspace/builds/worker-23/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 05f356d6580c4cb0a1ba25c577104c5510712aac86ea14e50622ae70c9a9563a [INFO] running `Command { std: "docker" "start" "-a" "05f356d6580c4cb0a1ba25c577104c5510712aac86ea14e50622ae70c9a9563a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "05f356d6580c4cb0a1ba25c577104c5510712aac86ea14e50622ae70c9a9563a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05f356d6580c4cb0a1ba25c577104c5510712aac86ea14e50622ae70c9a9563a", kill_on_drop: false }` [INFO] [stdout] 05f356d6580c4cb0a1ba25c577104c5510712aac86ea14e50622ae70c9a9563a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bfb2c726312b5b89c1e9d4efe480f6a59e7b3856c427b35c0d94b9bc40e6c8e6 [INFO] running `Command { std: "docker" "start" "-a" "bfb2c726312b5b89c1e9d4efe480f6a59e7b3856c427b35c0d94b9bc40e6c8e6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling frunk_core v0.4.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling bindgen v0.59.2 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling crossbeam-queue v0.3.5 [INFO] [stderr] Compiling rust_decimal v1.23.1 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling funty v1.2.0 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling num_threads v0.1.5 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling saturating v0.1.0 [INFO] [stderr] Compiling retain_mut v0.1.7 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling clang-sys v1.3.1 [INFO] [stderr] Compiling pem v1.0.2 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling lexical-util v0.8.3 [INFO] [stderr] Compiling wyz v0.4.0 [INFO] [stderr] Compiling cmake v0.1.48 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling libz-sys v1.1.5 [INFO] [stderr] Compiling crossbeam-channel v0.5.4 [INFO] [stderr] Compiling lexical-parse-integer v0.8.3 [INFO] [stderr] Compiling lexical-write-integer v0.8.3 [INFO] [stderr] Compiling bitvec v0.22.3 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling subprocess v0.2.8 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling time v0.3.9 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling lexical-parse-float v0.8.3 [INFO] [stderr] Compiling lexical-write-float v0.8.4 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling flate2 v1.0.23 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling crossbeam v0.8.1 [INFO] [stderr] Compiling lexical-core v0.8.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling lexical v6.1.0 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling lru v0.7.5 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling md-5 v0.10.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling twox-hash v1.6.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling postgres-protocol v0.6.3 [INFO] [stderr] Compiling frunk_proc_macro_helpers v0.1.0 [INFO] [stderr] Compiling postgres-types v0.2.2 [INFO] [stderr] Compiling bigdecimal v0.3.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling frunk_proc_macros_impl v0.1.0 [INFO] [stderr] Compiling frunk_derives v0.4.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling deadpool-runtime v0.1.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling frunk_proc_macros v0.1.0 [INFO] [stderr] Compiling frunk v0.4.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling deadpool v0.9.3 [INFO] [stderr] Compiling mysql_common v0.28.2 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling tokio-postgres v0.7.5 [INFO] [stderr] Compiling deadpool-postgres v0.10.2 [INFO] [stderr] Compiling mysql_async v0.29.0 [INFO] [stderr] Compiling my2pg v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> src/main.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `delay_for` in module `tokio::time` [INFO] [stdout] --> src/stream.rs:198:26 [INFO] [stdout] | [INFO] [stdout] 198 | tokio::time::delay_for(std::time::Duration::new(10, 0)).await; [INFO] [stdout] | ^^^^^^^^^ not found in `tokio::time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `deadpool::managed::Pool` in the current scope [INFO] [stdout] --> src/stream.rs:48:11 [INFO] [stdout] | [INFO] [stdout] 48 | Pool::new(mgr, 15) [INFO] [stdout] | ^^^ function or associated item not found in `deadpool::managed::Pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Opts: From` is not satisfied [INFO] [stdout] --> src/stream.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 57 | Ok(mysql_async::Pool::new(url)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ the trait `From` is not implemented for `Opts` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `std::string::String` [INFO] [stdout] = note: required because of the requirements on the impl of `TryFrom` for `Opts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `prep_exec` found for struct `Conn` in the current scope [INFO] [stdout] --> src/stream.rs:167:28 [INFO] [stdout] | [INFO] [stdout] 167 | let result = mysql.prep_exec(sql, ()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^ method not found in `Conn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `prep_exec` found for struct `Conn` in the current scope [INFO] [stdout] --> src/stream.rs:72:24 [INFO] [stdout] | [INFO] [stdout] 72 | let result = mysql.prep_exec(sql, ()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^ method not found in `Conn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `deadpool::managed::Pool` in the current scope [INFO] [stdout] --> src/my2pg.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | Pool::new(mgr, 15) [INFO] [stdout] | ^^^ function or associated item not found in `deadpool::managed::Pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mysql_async::prelude` [INFO] [stdout] --> src/stream.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use mysql_async::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/main.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | async fn main() -> Result<(),std::io::Error>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0433, E0599, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `my2pg` due to 9 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "bfb2c726312b5b89c1e9d4efe480f6a59e7b3856c427b35c0d94b9bc40e6c8e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfb2c726312b5b89c1e9d4efe480f6a59e7b3856c427b35c0d94b9bc40e6c8e6", kill_on_drop: false }` [INFO] [stdout] bfb2c726312b5b89c1e9d4efe480f6a59e7b3856c427b35c0d94b9bc40e6c8e6