[INFO] cloning repository https://github.com/Farteen/rust-crates-playing [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Farteen/rust-crates-playing" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFarteen%2Frust-crates-playing", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFarteen%2Frust-crates-playing'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 755edf2c1128cea4cf28c55bea660c8efc714f3f [INFO] testing Farteen/rust-crates-playing against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFarteen%2Frust-crates-playing" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Farteen/rust-crates-playing on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Farteen/rust-crates-playing [INFO] finished tweaking git repo https://github.com/Farteen/rust-crates-playing [INFO] tweaked toml for git repo https://github.com/Farteen/rust-crates-playing written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/Farteen/rust-crates-playing already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded trust-dns-resolver v0.18.1 [INFO] [stderr] Downloaded err-derive v0.2.2 [INFO] [stderr] Downloaded tokio v0.2.12 [INFO] [stderr] Downloaded trust-dns-proto v0.18.1 [INFO] [stderr] Downloaded mongodb v0.9.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "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] 75f1c4f238cdbd6ff1bc138e477bf844b13b4998ba74761e3bcc2066f0f72937 [INFO] running `Command { std: "docker" "start" "-a" "75f1c4f238cdbd6ff1bc138e477bf844b13b4998ba74761e3bcc2066f0f72937", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "75f1c4f238cdbd6ff1bc138e477bf844b13b4998ba74761e3bcc2066f0f72937", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75f1c4f238cdbd6ff1bc138e477bf844b13b4998ba74761e3bcc2066f0f72937", kill_on_drop: false }` [INFO] [stdout] 75f1c4f238cdbd6ff1bc138e477bf844b13b4998ba74761e3bcc2066f0f72937 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "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] 16f5ed66e2099dce769353e5369b84deb3554349545e1a43e20edc47827f31de [INFO] running `Command { std: "docker" "start" "-a" "16f5ed66e2099dce769353e5369b84deb3554349545e1a43e20edc47827f31de", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling smallvec v1.2.0 [INFO] [stderr] Compiling untrusted v0.7.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling regex-syntax v0.6.14 [INFO] [stderr] Compiling os_info v1.3.3 [INFO] [stderr] Compiling md5 v0.6.1 [INFO] [stderr] Compiling ring v0.16.11 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling aho-corasick v0.7.9 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling hostname v0.1.5 [INFO] [stderr] Compiling socket2 v0.3.11 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling backtrace v0.3.44 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling resolv-conf v0.6.2 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling sha2 v0.8.1 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling md-5 v0.8.0 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling chrono v0.4.10 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling regex v1.3.4 [INFO] [stderr] Compiling tokio v0.2.12 [INFO] [stderr] Compiling pbkdf2 v0.3.0 [INFO] [stderr] Compiling webpki v0.21.2 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling webpki-roots v0.18.0 [INFO] [stderr] Compiling rustls v0.16.0 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling derivative v1.0.3 [INFO] [stderr] Compiling typed-builder v0.3.0 [INFO] [stderr] Compiling rustversion v1.0.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling async-trait v0.1.24 [INFO] [stderr] Compiling enum-as-inner v0.3.1 [INFO] [stderr] Compiling serde_with_macros v1.1.0 [INFO] [stderr] Compiling proc-macro-error v0.4.9 [INFO] [stderr] Compiling err-derive v0.2.2 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.9 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling failure v0.1.6 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Compiling futures v0.3.4 [INFO] [stderr] Compiling trust-dns-proto v0.18.1 [INFO] [stderr] Compiling trust-dns-resolver v0.18.1 [INFO] [stderr] Compiling serde_json v1.0.48 [INFO] [stderr] Compiling serde_with v1.4.0 [INFO] [stderr] Compiling bson v0.14.0 [INFO] [stderr] Compiling mongodb v0.9.1 [INFO] [stderr] Compiling toy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this file contains an unclosed delimiter [INFO] [stdout] --> src/main.rs:39:3 [INFO] [stdout] | [INFO] [stdout] 25 | fn main() -> Result<(), Box> { [INFO] [stdout] | - unclosed delimiter [INFO] [stdout] ... [INFO] [stdout] 36 | for db_name in client.list_database_names(None)? { [INFO] [stdout] | - this delimiter might not be properly closed... [INFO] [stdout] ... [INFO] [stdout] 39 | } [INFO] [stdout] | - ^ [INFO] [stdout] | | [INFO] [stdout] | ...as it matches this but it has different indentation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Cursor` [INFO] [stdout] --> src/main.rs:1:47 [INFO] [stdout] | [INFO] [stdout] 1 | use mongodb::{Client, options::ClientOptions, Cursor}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | Ok(()) [INFO] [stdout] | ^^^^^^ expected `()`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `Result<(), _>` [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 38 | Ok(()); [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to return this value [INFO] [stdout] | [INFO] [stdout] 38 | return Ok(()); [INFO] [stdout] | ++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 25 | fn main() -> Result<(), Box> { [INFO] [stdout] | -------------------------- expected `Result<(), Box<(dyn StdError + 'static)>>` because of return type [INFO] [stdout] ... [INFO] [stdout] 36 | / for db_name in client.list_database_names(None)? { [INFO] [stdout] 37 | | println!("{}", db_name); [INFO] [stdout] 38 | | Ok(()) [INFO] [stdout] 39 | | } [INFO] [stdout] | |_^ expected enum `Result`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), Box<(dyn StdError + 'static)>>` [INFO] [stdout] found unit type `()` [INFO] [stdout] help: try wrapping the expression in `serde::export::Ok` [INFO] [stdout] | [INFO] [stdout] 36 ~ serde::export::Ok(for db_name in client.list_database_names(None)? { [INFO] [stdout] 37 | println!("{}", db_name); [INFO] [stdout] 38 | Ok(()) [INFO] [stdout] 39 ~ }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `toy` due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "16f5ed66e2099dce769353e5369b84deb3554349545e1a43e20edc47827f31de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16f5ed66e2099dce769353e5369b84deb3554349545e1a43e20edc47827f31de", kill_on_drop: false }` [INFO] [stdout] 16f5ed66e2099dce769353e5369b84deb3554349545e1a43e20edc47827f31de