[INFO] fetching crate captains-log 0.15.2... [INFO] testing captains-log-0.15.2 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate captains-log 0.15.2 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate captains-log 0.15.2 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate captains-log 0.15.2 [INFO] tweaked toml for crates.io crate captains-log 0.15.2 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate captains-log 0.15.2 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] crate crates.io crate captains-log 0.15.2 already has a lockfile, it will not be regenerated [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 0c19a5818793e779d72cc4f27e3de8adcea08fe982d0810ba5eb2183a8c1c3a6 [INFO] running `Command { std: "docker" "start" "-a" "0c19a5818793e779d72cc4f27e3de8adcea08fe982d0810ba5eb2183a8c1c3a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c19a5818793e779d72cc4f27e3de8adcea08fe982d0810ba5eb2183a8c1c3a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c19a5818793e779d72cc4f27e3de8adcea08fe982d0810ba5eb2183a8c1c3a6", kill_on_drop: false }` [INFO] [stdout] 0c19a5818793e779d72cc4f27e3de8adcea08fe982d0810ba5eb2183a8c1c3a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 94bef7569b47b366f3a7239502371e922e8144465b35fac06ed904c8452c0fb0 [INFO] running `Command { std: "docker" "start" "-a" "94bef7569b47b366f3a7239502371e922e8144465b35fac06ed904c8452c0fb0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling exitcode v1.1.2 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling file-rotate v0.8.0 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling enum_dispatch v0.3.13 [INFO] [stderr] Compiling captains-log-helper v0.3.1 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling crossfire v2.1.6 [INFO] [stderr] Compiling captains-log v0.15.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.43s [INFO] running `Command { std: "docker" "inspect" "94bef7569b47b366f3a7239502371e922e8144465b35fac06ed904c8452c0fb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94bef7569b47b366f3a7239502371e922e8144465b35fac06ed904c8452c0fb0", kill_on_drop: false }` [INFO] [stdout] 94bef7569b47b366f3a7239502371e922e8144465b35fac06ed904c8452c0fb0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1941a451dac823ce692b041c651976e78a2b86f7c903adefe31ed06b56071937 [INFO] running `Command { std: "docker" "start" "-a" "1941a451dac823ce692b041c651976e78a2b86f7c903adefe31ed06b56071937", kill_on_drop: false }` [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling enum_dispatch v0.3.13 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling fmutex v0.3.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling captains-log v0.15.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling rstest_macros v0.26.1 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling rstest v0.26.1 [INFO] [stdout] warning: unused import: `captains_log::*` [INFO] [stdout] --> tests/syslog.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use captains_log::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `captains_log::tracing_bridge` [INFO] [stdout] --> tests/tracing_scope.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use captains_log::{tracing_bridge::*, *}; [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `tracing_bridge` in `captains_log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tracing` [INFO] [stdout] --> tests/tracing_scope.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | tracing::trace!("trace with tracing {:?}", true); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tracing` [INFO] [stdout] --> tests/tracing_scope.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | tracing::info!("log from tracing in a scope"); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `captains_log::tracing_bridge` [INFO] [stdout] --> tests/tracing_layer.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use captains_log::{tracing_bridge::*, *}; [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `tracing_bridge` in `captains_log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tracing` [INFO] [stdout] --> tests/tracing_layer.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tracing::{dispatcher, Dispatch}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tracing`, use `cargo add tracing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tracing` [INFO] [stdout] --> tests/tracing_layer.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | tracing::trace!("trace with tracing {:?}", true); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tracing` [INFO] [stdout] --> tests/tracing_global.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | tracing::trace!("trace with tracing {:?}", true); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tracing` [INFO] [stdout] --> tests/tracing_global.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[tracing::instrument] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tracing` [INFO] [stdout] --> tests/tracing_global.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 26 | let span = tracing::span!(tracing::Level::TRACE, "a span {}", span_value, key1 = 42, key2 = 20); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tracing` [INFO] [stdout] --> tests/tracing_global.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | tracing::event!(tracing::Level::INFO, message = "event with key", key1 = 33, key2 = "dfdf"); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tracing` [INFO] [stdout] --> tests/tracing_global.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | tracing::info!("info with tracing {}", 2); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `captains_log::*` [INFO] [stdout] --> tests/ringfile.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use captains_log::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::panic` [INFO] [stdout] --> tests/ringfile.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::panic; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `AtomicUsize`, and `Ordering` [INFO] [stdout] --> tests/ringfile.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | atomic::{AtomicUsize, Ordering}, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] 5 | Arc, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> tests/ringfile.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `tracing_global` on type `captains_log::Builder` [INFO] [stdout] --> tests/tracing_scope.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | assert_eq!(config.tracing_global, false); [INFO] [stdout] | ^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `dynamic`, `rotation_signals`, `panic`, `continue_when_panic`, `sinks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `tracing_dispatch` found for reference `&captains_log::GlobalLogger` in the current scope [INFO] [stdout] --> tests/tracing_scope.rs:25:53 [INFO] [stdout] | [INFO] [stdout] 25 | let log_dispatch = get_global_logger().unwrap().tracing_dispatch::().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `&captains_log::GlobalLogger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `captains-log` (test "tracing_scope") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `tracing_global` found for struct `captains_log::Builder` in the current scope [INFO] [stdout] --> tests/tracing_global.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 11 | / recipe::raw_file_logger(file_path, Level::Trace) [INFO] [stdout] 12 | | .test() [INFO] [stdout] 13 | | .tracing_global() [INFO] [stdout] | | -^^^^^^^^^^^^^^ method not found in `captains_log::Builder` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `tracing_layer` found for reference `&captains_log::GlobalLogger` in the current scope [INFO] [stdout] --> tests/tracing_layer.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | .with(logger.tracing_layer::().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `&captains_log::GlobalLogger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `captains-log` (test "tracing_layer") due to 4 previous errors [INFO] [stdout] error[E0599]: no method named `tracing_global` found for struct `captains_log::Builder` in the current scope [INFO] [stdout] --> tests/tracing_global.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 37 | let _logger = recipe::raw_file_logger(file_path, Level::Trace) [INFO] [stdout] | ___________________- [INFO] [stdout] 38 | | .test() [INFO] [stdout] 39 | | .tracing_global() [INFO] [stdout] | | -^^^^^^^^^^^^^^ method not found in `captains_log::Builder` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `captains-log` (test "tracing_global") due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "1941a451dac823ce692b041c651976e78a2b86f7c903adefe31ed06b56071937", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1941a451dac823ce692b041c651976e78a2b86f7c903adefe31ed06b56071937", kill_on_drop: false }` [INFO] [stdout] 1941a451dac823ce692b041c651976e78a2b86f7c903adefe31ed06b56071937