[INFO] fetching crate mongodb 1.2.0... [INFO] checking mongodb-1.2.0 against master#3e826bb11228508fbe749e594038d6727208aa94 for pr-82322 [INFO] extracting crate mongodb 1.2.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate mongodb 1.2.0 on toolchain 3e826bb11228508fbe749e594038d6727208aa94 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e826bb11228508fbe749e594038d6727208aa94" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate mongodb 1.2.0 [INFO] finished tweaking crates.io crate mongodb 1.2.0 [INFO] tweaked toml for crates.io crate mongodb 1.2.0 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e826bb11228508fbe749e594038d6727208aa94" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e826bb11228508fbe749e594038d6727208aa94" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+3e826bb11228508fbe749e594038d6727208aa94" "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] 0050b26fe8d27bfa7fc0788297df9a97caa7b65b01b9afdf6278ed96ae4e0faf [INFO] running `Command { std: "docker" "start" "-a" "0050b26fe8d27bfa7fc0788297df9a97caa7b65b01b9afdf6278ed96ae4e0faf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0050b26fe8d27bfa7fc0788297df9a97caa7b65b01b9afdf6278ed96ae4e0faf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0050b26fe8d27bfa7fc0788297df9a97caa7b65b01b9afdf6278ed96ae4e0faf", kill_on_drop: false }` [INFO] [stdout] 0050b26fe8d27bfa7fc0788297df9a97caa7b65b01b9afdf6278ed96ae4e0faf [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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+3e826bb11228508fbe749e594038d6727208aa94" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] c746caf53c41bad6da3c9d44a5feda29a7e84457900ce076bf80ca2b27f82d1a [INFO] running `Command { std: "docker" "start" "-a" "c746caf53c41bad6da3c9d44a5feda29a7e84457900ce076bf80ca2b27f82d1a", kill_on_drop: false }` [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Checking semver-parser v0.7.0 [INFO] [stderr] Checking ring v0.16.20 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking futures-util v0.3.13 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Checking semver v0.9.0 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Checking rustls v0.18.1 [INFO] [stderr] Checking rustls v0.17.0 [INFO] [stderr] Checking webpki-roots v0.20.0 [INFO] [stderr] Checking webpki-roots v0.18.0 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking futures-executor v0.3.13 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Checking futures v0.3.13 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking trust-dns-proto v0.19.6 [INFO] [stderr] Checking tokio-rustls v0.14.1 [INFO] [stderr] Checking tokio-rustls v0.13.1 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Checking trust-dns-resolver v0.19.6 [INFO] [stderr] Compiling function_name-proc-macro v0.2.0 [INFO] [stderr] Compiling derive_more v0.15.0 [INFO] [stderr] Checking function_name v0.2.0 [INFO] [stderr] Checking hyper v0.13.10 [INFO] [stderr] Checking hyper-rustls v0.21.0 [INFO] [stderr] Checking reqwest v0.10.10 [INFO] [stderr] Checking mongodb v1.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `test` [INFO] [stdout] --> src/lib.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | mod test; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `test`, create file "src/test.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/coll/options.rs:452:3 [INFO] [stdout] | [INFO] [stdout] 452 | #[serde(rename_all = "camelCase")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 453 | #[derive(Clone, Debug, Default, Deserialize, TypedBuilder, Serialize)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(legacy_derive_helpers)]` 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 #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test::run_spec_test` [INFO] [stdout] --> src/client/options/test.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | test::run_spec_test, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `run_spec_test` in `test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::test::EventClient`, `crate::test::TestClient`, `crate::test::CLIENT_OPTIONS`, `crate::test::LOCK` [INFO] [stdout] --> src/client/session/test.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | test::{EventClient, TestClient, CLIENT_OPTIONS, LOCK}, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^ no `LOCK` in `test` [INFO] [stdout] | | | | [INFO] [stdout] | | | no `CLIENT_OPTIONS` in `test` [INFO] [stdout] | | no `TestClient` in `test` [INFO] [stdout] | no `EventClient` in `test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test::RunOn` [INFO] [stdout] --> src/cmap/test/file.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | test::RunOn, [INFO] [stdout] | ^^^^^^^^^^^ no `RunOn` in `test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::test::FailCommandOptions`, `crate::test::FailPoint`, `crate::test::FailPointMode`, `crate::test::TestClient`, `crate::test::CLIENT_OPTIONS`, `crate::test::LOCK` [INFO] [stdout] --> src/cmap/test/integration.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | test::{FailCommandOptions, FailPoint, FailPointMode, TestClient, CLIENT_OPTIONS, LOCK}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^ no `LOCK` in `test` [INFO] [stdout] | | | | | | [INFO] [stdout] | | | | | no `CLIENT_OPTIONS` in `test` [INFO] [stdout] | | | | no `TestClient` in `test` [INFO] [stdout] | | | no `FailPointMode` in `test` [INFO] [stdout] | | no `FailPoint` in `test` [INFO] [stdout] | no `FailCommandOptions` in `test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::test::assert_matches`, `crate::test::run_spec_test`, `crate::test::EventClient`, `crate::test::Matchable`, `crate::test::CLIENT_OPTIONS`, `crate::test::LOCK`, `crate::test::SERVER_API` [INFO] [stdout] --> src/cmap/test/mod.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | assert_matches, [INFO] [stdout] | ^^^^^^^^^^^^^^ no `assert_matches` in `test` [INFO] [stdout] 22 | run_spec_test, [INFO] [stdout] | ^^^^^^^^^^^^^ no `run_spec_test` in `test` [INFO] [stdout] 23 | EventClient, [INFO] [stdout] | ^^^^^^^^^^^ no `EventClient` in `test` [INFO] [stdout] 24 | Matchable, [INFO] [stdout] | ^^^^^^^^^ no `Matchable` in `test` [INFO] [stdout] 25 | CLIENT_OPTIONS, [INFO] [stdout] | ^^^^^^^^^^^^^^ no `CLIENT_OPTIONS` in `test` [INFO] [stdout] 26 | LOCK, [INFO] [stdout] | ^^^^ no `LOCK` in `test` [INFO] [stdout] 27 | SERVER_API, [INFO] [stdout] | ^^^^^^^^^^ no `SERVER_API` in `test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::test::CLIENT_OPTIONS`, `crate::test::LOCK` [INFO] [stdout] --> src/cmap/conn/wire/test.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | test::{CLIENT_OPTIONS, LOCK}, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^ no `LOCK` in `test` [INFO] [stdout] | | [INFO] [stdout] | no `CLIENT_OPTIONS` in `test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::test::TestClient`, `crate::test::CLIENT_OPTIONS`, `crate::test::LOCK` [INFO] [stdout] --> src/cmap/establish/test.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | test::{TestClient, CLIENT_OPTIONS, LOCK}, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^ no `LOCK` in `test` [INFO] [stdout] | | | [INFO] [stdout] | | no `CLIENT_OPTIONS` in `test` [INFO] [stdout] | no `TestClient` in `test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::test::TestClient`, `crate::test::LOCK` [INFO] [stdout] --> src/concern/test.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | test::{TestClient, LOCK}, [INFO] [stdout] | ^^^^^^^^^^ ^^^^ no `LOCK` in `test` [INFO] [stdout] | | [INFO] [stdout] | no `TestClient` in `test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::test::run_spec_test`, `crate::test::EventClient`, `crate::test::FailCommandOptions`, `crate::test::FailPoint`, `crate::test::FailPointMode`, `crate::test::TestClient`, `crate::test::CLIENT_OPTIONS`, `crate::test::LOCK` [INFO] [stdout] --> src/sdam/description/topology/server_selection/test/in_window.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | run_spec_test, [INFO] [stdout] | ^^^^^^^^^^^^^ no `run_spec_test` in `test` [INFO] [stdout] 15 | EventClient, [INFO] [stdout] | ^^^^^^^^^^^ no `EventClient` in `test` [INFO] [stdout] 16 | FailCommandOptions, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no `FailCommandOptions` in `test` [INFO] [stdout] 17 | FailPoint, [INFO] [stdout] | ^^^^^^^^^ no `FailPoint` in `test` [INFO] [stdout] 18 | FailPointMode, [INFO] [stdout] | ^^^^^^^^^^^^^ no `FailPointMode` in `test` [INFO] [stdout] 19 | TestClient, [INFO] [stdout] | ^^^^^^^^^^ no `TestClient` in `test` [INFO] [stdout] 20 | CLIENT_OPTIONS, [INFO] [stdout] | ^^^^^^^^^^^^^^ no `CLIENT_OPTIONS` in `test` [INFO] [stdout] 21 | LOCK, [INFO] [stdout] | ^^^^ no `LOCK` in `test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test::run_spec_test` [INFO] [stdout] --> src/sdam/description/topology/server_selection/test/logic.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | test::run_spec_test, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `run_spec_test` in `test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test::run_spec_test` [INFO] [stdout] --> src/sdam/description/topology/test/rtt.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | test::run_spec_test, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `run_spec_test` in `test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::test::run_spec_test`, `crate::test::TestClient`, `crate::test::CLIENT_OPTIONS`, `crate::test::LOCK` [INFO] [stdout] --> src/sdam/description/topology/test/sdam.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | test::{run_spec_test, TestClient, CLIENT_OPTIONS, LOCK}, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^ no `LOCK` in `test` [INFO] [stdout] | | | | [INFO] [stdout] | | | no `CLIENT_OPTIONS` in `test` [INFO] [stdout] | | no `TestClient` in `test` [INFO] [stdout] | no `run_spec_test` in `test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::test::CmapEvent`, `crate::test::Event`, `crate::test::EventClient`, `crate::test::EventHandler`, `crate::test::FailCommandOptions`, `crate::test::FailPoint`, `crate::test::FailPointMode`, `crate::test::TestClient`, `crate::test::CLIENT_OPTIONS`, `crate::test::LOCK` [INFO] [stdout] --> src/sdam/test.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | CmapEvent, [INFO] [stdout] | ^^^^^^^^^ no `CmapEvent` in `test` [INFO] [stdout] 14 | Event, [INFO] [stdout] | ^^^^^ no `Event` in `test` [INFO] [stdout] 15 | EventClient, [INFO] [stdout] | ^^^^^^^^^^^ no `EventClient` in `test` [INFO] [stdout] 16 | EventHandler, [INFO] [stdout] | ^^^^^^^^^^^^ no `EventHandler` in `test` [INFO] [stdout] 17 | FailCommandOptions, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no `FailCommandOptions` in `test` [INFO] [stdout] 18 | FailPoint, [INFO] [stdout] | ^^^^^^^^^ no `FailPoint` in `test` [INFO] [stdout] 19 | FailPointMode, [INFO] [stdout] | ^^^^^^^^^^^^^ no `FailPointMode` in `test` [INFO] [stdout] 20 | TestClient, [INFO] [stdout] | ^^^^^^^^^^ no `TestClient` in `test` [INFO] [stdout] 21 | CLIENT_OPTIONS, [INFO] [stdout] | ^^^^^^^^^^^^^^ no `CLIENT_OPTIONS` in `test` [INFO] [stdout] 22 | LOCK, [INFO] [stdout] | ^^^^ no `LOCK` in `test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/coll/options.rs:452:3 [INFO] [stdout] | [INFO] [stdout] 452 | #[serde(rename_all = "camelCase")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 453 | #[derive(Clone, Debug, Default, Deserialize, TypedBuilder, Serialize)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(legacy_derive_helpers)]` 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 #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors; 1 warning 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 `mongodb` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c746caf53c41bad6da3c9d44a5feda29a7e84457900ce076bf80ca2b27f82d1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c746caf53c41bad6da3c9d44a5feda29a7e84457900ce076bf80ca2b27f82d1a", kill_on_drop: false }` [INFO] [stdout] c746caf53c41bad6da3c9d44a5feda29a7e84457900ce076bf80ca2b27f82d1a