[INFO] updating cached repository https://github.com/Farteen/rust-crates-playing [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 755edf2c1128cea4cf28c55bea660c8efc714f3f [INFO] testing Farteen/rust-crates-playing against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFarteen%2Frust-crates-playing" "/workspace/builds/worker-8/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Farteen/rust-crates-playing on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [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-8/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 `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a04779a8ffe612299128ff141aacc002dfa367fbe8c88c7bceda365d307bc402 [INFO] running `"docker" "start" "-a" "a04779a8ffe612299128ff141aacc002dfa367fbe8c88c7bceda365d307bc402"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling futures-sink v0.3.4 [INFO] [stderr] Compiling futures-core v0.3.4 [INFO] [stderr] Compiling ring v0.16.11 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling aho-corasick v0.7.9 [INFO] [stderr] Compiling derivative v1.0.3 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling socket2 v0.3.11 [INFO] [stderr] Compiling hostname v0.1.5 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling backtrace v0.3.44 [INFO] [stderr] Compiling resolv-conf v0.6.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling regex v1.3.4 [INFO] [stderr] Compiling chrono v0.4.10 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.3 [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 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 failure v0.1.6 [INFO] [stderr] Compiling futures-macro v0.3.4 [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 serde v1.0.104 [INFO] [stderr] Compiling trust-dns-resolver v0.18.1 [INFO] [stderr] Compiling serde_json v1.0.48 [INFO] [stderr] Compiling os_info v1.3.3 [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] [stderr] error: this file contains an unclosed delimiter [INFO] [stderr] --> src/main.rs:39:3 [INFO] [stderr] | [INFO] [stderr] 25 | fn main() -> Result<(), Box> { [INFO] [stderr] | - unclosed delimiter [INFO] [stderr] ... [INFO] [stderr] 36 | for db_name in client.list_database_names(None)? { [INFO] [stderr] | - this delimiter might not be properly closed... [INFO] [stderr] ... [INFO] [stderr] 39 | } [INFO] [stderr] | - ^ [INFO] [stderr] | | [INFO] [stderr] | ...as it matches this but it has different indentation [INFO] [stderr] [INFO] [stderr] warning: unused import: `Cursor` [INFO] [stderr] --> src/main.rs:1:47 [INFO] [stderr] | [INFO] [stderr] 1 | use mongodb::{Client, options::ClientOptions, Cursor}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 38 | Ok(()) [INFO] [stderr] | ^^^^^^- help: try adding a semicolon: `;` [INFO] [stderr] | | [INFO] [stderr] | expected `()`, found enum `std::result::Result` [INFO] [stderr] | [INFO] [stderr] = note: expected unit type `()` [INFO] [stderr] found enum `std::result::Result<(), _>` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 25 | fn main() -> Result<(), Box> { [INFO] [stderr] | -------------------------- expected `std::result::Result<(), std::boxed::Box<(dyn std::error::Error + 'static)>>` because of return type [INFO] [stderr] ... [INFO] [stderr] 36 | / for db_name in client.list_database_names(None)? { [INFO] [stderr] 37 | | println!("{}", db_name); [INFO] [stderr] 38 | | Ok(()) [INFO] [stderr] 39 | | } [INFO] [stderr] | |_^ expected enum `std::result::Result`, found `()` [INFO] [stderr] | [INFO] [stderr] = note: expected enum `std::result::Result<(), std::boxed::Box<(dyn std::error::Error + 'static)>>` [INFO] [stderr] found unit type `()` [INFO] [stderr] help: try using a variant of the expected enum [INFO] [stderr] | [INFO] [stderr] 36 | serde::export::Ok(for db_name in client.list_database_names(None)? { [INFO] [stderr] 37 | println!("{}", db_name); [INFO] [stderr] 38 | Ok(()) [INFO] [stderr] 39 | }) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `toy`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "a04779a8ffe612299128ff141aacc002dfa367fbe8c88c7bceda365d307bc402"` [INFO] running `"docker" "rm" "-f" "a04779a8ffe612299128ff141aacc002dfa367fbe8c88c7bceda365d307bc402"` [INFO] [stdout] a04779a8ffe612299128ff141aacc002dfa367fbe8c88c7bceda365d307bc402