[INFO] fetching crate bson 2.0.0-beta.3... [INFO] checking bson-2.0.0-beta.3 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate bson 2.0.0-beta.3 into /workspace/builds/worker-18/source [INFO] validating manifest of crates.io crate bson 2.0.0-beta.3 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 crates.io crate bson 2.0.0-beta.3 [INFO] finished tweaking crates.io crate bson 2.0.0-beta.3 [INFO] tweaked toml for crates.io crate bson 2.0.0-beta.3 written to /workspace/builds/worker-18/source/Cargo.toml [INFO] crate crates.io crate bson 2.0.0-beta.3 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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] [stdout] b67b951da430a56f3ff18262211c1d278fb89da91b3c0ba2303b3827be6bf0de [INFO] running `Command { std: "docker" "start" "-a" "b67b951da430a56f3ff18262211c1d278fb89da91b3c0ba2303b3827be6bf0de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b67b951da430a56f3ff18262211c1d278fb89da91b3c0ba2303b3827be6bf0de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b67b951da430a56f3ff18262211c1d278fb89da91b3c0ba2303b3827be6bf0de", kill_on_drop: false }` [INFO] [stdout] b67b951da430a56f3ff18262211c1d278fb89da91b3c0ba2303b3827be6bf0de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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] 051d04f011cb7614fb026232d99b9568732724c59a68b91d308a1c3d6bb3358c [INFO] running `Command { std: "docker" "start" "-a" "051d04f011cb7614fb026232d99b9568732724c59a68b91d308a1c3d6bb3358c", 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] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] chrono v0.4.19: serde [INFO] [stderr] syn v1.0.74 (as host dependency): full [INFO] [stderr] [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking pretty_assertions v0.6.1 [INFO] [stderr] Checking ahash v0.7.4 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking serde_bytes v0.11.5 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking bson v2.0.0-beta.3 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:178:54 [INFO] [stdout] | [INFO] [stdout] 178 | $crate::Bson::Document($crate::doc!{$($tt)+}); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/bson.rs:535:17 [INFO] [stdout] | [INFO] [stdout] 535 | / doc! { [INFO] [stdout] 536 | | "$regularExpression": { [INFO] [stdout] 537 | | "pattern": pattern, [INFO] [stdout] 538 | | "options": options, [INFO] [stdout] 539 | | } [INFO] [stdout] 540 | | } [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `$crate::bson` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:178:54 [INFO] [stdout] | [INFO] [stdout] 178 | $crate::Bson::Document($crate::doc!{$($tt)+}); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/bson.rs:554:17 [INFO] [stdout] | [INFO] [stdout] 554 | / doc! { [INFO] [stdout] 555 | | "$timestamp": { [INFO] [stdout] 556 | | "t": time, [INFO] [stdout] 557 | | "i": increment, [INFO] [stdout] 558 | | } [INFO] [stdout] 559 | | } [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `$crate::bson` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:178:54 [INFO] [stdout] | [INFO] [stdout] 178 | $crate::Bson::Document($crate::doc!{$($tt)+}); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/bson.rs:563:17 [INFO] [stdout] | [INFO] [stdout] 563 | / doc! { [INFO] [stdout] 564 | | "$binary": { [INFO] [stdout] 565 | | "base64": base64::encode(bytes), [INFO] [stdout] 566 | | "subType": hex::encode([tval]), [INFO] [stdout] 567 | | } [INFO] [stdout] 568 | | } [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `$crate::bson` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:178:54 [INFO] [stdout] | [INFO] [stdout] 178 | $crate::Bson::Document($crate::doc!{$($tt)+}); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/bson.rs:580:34 [INFO] [stdout] | [INFO] [stdout] 580 | Bson::DateTime(v) => doc! { [INFO] [stdout] | __________________________________- [INFO] [stdout] 581 | | "$date": { "$numberLong": v.timestamp_millis().to_string() }, [INFO] [stdout] 582 | | }, [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `$crate::bson` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:178:54 [INFO] [stdout] | [INFO] [stdout] 178 | $crate::Bson::Document($crate::doc!{$($tt)+}); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/bson.rs:607:17 [INFO] [stdout] | [INFO] [stdout] 607 | / doc! { [INFO] [stdout] 608 | | "$dbPointer": { [INFO] [stdout] 609 | | "$ref": namespace, [INFO] [stdout] 610 | | "$id": { [INFO] [stdout] ... | [INFO] [stdout] 613 | | } [INFO] [stdout] 614 | | } [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `$crate::bson` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:178:54 [INFO] [stdout] | [INFO] [stdout] 178 | $crate::Bson::Document($crate::doc!{$($tt)+}); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/bson.rs:607:17 [INFO] [stdout] | [INFO] [stdout] 607 | / doc! { [INFO] [stdout] 608 | | "$dbPointer": { [INFO] [stdout] 609 | | "$ref": namespace, [INFO] [stdout] 610 | | "$id": { [INFO] [stdout] ... | [INFO] [stdout] 613 | | } [INFO] [stdout] 614 | | } [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `$crate::bson` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `tests` [INFO] [stdout] --> src/lib.rs:218:1 [INFO] [stdout] | [INFO] [stdout] 218 | mod tests; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `tests`, create file "src/tests.rs" or "src/tests/mod.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::tests::LOCK` [INFO] [stdout] --> src/oid.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | use crate::tests::LOCK; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no `LOCK` in `tests` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:178:54 [INFO] [stdout] | [INFO] [stdout] 178 | $crate::Bson::Document($crate::doc!{$($tt)+}); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/bson.rs:535:17 [INFO] [stdout] | [INFO] [stdout] 535 | / doc! { [INFO] [stdout] 536 | | "$regularExpression": { [INFO] [stdout] 537 | | "pattern": pattern, [INFO] [stdout] 538 | | "options": options, [INFO] [stdout] 539 | | } [INFO] [stdout] 540 | | } [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `$crate::bson` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:178:54 [INFO] [stdout] | [INFO] [stdout] 178 | $crate::Bson::Document($crate::doc!{$($tt)+}); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/bson.rs:554:17 [INFO] [stdout] | [INFO] [stdout] 554 | / doc! { [INFO] [stdout] 555 | | "$timestamp": { [INFO] [stdout] 556 | | "t": time, [INFO] [stdout] 557 | | "i": increment, [INFO] [stdout] 558 | | } [INFO] [stdout] 559 | | } [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `$crate::bson` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:178:54 [INFO] [stdout] | [INFO] [stdout] 178 | $crate::Bson::Document($crate::doc!{$($tt)+}); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/bson.rs:563:17 [INFO] [stdout] | [INFO] [stdout] 563 | / doc! { [INFO] [stdout] 564 | | "$binary": { [INFO] [stdout] 565 | | "base64": base64::encode(bytes), [INFO] [stdout] 566 | | "subType": hex::encode([tval]), [INFO] [stdout] 567 | | } [INFO] [stdout] 568 | | } [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `$crate::bson` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:178:54 [INFO] [stdout] | [INFO] [stdout] 178 | $crate::Bson::Document($crate::doc!{$($tt)+}); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/bson.rs:580:34 [INFO] [stdout] | [INFO] [stdout] 580 | Bson::DateTime(v) => doc! { [INFO] [stdout] | __________________________________- [INFO] [stdout] 581 | | "$date": { "$numberLong": v.timestamp_millis().to_string() }, [INFO] [stdout] 582 | | }, [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `$crate::bson` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:178:54 [INFO] [stdout] | [INFO] [stdout] 178 | $crate::Bson::Document($crate::doc!{$($tt)+}); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/bson.rs:607:17 [INFO] [stdout] | [INFO] [stdout] 607 | / doc! { [INFO] [stdout] 608 | | "$dbPointer": { [INFO] [stdout] 609 | | "$ref": namespace, [INFO] [stdout] 610 | | "$id": { [INFO] [stdout] ... | [INFO] [stdout] 613 | | } [INFO] [stdout] 614 | | } [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `$crate::bson` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:178:54 [INFO] [stdout] | [INFO] [stdout] 178 | $crate::Bson::Document($crate::doc!{$($tt)+}); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/bson.rs:607:17 [INFO] [stdout] | [INFO] [stdout] 607 | / doc! { [INFO] [stdout] 608 | | "$dbPointer": { [INFO] [stdout] 609 | | "$ref": namespace, [INFO] [stdout] 610 | | "$id": { [INFO] [stdout] ... | [INFO] [stdout] 613 | | } [INFO] [stdout] 614 | | } [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `$crate::bson` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bson` due to 3 previous errors; 6 warnings emitted [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" "051d04f011cb7614fb026232d99b9568732724c59a68b91d308a1c3d6bb3358c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "051d04f011cb7614fb026232d99b9568732724c59a68b91d308a1c3d6bb3358c", kill_on_drop: false }` [INFO] [stdout] 051d04f011cb7614fb026232d99b9568732724c59a68b91d308a1c3d6bb3358c