[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] checking Osama530/rm-todo against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOsama530%2Frm-todo" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Osama530/rm-todo on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-4/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bson v0.14.1 [INFO] [stderr] Downloaded enum-as-inner v0.3.2 [INFO] [stderr] Downloaded futures-intrusive v0.3.1 [INFO] [stderr] Downloaded bson v1.0.0 [INFO] [stderr] Downloaded os_info v2.0.7 [INFO] [stderr] Downloaded mongodb v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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] 48a4824470d47309f4057efb7f53cb0a1b77c97f2b88d6dcbe7f752643d68180 [INFO] running `Command { std: "docker" "start" "-a" "48a4824470d47309f4057efb7f53cb0a1b77c97f2b88d6dcbe7f752643d68180", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "48a4824470d47309f4057efb7f53cb0a1b77c97f2b88d6dcbe7f752643d68180", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48a4824470d47309f4057efb7f53cb0a1b77c97f2b88d6dcbe7f752643d68180", kill_on_drop: false }` [INFO] [stdout] 48a4824470d47309f4057efb7f53cb0a1b77c97f2b88d6dcbe7f752643d68180 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 539875d8f6a459c7b2a561112fe2793024bcea80c42021157ffb36a1e0c30e8a [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" "539875d8f6a459c7b2a561112fe2793024bcea80c42021157ffb36a1e0c30e8a", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking gimli v0.22.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking subtle v1.0.0 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking object v0.20.0 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking md5 v0.6.1 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking futures-timer v2.0.2 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking hex v0.4.2 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Compiling hashbrown v0.8.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling indexmap v1.5.0 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking miniz_oxide v0.4.0 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking crossbeam-utils v0.7.2 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking os_info v2.0.7 [INFO] [stderr] Checking crossbeam-epoch v0.8.2 [INFO] [stderr] Checking crossbeam-channel v0.4.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking async-task v1.3.1 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking resolv-conf v0.6.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking addr2line v0.13.0 [INFO] [stderr] Checking pbkdf2 v0.3.0 [INFO] [stderr] Checking futures-intrusive v0.3.1 [INFO] [stderr] Checking chrono v0.4.13 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking md-5 v0.8.0 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking backtrace v0.3.50 [INFO] [stderr] Checking tokio v0.2.22 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking webpki v0.21.3 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking rustls v0.17.0 [INFO] [stderr] Checking webpki-roots v0.18.0 [INFO] [stderr] Checking tokio-rustls v0.13.1 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling typed-builder v0.3.0 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling rustversion v1.0.3 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling async-trait v0.1.36 [INFO] [stderr] Compiling enum-as-inner v0.3.2 [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 err-derive v0.2.4 [INFO] [stderr] Checking async-std v1.5.0 [INFO] [stderr] Checking thiserror v1.0.20 [INFO] [stderr] Checking pin-project v0.4.23 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking trust-dns-proto v0.19.5 [INFO] [stderr] Checking trust-dns-resolver v0.19.5 [INFO] [stderr] Checking serde_json v1.0.57 [INFO] [stderr] Checking serde_with v1.4.0 [INFO] [stderr] Checking bson v1.0.0 [INFO] [stderr] Checking bson v0.14.1 [INFO] [stderr] Checking mongodb v1.0.0 [INFO] [stderr] Checking rm-todo v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [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 type ascription [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] = note: `#![feature(type_ascription)]` lets you annotate an expression with a type: `: ` [INFO] [stdout] = note: see issue #23416 for more information [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] [stderr] warning: build failed, waiting for other jobs to finish... [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 type ascription [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] = note: `#![feature(type_ascription)]` lets you annotate an expression with a type: `: ` [INFO] [stdout] = note: see issue #23416 for more information [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: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "539875d8f6a459c7b2a561112fe2793024bcea80c42021157ffb36a1e0c30e8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "539875d8f6a459c7b2a561112fe2793024bcea80c42021157ffb36a1e0c30e8a", kill_on_drop: false }` [INFO] [stdout] 539875d8f6a459c7b2a561112fe2793024bcea80c42021157ffb36a1e0c30e8a