[INFO] fetching crate bson 2.0.0... [INFO] checking bson-2.0.0 against try#8de4b308b608cded0ebccf658a0fc719bce87d4e for pr-89056 [INFO] extracting crate bson 2.0.0 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate bson 2.0.0 on toolchain 8de4b308b608cded0ebccf658a0fc719bce87d4e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bson 2.0.0 [INFO] finished tweaking crates.io crate bson 2.0.0 [INFO] tweaked toml for crates.io crate bson 2.0.0 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate crates.io crate bson 2.0.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 28df1add85e5fc802535866fbd491b605fd2b14607e55760c1ff7cf63a5b4de5 [INFO] running `Command { std: "docker" "start" "-a" "28df1add85e5fc802535866fbd491b605fd2b14607e55760c1ff7cf63a5b4de5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "28df1add85e5fc802535866fbd491b605fd2b14607e55760c1ff7cf63a5b4de5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28df1add85e5fc802535866fbd491b605fd2b14607e55760c1ff7cf63a5b4de5", kill_on_drop: false }` [INFO] [stdout] 28df1add85e5fc802535866fbd491b605fd2b14607e55760c1ff7cf63a5b4de5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f0f5468ffad8afab456aaf9bcc49e17fde776b440704565711eb2e1cccd41949 [INFO] running `Command { std: "docker" "start" "-a" "f0f5468ffad8afab456aaf9bcc49e17fde776b440704565711eb2e1cccd41949", kill_on_drop: false }` [INFO] [stderr] Compiling serde_json v1.0.67 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking pretty_assertions v0.6.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Checking serde v1.0.130 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking serde_bytes v0.11.5 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking bson v2.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `tests` [INFO] [stdout] --> src/lib.rs:337:1 [INFO] [stdout] | [INFO] [stdout] 337 | 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: 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:544:17 [INFO] [stdout] | [INFO] [stdout] 544 | / doc! { [INFO] [stdout] 545 | | "$regularExpression": { [INFO] [stdout] 546 | | "pattern": pattern, [INFO] [stdout] 547 | | "options": options, [INFO] [stdout] 548 | | } [INFO] [stdout] 549 | | } [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:563:17 [INFO] [stdout] | [INFO] [stdout] 563 | / doc! { [INFO] [stdout] 564 | | "$timestamp": { [INFO] [stdout] 565 | | "t": time, [INFO] [stdout] 566 | | "i": increment, [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:572:17 [INFO] [stdout] | [INFO] [stdout] 572 | / doc! { [INFO] [stdout] 573 | | "$binary": { [INFO] [stdout] 574 | | "base64": base64::encode(bytes), [INFO] [stdout] 575 | | "subType": hex::encode([tval]), [INFO] [stdout] 576 | | } [INFO] [stdout] 577 | | } [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:589:34 [INFO] [stdout] | [INFO] [stdout] 589 | Bson::DateTime(v) => doc! { [INFO] [stdout] | __________________________________- [INFO] [stdout] 590 | | "$date": { "$numberLong": v.timestamp_millis().to_string() }, [INFO] [stdout] 591 | | }, [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:616:17 [INFO] [stdout] | [INFO] [stdout] 616 | / doc! { [INFO] [stdout] 617 | | "$dbPointer": { [INFO] [stdout] 618 | | "$ref": namespace, [INFO] [stdout] 619 | | "$id": { [INFO] [stdout] ... | [INFO] [stdout] 622 | | } [INFO] [stdout] 623 | | } [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:616:17 [INFO] [stdout] | [INFO] [stdout] 616 | / doc! { [INFO] [stdout] 617 | | "$dbPointer": { [INFO] [stdout] 618 | | "$ref": namespace, [INFO] [stdout] 619 | | "$id": { [INFO] [stdout] ... | [INFO] [stdout] 622 | | } [INFO] [stdout] 623 | | } [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:544:17 [INFO] [stdout] | [INFO] [stdout] 544 | / doc! { [INFO] [stdout] 545 | | "$regularExpression": { [INFO] [stdout] 546 | | "pattern": pattern, [INFO] [stdout] 547 | | "options": options, [INFO] [stdout] 548 | | } [INFO] [stdout] 549 | | } [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:563:17 [INFO] [stdout] | [INFO] [stdout] 563 | / doc! { [INFO] [stdout] 564 | | "$timestamp": { [INFO] [stdout] 565 | | "t": time, [INFO] [stdout] 566 | | "i": increment, [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:572:17 [INFO] [stdout] | [INFO] [stdout] 572 | / doc! { [INFO] [stdout] 573 | | "$binary": { [INFO] [stdout] 574 | | "base64": base64::encode(bytes), [INFO] [stdout] 575 | | "subType": hex::encode([tval]), [INFO] [stdout] 576 | | } [INFO] [stdout] 577 | | } [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:589:34 [INFO] [stdout] | [INFO] [stdout] 589 | Bson::DateTime(v) => doc! { [INFO] [stdout] | __________________________________- [INFO] [stdout] 590 | | "$date": { "$numberLong": v.timestamp_millis().to_string() }, [INFO] [stdout] 591 | | }, [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:616:17 [INFO] [stdout] | [INFO] [stdout] 616 | / doc! { [INFO] [stdout] 617 | | "$dbPointer": { [INFO] [stdout] 618 | | "$ref": namespace, [INFO] [stdout] 619 | | "$id": { [INFO] [stdout] ... | [INFO] [stdout] 622 | | } [INFO] [stdout] 623 | | } [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:616:17 [INFO] [stdout] | [INFO] [stdout] 616 | / doc! { [INFO] [stdout] 617 | | "$dbPointer": { [INFO] [stdout] 618 | | "$ref": namespace, [INFO] [stdout] 619 | | "$id": { [INFO] [stdout] ... | [INFO] [stdout] 622 | | } [INFO] [stdout] 623 | | } [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] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "f0f5468ffad8afab456aaf9bcc49e17fde776b440704565711eb2e1cccd41949", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0f5468ffad8afab456aaf9bcc49e17fde776b440704565711eb2e1cccd41949", kill_on_drop: false }` [INFO] [stdout] f0f5468ffad8afab456aaf9bcc49e17fde776b440704565711eb2e1cccd41949