[INFO] fetching crate ergothic 0.1.4... [INFO] testing ergothic-0.1.4 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate ergothic 0.1.4 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate ergothic 0.1.4 [INFO] finished tweaking crates.io crate ergothic 0.1.4 [INFO] tweaked toml for crates.io crate ergothic 0.1.4 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ergothic 0.1.4 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 126 packages to latest compatible versions [INFO] [stderr] Adding bson v0.12.3 (available: v3.0.0) [INFO] [stderr] Adding mongodb v0.3.10 (available: v0.3.12) [INFO] [stderr] Adding prettytable-rs v0.7.0 (available: v0.10.0) [INFO] [stderr] Adding rand v0.5.6 (available: v0.9.2) [INFO] [stderr] Adding simple_logger v0.5.0 (available: v5.1.0) [INFO] [stderr] Adding structopt v0.2.18 (available: v0.3.26) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9fc5cfb5cc752c717504e0de75aeec1a249b2b29d6a5e4ec8dcab80863bd11f8 [INFO] running `Command { std: "docker" "start" "-a" "9fc5cfb5cc752c717504e0de75aeec1a249b2b29d6a5e4ec8dcab80863bd11f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9fc5cfb5cc752c717504e0de75aeec1a249b2b29d6a5e4ec8dcab80863bd11f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fc5cfb5cc752c717504e0de75aeec1a249b2b29d6a5e4ec8dcab80863bd11f8", kill_on_drop: false }` [INFO] [stdout] 9fc5cfb5cc752c717504e0de75aeec1a249b2b29d6a5e4ec8dcab80863bd11f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 59d5a249ce7517e2449778304fe17ac539d62918a143e78e8e3d101b3188b001 [INFO] running `Command { std: "docker" "start" "-a" "59d5a249ce7517e2449778304fe17ac539d62918a143e78e8e3d101b3188b001", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling md5 v0.3.8 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling try_from v0.2.2 [INFO] [stderr] Compiling semver v0.8.0 [INFO] [stderr] Compiling bufstream v0.1.4 [INFO] [stderr] Compiling separator v0.3.1 [INFO] [stderr] Compiling encode_unicode v0.3.6 [INFO] [stderr] Compiling argparse v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling hostname v0.1.5 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling csv v0.15.0 [INFO] [stderr] Compiling simple_logger v0.5.0 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling prettytable-rs v0.7.0 [INFO] [stderr] Compiling textnonce v0.6.5 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling scan_fmt v0.1.3 [INFO] [stderr] Compiling bson v0.12.3 [INFO] [stderr] Compiling structopt v0.2.18 [INFO] [stderr] Compiling mongodb v0.3.10 [INFO] [stderr] Compiling ergothic v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `to_bson` in crate `mongodb` [INFO] [stdout] --> src/export.rs:135:38 [INFO] [stdout] | [INFO] [stdout] 135 | let serialized_data = ::mongodb::to_bson(measures) [INFO] [stdout] | ^^^^^^^ not found in `mongodb` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use bson::to_bson; [INFO] [stdout] | [INFO] [stdout] help: if you import `to_bson`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 135 - let serialized_data = ::mongodb::to_bson(measures) [INFO] [stdout] 135 + let serialized_data = to_bson(measures) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: enum `Bson` is private [INFO] [stdout] --> src/export.rs:137:23 [INFO] [stdout] | [INFO] [stdout] 137 | if let ::mongodb::Bson::Document(doc) = serialized_data { [INFO] [stdout] | ^^^^ private enum [INFO] [stdout] | [INFO] [stdout] note: the enum `Bson` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mongodb-0.3.10/src/lib.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | use bson::Bson; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: consider importing this tuple variant instead [INFO] [stdout] | [INFO] [stdout] 137 - if let ::mongodb::Bson::Document(doc) = serialized_data { [INFO] [stdout] 137 + if let bson::Bson::Document(doc) = serialized_data { [INFO] [stdout] | [INFO] [stdout] help: import `Bson` directly [INFO] [stdout] | [INFO] [stdout] 137 - if let ::mongodb::Bson::Document(doc) = serialized_data { [INFO] [stdout] 137 + if let bson::bson::Bson(doc) = serialized_data { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: enum `Bson` is private [INFO] [stdout] --> src/export.rs:141:36 [INFO] [stdout] | [INFO] [stdout] 141 | if let Some(::mongodb::Bson::ObjectId(id)) = res.inserted_id { [INFO] [stdout] | ^^^^ private enum [INFO] [stdout] | [INFO] [stdout] note: the enum `Bson` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mongodb-0.3.10/src/lib.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | use bson::Bson; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: consider importing this tuple variant instead [INFO] [stdout] | [INFO] [stdout] 141 - if let Some(::mongodb::Bson::ObjectId(id)) = res.inserted_id { [INFO] [stdout] 141 + if let Some(bson::Bson::ObjectId(id)) = res.inserted_id { [INFO] [stdout] | [INFO] [stdout] help: import `Bson` directly [INFO] [stdout] | [INFO] [stdout] 141 - if let Some(::mongodb::Bson::ObjectId(id)) = res.inserted_id { [INFO] [stdout] 141 + if let Some(bson::bson::Bson(id)) = res.inserted_id { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ergothic` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "59d5a249ce7517e2449778304fe17ac539d62918a143e78e8e3d101b3188b001", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59d5a249ce7517e2449778304fe17ac539d62918a143e78e8e3d101b3188b001", kill_on_drop: false }` [INFO] [stdout] 59d5a249ce7517e2449778304fe17ac539d62918a143e78e8e3d101b3188b001