[INFO] fetching crate xyio 0.1.0... [INFO] testing xyio-0.1.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate xyio 0.1.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate xyio 0.1.0 [INFO] finished tweaking crates.io crate xyio 0.1.0 [INFO] tweaked toml for crates.io crate xyio 0.1.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate xyio 0.1.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 46 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c735dfe9950bea86e0ee640797d3b5ed7f76ec39eb1dc7345cee246c3fab429a [INFO] running `Command { std: "docker" "start" "-a" "c735dfe9950bea86e0ee640797d3b5ed7f76ec39eb1dc7345cee246c3fab429a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c735dfe9950bea86e0ee640797d3b5ed7f76ec39eb1dc7345cee246c3fab429a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c735dfe9950bea86e0ee640797d3b5ed7f76ec39eb1dc7345cee246c3fab429a", kill_on_drop: false }` [INFO] [stdout] c735dfe9950bea86e0ee640797d3b5ed7f76ec39eb1dc7345cee246c3fab429a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 85d43021cefff035eb9581792d58534bfffe545ceaf165a251d697eba0a4f94e [INFO] running `Command { std: "docker" "start" "-a" "85d43021cefff035eb9581792d58534bfffe545ceaf165a251d697eba0a4f94e", 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.176 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling http-muncher v0.3.2 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling deranged v0.5.4 [INFO] [stderr] Compiling getopts v0.2.24 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling xyio v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `log::LogRecord`, `log::LogLevel`, `log::LogMetadata` [INFO] [stdout] --> src/xyio/logging.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use log::{LogRecord, LogLevel, LogMetadata, SetLoggerError}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ no `LogMetadata` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `LogLevel` in the root [INFO] [stdout] | no `LogRecord` in the root [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 5 - use log::{LogRecord, LogLevel, LogMetadata, SetLoggerError}; [INFO] [stdout] 5 + use log::{Record, LogLevel, LogMetadata, SetLoggerError}; [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 5 - use log::{LogRecord, LogLevel, LogMetadata, SetLoggerError}; [INFO] [stdout] 5 + use log::{LogRecord, LogLevel, Metadata, SetLoggerError}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `target` [INFO] [stdout] --> src/xyio/sys/mod.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(target = "linux")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target, values("linux"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target, values(\"linux\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `target` [INFO] [stdout] --> src/xyio/sys/mod.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(target = "osx")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target, values("osx"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target, values(\"osx\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `flush` [INFO] [stdout] --> src/xyio/logging.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | impl log::Log for Logger { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ missing `flush` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn flush(&self) { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `xyio` (lib) due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "85d43021cefff035eb9581792d58534bfffe545ceaf165a251d697eba0a4f94e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85d43021cefff035eb9581792d58534bfffe545ceaf165a251d697eba0a4f94e", kill_on_drop: false }` [INFO] [stdout] 85d43021cefff035eb9581792d58534bfffe545ceaf165a251d697eba0a4f94e