[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] checking fifc/my2postgres against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffifc%2Fmy2postgres" "/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/fifc/my2postgres on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "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-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a79e15f9e8ef680f201af5cc8d014bab9711184acc98b564577f1bc2c228391b [INFO] running `Command { std: "docker" "start" "-a" "a79e15f9e8ef680f201af5cc8d014bab9711184acc98b564577f1bc2c228391b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a79e15f9e8ef680f201af5cc8d014bab9711184acc98b564577f1bc2c228391b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a79e15f9e8ef680f201af5cc8d014bab9711184acc98b564577f1bc2c228391b", kill_on_drop: false }` [INFO] [stdout] a79e15f9e8ef680f201af5cc8d014bab9711184acc98b564577f1bc2c228391b [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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff7bf7e20911be479ed15e71676e4a55687d1f03beaaaf01d9952bc6731e4ac2 [INFO] running `Command { std: "docker" "start" "-a" "ff7bf7e20911be479ed15e71676e4a55687d1f03beaaaf01d9952bc6731e4ac2", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Checking futures-sink v0.3.16 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Compiling frunk_core v0.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Checking cpufeatures v0.1.5 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Checking futures-io v0.3.16 [INFO] [stderr] Compiling bindgen v0.58.1 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling shlex v1.0.0 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Checking siphasher v0.3.6 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking funty v1.2.0 [INFO] [stderr] Checking sha1 v0.6.0 [INFO] [stderr] Checking saturating v0.1.0 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling tokio v1.9.0 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling clang-sys v1.2.0 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Compiling num-bigint v0.3.2 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling cmake v0.1.45 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Compiling num-bigint v0.4.0 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Checking wyz v0.4.0 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Checking ryu v1.0.5 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking tinyvec v1.3.1 [INFO] [stderr] Checking phf_shared v0.8.0 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking lexical-core v0.7.6 [INFO] [stderr] Checking pem v0.8.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking bitvec v0.22.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking lru v0.6.5 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling subprocess v0.2.7 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking twox-hash v1.6.0 [INFO] [stderr] Checking lexical v5.2.2 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.10.1 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking sha2 v0.9.5 [INFO] [stderr] Checking md-5 v0.9.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Checking postgres-protocol v0.6.1 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking postgres-types v0.2.1 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Checking tokio-util v0.6.7 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Compiling frunk_proc_macro_helpers v0.1.0 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling frunk_proc_macros_impl v0.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling frunk_derives v0.4.0 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Checking frunk_proc_macros v0.1.0 [INFO] [stderr] Checking frunk v0.4.0 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking thiserror v1.0.26 [INFO] [stderr] Checking pin-project v1.0.8 [INFO] [stderr] Compiling mysql_common v0.27.4 [INFO] [stderr] Checking futures-executor v0.3.16 [INFO] [stderr] Checking futures v0.3.16 [INFO] [stderr] Checking tokio-postgres v0.7.2 [INFO] [stderr] Checking serde v1.0.126 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rust_decimal v1.15.0 [INFO] [stderr] Checking bigdecimal v0.2.0 [INFO] [stderr] Checking config v0.11.0 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking deadpool v0.8.2 [INFO] [stderr] Checking deadpool-postgres v0.9.0 [INFO] [stderr] Checking mysql_async v0.28.0 [INFO] [stderr] Checking 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[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[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[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[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: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] 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[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: aborting due to 6 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 7 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "ff7bf7e20911be479ed15e71676e4a55687d1f03beaaaf01d9952bc6731e4ac2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff7bf7e20911be479ed15e71676e4a55687d1f03beaaaf01d9952bc6731e4ac2", kill_on_drop: false }` [INFO] [stdout] ff7bf7e20911be479ed15e71676e4a55687d1f03beaaaf01d9952bc6731e4ac2