[INFO] cloning repository https://github.com/Osama530/rm-todo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Osama530/rm-todo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOsama530%2Frm-todo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOsama530%2Frm-todo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 577b035c1cd4fa57a4960aa5eeda0b0827de0543 [INFO] testing Osama530/rm-todo 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%2FOsama530%2Frm-todo" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Osama530/rm-todo 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/Osama530/rm-todo [INFO] finished tweaking git repo https://github.com/Osama530/rm-todo [INFO] tweaked toml for git repo https://github.com/Osama530/rm-todo written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/Osama530/rm-todo already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 42b714b70914b4af9661b15d0d843f0c5511f8893b34cec2717e7ae0dcb5f9c8 [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" "42b714b70914b4af9661b15d0d843f0c5511f8893b34cec2717e7ae0dcb5f9c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "42b714b70914b4af9661b15d0d843f0c5511f8893b34cec2717e7ae0dcb5f9c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42b714b70914b4af9661b15d0d843f0c5511f8893b34cec2717e7ae0dcb5f9c8", kill_on_drop: false }` [INFO] [stdout] 42b714b70914b4af9661b15d0d843f0c5511f8893b34cec2717e7ae0dcb5f9c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a02224a102bf9400a94ebdf32a6f4ccdbf899ff1cf19a1512d9af9170be615c [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" "5a02224a102bf9400a94ebdf32a6f4ccdbf899ff1cf19a1512d9af9170be615c", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling smallvec v1.4.1 [INFO] [stderr] Compiling rustversion v1.0.3 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling md5 v0.6.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling miniz_oxide v0.4.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling async-task v1.3.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling crossbeam-channel v0.4.3 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling async-trait v0.1.36 [INFO] [stderr] Compiling enum-as-inner v0.3.2 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling async-attributes v1.1.1 [INFO] [stderr] Compiling serde_with_macros v1.1.0 [INFO] [stderr] Compiling derivative v2.1.1 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling md-5 v0.8.0 [INFO] [stderr] Compiling pbkdf2 v0.3.0 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling backtrace v0.3.50 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling futures-intrusive v0.3.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling os_info v2.0.7 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling err-derive v0.2.4 [INFO] [stderr] Compiling async-std v1.5.0 [INFO] [stderr] Compiling chrono v0.4.13 [INFO] [stderr] Compiling webpki v0.21.3 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling rustls v0.17.0 [INFO] [stderr] Compiling webpki-roots v0.18.0 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling trust-dns-proto v0.19.5 [INFO] [stderr] Compiling typed-builder v0.3.0 [INFO] [stderr] Compiling tokio-rustls v0.13.1 [INFO] [stderr] Compiling trust-dns-resolver v0.19.5 [INFO] [stderr] Compiling serde_with v1.4.0 [INFO] [stderr] Compiling bson v1.0.0 [INFO] [stderr] Compiling bson v0.14.1 [INFO] [stderr] Compiling mongodb v1.0.0 [INFO] [stderr] Compiling rm-todo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected type, found `"oadfa"` [INFO] [stdout] --> src/main.rs:29:29 [INFO] [stdout] | [INFO] [stdout] 29 | let doc = bson!("name": "oadfa"); [INFO] [stdout] | - ^^^^^^^ expected type [INFO] [stdout] | | [INFO] [stdout] | tried to parse a type due to this [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/bson-1.0.0/src/macros.rs:183:6 [INFO] [stdout] | [INFO] [stdout] 183 | ($other:expr) => { [INFO] [stdout] | ----------- while parsing argument for this `expr` macro fragment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `key` in this scope [INFO] [stdout] --> src/main.rs:19:36 [INFO] [stdout] | [INFO] [stdout] 19 | let data_in_bson = data.insert(key: KT, val: BT); [INFO] [stdout] | ^^^ expecting a type here because of type ascription [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KT` in this scope [INFO] [stdout] --> src/main.rs:19:41 [INFO] [stdout] | [INFO] [stdout] 19 | let data_in_bson = data.insert(key: KT, val: BT); [INFO] [stdout] | ^^ expecting a type here because of type ascription [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `val` in this scope [INFO] [stdout] --> src/main.rs:19:45 [INFO] [stdout] | [INFO] [stdout] 19 | let data_in_bson = data.insert(key: KT, val: BT); [INFO] [stdout] | ^^^ expecting a type here because of type ascription [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BT` in this scope [INFO] [stdout] --> src/main.rs:19:50 [INFO] [stdout] | [INFO] [stdout] 19 | let data_in_bson = data.insert(key: KT, val: BT); [INFO] [stdout] | ^^ expecting a type here because of type ascription [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `doc` [INFO] [stdout] --> src/main.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use mongodb::bson::{doc, bson}; [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:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | coll.insert_one(data, None); [INFO] [stdout] | ^^^^ expected struct `mongodb::bson::Document`, found struct `OrderedDocument` [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: E0308, E0412, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rm-todo` due to 7 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "5a02224a102bf9400a94ebdf32a6f4ccdbf899ff1cf19a1512d9af9170be615c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a02224a102bf9400a94ebdf32a6f4ccdbf899ff1cf19a1512d9af9170be615c", kill_on_drop: false }` [INFO] [stdout] 5a02224a102bf9400a94ebdf32a6f4ccdbf899ff1cf19a1512d9af9170be615c