[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-2021-01-01 for beta-1.50-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffifc%2Fmy2postgres" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fifc/my2postgres on toolchain beta-2021-01-01 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-01-01" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fifc/my2postgres [INFO] removed workspace from 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-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-01-01" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-01-01" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hmac v0.10.1 [INFO] [stderr] Downloaded fallible-iterator v0.2.0 [INFO] [stderr] Downloaded bytes v1.0.0 [INFO] [stderr] Downloaded twox-hash v1.6.0 [INFO] [stderr] Downloaded tokio-util v0.6.0 [INFO] [stderr] Downloaded postgres-protocol v0.6.0 [INFO] [stderr] Downloaded ahash v0.2.19 [INFO] [stderr] Downloaded crossbeam-queue v0.3.1 [INFO] [stderr] Downloaded deadpool v0.7.0 [INFO] [stderr] Downloaded smallvec v1.6.0 [INFO] [stderr] Downloaded deadpool-postgres v0.7.0 [INFO] [stderr] Downloaded bigdecimal v0.1.2 [INFO] [stderr] Downloaded tokio-stream v0.1.1 [INFO] [stderr] Downloaded lexical v5.2.0 [INFO] [stderr] Downloaded libz-sys v1.1.2 [INFO] [stderr] Downloaded mysql_common v0.24.1 [INFO] [stderr] Downloaded hashbrown v0.6.3 [INFO] [stderr] Downloaded postgres-types v0.2.0 [INFO] [stderr] Downloaded tokio v1.0.1 [INFO] [stderr] Downloaded yaml-rust v0.4.5 [INFO] [stderr] Downloaded rust_decimal v1.9.0 [INFO] [stderr] Downloaded mio v0.7.7 [INFO] [stderr] Downloaded lru v0.5.3 [INFO] [stderr] Downloaded mysql_async v0.25.0 [INFO] [stderr] Downloaded tokio-postgres v0.7.0 [INFO] [stderr] Downloaded crypto-mac v0.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 699d2ade65db86805b78869ad40bf8c8de1f386614bc53b64e72f81cd77e8a24 [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" "699d2ade65db86805b78869ad40bf8c8de1f386614bc53b64e72f81cd77e8a24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "699d2ade65db86805b78869ad40bf8c8de1f386614bc53b64e72f81cd77e8a24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "699d2ade65db86805b78869ad40bf8c8de1f386614bc53b64e72f81cd77e8a24", kill_on_drop: false }` [INFO] [stdout] 699d2ade65db86805b78869ad40bf8c8de1f386614bc53b64e72f81cd77e8a24 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "build" "--frozen" "--message-format=json", 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] 37ce0e8e2a391c05cf109f2cdd84deb1ce0032b161a4e72f76631480ee0524c1 [INFO] running `Command { std: "docker" "start" "-a" "37ce0e8e2a391c05cf109f2cdd84deb1ce0032b161a4e72f76631480ee0524c1", kill_on_drop: false }` [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling mio-named-pipes v0.1.7 [INFO] [stderr] Compiling tokio v1.0.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling standback v0.2.14 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Compiling time v0.2.23 [INFO] [stderr] Compiling futures-channel v0.3.8 [INFO] [stderr] Compiling getrandom v0.2.1 [INFO] [stderr] Compiling parking_lot_core v0.8.2 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling mio v0.7.7 [INFO] [stderr] Compiling lexical-core v0.7.4 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling openssl v0.10.32 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling rand_core v0.6.1 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling sha2 v0.9.2 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling tokio v0.2.24 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling futures-util v0.3.8 [INFO] [stderr] Compiling twox-hash v1.6.0 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling rand v0.8.1 [INFO] [stderr] Compiling flate2 v1.0.19 [INFO] [stderr] Compiling crossbeam-queue v0.3.1 [INFO] [stderr] Compiling const-random-macro v0.1.13 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling lexical v5.2.0 [INFO] [stderr] Compiling postgres-protocol v0.6.0 [INFO] [stderr] Compiling const-random v0.1.13 [INFO] [stderr] Compiling ahash v0.2.19 [INFO] [stderr] Compiling postgres-types v0.2.0 [INFO] [stderr] Compiling thiserror v1.0.23 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling hashbrown v0.6.3 [INFO] [stderr] Compiling lru v0.5.3 [INFO] [stderr] Compiling tokio-stream v0.1.1 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling futures-executor v0.3.8 [INFO] [stderr] Compiling tokio-util v0.6.0 [INFO] [stderr] Compiling futures v0.3.8 [INFO] [stderr] Compiling tokio-postgres v0.7.0 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling bigdecimal v0.1.2 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling config v0.10.1 [INFO] [stderr] Compiling rust_decimal v1.9.0 [INFO] [stderr] Compiling deadpool v0.7.0 [INFO] [stderr] Compiling deadpool-postgres v0.7.0 [INFO] [stderr] Compiling mysql_common v0.24.1 [INFO] [stderr] Compiling mysql_async v0.25.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[E0277]: `main` has invalid return type `impl futures::Future` [INFO] [stdout] --> src/main.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | async fn main() -> Result<(),std::io::Error>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ `main` can only return types that implement `Termination` [INFO] [stdout] | [INFO] [stdout] = help: consider using `()`, or a `Result` [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 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[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> src/stream.rs:162:14 [INFO] [stdout] | [INFO] [stdout] 162 | for i in 0..1000 { [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> src/stream.rs:168:26 [INFO] [stdout] | [INFO] [stdout] 168 | let (_, _rows) = result.map_and_drop(|row| { [INFO] [stdout] | __________________________^ [INFO] [stdout] 169 | | let n:i64 = row.get(0).unwrap(); [INFO] [stdout] 170 | | total += n; [INFO] [stdout] 171 | | println!("{:#?}\t{:#?}", n, total); [INFO] [stdout] 172 | | n [INFO] [stdout] 173 | | }).await.unwrap(); [INFO] [stdout] | |________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> src/stream.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | for i in 0..1000 { [INFO] [stdout] | ^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> src/stream.rs:168:26 [INFO] [stdout] | [INFO] [stdout] 168 | let (_, _rows) = result.map_and_drop(|row| { [INFO] [stdout] | __________________________^ [INFO] [stdout] 169 | | let n:i64 = row.get(0).unwrap(); [INFO] [stdout] 170 | | total += n; [INFO] [stdout] 171 | | println!("{:#?}\t{:#?}", n, total); [INFO] [stdout] 172 | | n [INFO] [stdout] 173 | | }).await.unwrap(); [INFO] [stdout] | |________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> src/stream.rs:162:14 [INFO] [stdout] | [INFO] [stdout] 162 | for i in 0..1000 { [INFO] [stdout] | ^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> src/stream.rs:168:26 [INFO] [stdout] | [INFO] [stdout] 168 | let (_, _rows) = result.map_and_drop(|row| { [INFO] [stdout] | __________________________^ [INFO] [stdout] 169 | | let n:i64 = row.get(0).unwrap(); [INFO] [stdout] 170 | | total += n; [INFO] [stdout] 171 | | println!("{:#?}\t{:#?}", n, total); [INFO] [stdout] 172 | | n [INFO] [stdout] 173 | | }).await.unwrap(); [INFO] [stdout] | |________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> src/stream.rs:162:14 [INFO] [stdout] | [INFO] [stdout] 162 | for i in 0..1000 { [INFO] [stdout] | ^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> src/stream.rs:168:26 [INFO] [stdout] | [INFO] [stdout] 168 | let (_, _rows) = result.map_and_drop(|row| { [INFO] [stdout] | __________________________^ [INFO] [stdout] 169 | | let n:i64 = row.get(0).unwrap(); [INFO] [stdout] 170 | | total += n; [INFO] [stdout] 171 | | println!("{:#?}\t{:#?}", n, total); [INFO] [stdout] 172 | | n [INFO] [stdout] 173 | | }).await.unwrap(); [INFO] [stdout] | |________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> src/stream.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | for i in 0..1000 { [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> src/stream.rs:168:26 [INFO] [stdout] | [INFO] [stdout] 168 | let (_, _rows) = result.map_and_drop(|row| { [INFO] [stdout] | __________________________^ [INFO] [stdout] 169 | | let n:i64 = row.get(0).unwrap(); [INFO] [stdout] 170 | | total += n; [INFO] [stdout] 171 | | println!("{:#?}\t{:#?}", n, total); [INFO] [stdout] 172 | | n [INFO] [stdout] 173 | | }).await.unwrap(); [INFO] [stdout] | |________________^ [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 11 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0433, E0599, E0698, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `my2pg` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "37ce0e8e2a391c05cf109f2cdd84deb1ce0032b161a4e72f76631480ee0524c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37ce0e8e2a391c05cf109f2cdd84deb1ce0032b161a4e72f76631480ee0524c1", kill_on_drop: false }` [INFO] [stdout] 37ce0e8e2a391c05cf109f2cdd84deb1ce0032b161a4e72f76631480ee0524c1