[INFO] fetching crate simple_file_logger 0.4.2... [INFO] testing simple_file_logger-0.4.2 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate simple_file_logger 0.4.2 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate simple_file_logger 0.4.2 [INFO] finished tweaking crates.io crate simple_file_logger 0.4.2 [INFO] tweaked toml for crates.io crate simple_file_logger 0.4.2 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate simple_file_logger 0.4.2 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate simple_file_logger 0.4.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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 59bccb421cb9c860c90d89a150f056ca55fe9029d4b4d31736e979262e88737a [INFO] running `Command { std: "docker" "start" "-a" "59bccb421cb9c860c90d89a150f056ca55fe9029d4b4d31736e979262e88737a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "59bccb421cb9c860c90d89a150f056ca55fe9029d4b4d31736e979262e88737a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59bccb421cb9c860c90d89a150f056ca55fe9029d4b4d31736e979262e88737a", kill_on_drop: false }` [INFO] [stdout] 59bccb421cb9c860c90d89a150f056ca55fe9029d4b4d31736e979262e88737a [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 853cd481169e81483839d8e37383f2543426a4b58bf9a413633f496d2323f418 [INFO] running `Command { std: "docker" "start" "-a" "853cd481169e81483839d8e37383f2543426a4b58bf9a413633f496d2323f418", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling nu-ansi-term v0.50.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling flexi_logger v0.29.8 [INFO] [stderr] Compiling simple_file_logger v0.4.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.11s [INFO] running `Command { std: "docker" "inspect" "853cd481169e81483839d8e37383f2543426a4b58bf9a413633f496d2323f418", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "853cd481169e81483839d8e37383f2543426a4b58bf9a413633f496d2323f418", kill_on_drop: false }` [INFO] [stdout] 853cd481169e81483839d8e37383f2543426a4b58bf9a413633f496d2323f418 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5057f63f4dc8af21b0b3b9a37bf1661d1fcb28cb401e68e6e004d6e132ed0e6d [INFO] running `Command { std: "docker" "start" "-a" "5057f63f4dc8af21b0b3b9a37bf1661d1fcb28cb401e68e6e004d6e132ed0e6d", kill_on_drop: false }` [INFO] [stderr] Compiling simple_file_logger v0.4.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.77s [INFO] running `Command { std: "docker" "inspect" "5057f63f4dc8af21b0b3b9a37bf1661d1fcb28cb401e68e6e004d6e132ed0e6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5057f63f4dc8af21b0b3b9a37bf1661d1fcb28cb401e68e6e004d6e132ed0e6d", kill_on_drop: false }` [INFO] [stdout] 5057f63f4dc8af21b0b3b9a37bf1661d1fcb28cb401e68e6e004d6e132ed0e6d [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c4c0f5867209cd1a87c922d2b9d6c816c7531051a371cf5d0e9d928297a95264 [INFO] running `Command { std: "docker" "start" "-a" "c4c0f5867209cd1a87c922d2b9d6c816c7531051a371cf5d0e9d928297a95264", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/simple_file_logger-6e7522da8b3bd9b9) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_get_log_path ... ok [INFO] [stdout] test tests::test_init_logger ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests simple_file_logger [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/../README.md - (line 9) ... FAILED [INFO] [stdout] test src/lib.rs - init_logger (line 89) ... FAILED [INFO] [stdout] test src/lib.rs - init_logger (line 51) ... FAILED [INFO] [stdout] test src/../README.md - (line 15) ... FAILED [INFO] [stdout] test src/../README.md - (line 27) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/../README.md - (line 9) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `add` [INFO] [stdout] --> src/../README.md:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | cargo add log [INFO] [stdout] | ^^^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - init_logger (line 89) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> src/lib.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | use log::info; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `log` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `log`, use `cargo add log` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - init_logger (line 51) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> src/lib.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | use log::info; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `log` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `log`, use `cargo add log` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 15) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> src/../README.md:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use log::info; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `log` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `log`, use `cargo add log` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Loglevel` in this scope [INFO] [stdout] --> src/../README.md:21:27 [INFO] [stdout] | [INFO] [stdout] 21 | init_logger("my_app", Loglevel::Info).unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Loglevel` [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 21 - init_logger("my_app", Loglevel::Info).unwrap(); [INFO] [stdout] 21 + init_logger("my_app", LogLevel::Info).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 27) stdout ---- [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/../README.md:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | info!("Hello, world!"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/../README.md - (line 15) [INFO] [stdout] src/../README.md - (line 27) [INFO] [stdout] src/../README.md - (line 9) [INFO] [stdout] src/lib.rs - init_logger (line 51) [INFO] [stdout] src/lib.rs - init_logger (line 89) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.31s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.44s; merged doctests compilation took 0.12s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "c4c0f5867209cd1a87c922d2b9d6c816c7531051a371cf5d0e9d928297a95264", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4c0f5867209cd1a87c922d2b9d6c816c7531051a371cf5d0e9d928297a95264", kill_on_drop: false }` [INFO] [stdout] c4c0f5867209cd1a87c922d2b9d6c816c7531051a371cf5d0e9d928297a95264