[INFO] fetching crate log_file 0.1.1...
[INFO] testing log_file-0.1.1 against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759
[INFO] extracting crate log_file 0.1.1 into /workspace/builds/worker-4-tc1/source
[INFO] started tweaking crates.io crate log_file 0.1.1
[INFO] finished tweaking crates.io crate log_file 0.1.1
[INFO] tweaked toml for crates.io crate log_file 0.1.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate log_file 0.1.1 on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e451bc3e595f6ee9a5cc26d53942a9587c2f3f4879165d3f893e516e06ecbadd
[INFO] running `Command { std: "docker" "start" "-a" "e451bc3e595f6ee9a5cc26d53942a9587c2f3f4879165d3f893e516e06ecbadd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e451bc3e595f6ee9a5cc26d53942a9587c2f3f4879165d3f893e516e06ecbadd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e451bc3e595f6ee9a5cc26d53942a9587c2f3f4879165d3f893e516e06ecbadd", kill_on_drop: false }`
[INFO] [stdout] e451bc3e595f6ee9a5cc26d53942a9587c2f3f4879165d3f893e516e06ecbadd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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 -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8153220a4c26fdec0ce8213acd07f2c3d594d7f2c52294ee7c334436fefe05d3
[INFO] running `Command { std: "docker" "start" "-a" "8153220a4c26fdec0ce8213acd07f2c3d594d7f2c52294ee7c334436fefe05d3", kill_on_drop: false }`
[INFO] [stderr]    Compiling log_file v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.38s
[INFO] running `Command { std: "docker" "inspect" "8153220a4c26fdec0ce8213acd07f2c3d594d7f2c52294ee7c334436fefe05d3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8153220a4c26fdec0ce8213acd07f2c3d594d7f2c52294ee7c334436fefe05d3", kill_on_drop: false }`
[INFO] [stdout] 8153220a4c26fdec0ce8213acd07f2c3d594d7f2c52294ee7c334436fefe05d3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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 -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5a323f73785273f3649e3bb4f706b7a7395b3b5bd500c539d15a18e359f2117d
[INFO] running `Command { std: "docker" "start" "-a" "5a323f73785273f3649e3bb4f706b7a7395b3b5bd500c539d15a18e359f2117d", kill_on_drop: false }`
[INFO] [stderr]    Compiling log_file v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s
[INFO] running `Command { std: "docker" "inspect" "5a323f73785273f3649e3bb4f706b7a7395b3b5bd500c539d15a18e359f2117d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5a323f73785273f3649e3bb4f706b7a7395b3b5bd500c539d15a18e359f2117d", kill_on_drop: false }`
[INFO] [stdout] 5a323f73785273f3649e3bb4f706b7a7395b3b5bd500c539d15a18e359f2117d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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 -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] e10b71476733dfddcf28b5bce0df0cf0229fdeeb2d71629bb149635c34303900
[INFO] running `Command { std: "docker" "start" "-a" "e10b71476733dfddcf28b5bce0df0cf0229fdeeb2d71629bb149635c34303900", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/log_file-c9ff1112099ef944)
[INFO] [stderr]    Doc-tests log_file
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 18 tests
[INFO] [stdout] test src/lib.rs - custom::Log::add_str (line 194) ... FAILED
[INFO] [stdout] test src/lib.rs - custom::LogElement::new_str (line 59) ... FAILED
[INFO] [stdout] test src/lib.rs - custom::Log::new (line 170) ... FAILED
[INFO] [stdout] test src/lib.rs - custom::Log::to_string (line 224) ... FAILED
[INFO] [stdout] test src/lib.rs - custom::LogElement::to_string (line 76) ... FAILED
[INFO] [stdout] test src/lib.rs - custom (line 26) ... FAILED
[INFO] [stdout] test src/lib.rs - custom::Log (line 155) ... FAILED
[INFO] [stdout] test src/lib.rs - custom::LogElement::to_string (line 82) ... FAILED
[INFO] [stdout] test src/lib.rs - custom (line 18) ... FAILED
[INFO] [stdout] test src/lib.rs - custom::Log::save (line 209) ... FAILED
[INFO] [stdout] test src/lib.rs - custom::Log::add (line 184) ... FAILED
[INFO] [stdout] test src/lib.rs - custom::LogElement::new (line 42) ... FAILED
[INFO] [stdout] test src/lib.rs - custom::trim_to_1000 (line 270) ... FAILED
[INFO] [stdout] test src/lib.rs - custom::Log (line 142) ... FAILED
[INFO] [stdout] test src/lib.rs - custom (line 13) ... FAILED
[INFO] [stdout] test src/lib.rs - custom::Log (line 147) ... FAILED
[INFO] [stdout] test src/lib.rs - custom (line 9) ... ok
[INFO] [stdout] test src/lib.rs - custom::Log (line 138) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - custom::Log::add_str (line 194) stdout ----
[INFO] [stdout] error: unexpected closing delimiter: `)`
[INFO] [stdout]  --> src/lib.rs:195:38
[INFO] [stdout]   |
[INFO] [stdout] 1 | let mut example = Log::new(true, ':'));
[INFO] [stdout]   |                                      ^ unexpected closing delimiter
[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 - custom::LogElement::new_str (line 59) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LogElement`
[INFO] [stdout]  --> src/lib.rs:60:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | let example = LogElement::new_str("Test","Hello, world!", true);
[INFO] [stdout]   |               ^^^^^^^^^^ use of undeclared type `LogElement`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use log_file::custom::LogElement;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - custom::Log::new (line 170) stdout ----
[INFO] [stdout] error: unexpected closing delimiter: `)`
[INFO] [stdout]  --> src/lib.rs:171:34
[INFO] [stdout]   |
[INFO] [stdout] 1 | let example = Log::new(true, ':'));
[INFO] [stdout]   |                                  ^ unexpected closing delimiter
[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 - custom::Log::to_string (line 224) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `log_file::default_code`
[INFO] [stdout]  --> src/lib.rs:226:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | use log_file::default_code::Log;
[INFO] [stdout]   |               ^^^^^^^^^^^^ could not find `default_code` in `log_file`
[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 - custom::LogElement::to_string (line 76) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LogElement`
[INFO] [stdout]  --> src/lib.rs:77:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | let example = LogElement::new_str("Test","Hello, world!", true);
[INFO] [stdout]   |               ^^^^^^^^^^ use of undeclared type `LogElement`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use log_file::custom::LogElement;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - custom (line 26) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `log` in this scope
[INFO] [stdout]  --> src/lib.rs:28:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | log.save("log.txt");
[INFO] [stdout]   | ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - custom::Log (line 155) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `log` in this scope
[INFO] [stdout]  --> src/lib.rs:157:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | log.save("log.txt");
[INFO] [stdout]   | ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - custom::LogElement::to_string (line 82) stdout ----
[INFO] [stdout] error: expected item, found `[`
[INFO] [stdout]  --> src/lib.rs:83:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | [0:0:25:0]  Test    :   Hello, world!
[INFO] [stdout]   | ^ expected item
[INFO] [stdout]   |
[INFO] [stdout]   = note: for a full list of items that can appear in modules, see <https://doc.rust-lang.org/reference/items.html>
[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 - custom (line 18) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `log` in this scope
[INFO] [stdout]  --> src/lib.rs:20:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | log.add("Titel 1",String::from("Context 1"));
[INFO] [stdout]   | ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `log` in this scope
[INFO] [stdout]  --> src/lib.rs:23:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | log.add_str("Titel 2","Context 2");
[INFO] [stdout]   | ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - custom::Log::save (line 209) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `log_file::default_code`
[INFO] [stdout]  --> src/lib.rs:211:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | use log_file::default_code::Log;
[INFO] [stdout]   |               ^^^^^^^^^^^^ could not find `default_code` in `log_file`
[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 - custom::Log::add (line 184) stdout ----
[INFO] [stdout] error: unexpected closing delimiter: `)`
[INFO] [stdout]  --> src/lib.rs:185:38
[INFO] [stdout]   |
[INFO] [stdout] 1 | let mut example = Log::new(true, ':'));
[INFO] [stdout]   |                                      ^ unexpected closing delimiter
[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 - custom::LogElement::new (line 42) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LogElement`
[INFO] [stdout]  --> src/lib.rs:43:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | let example = LogElement::new("Test",String::from("Hello, world!", true));
[INFO] [stdout]   |               ^^^^^^^^^^ use of undeclared type `LogElement`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use log_file::custom::LogElement;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied
[INFO] [stdout]  --> src/lib.rs:43:38
[INFO] [stdout]   |
[INFO] [stdout] 3 | let example = LogElement::new("Test",String::from("Hello, world!", true));
[INFO] [stdout]   |                                      ^^^^^^^^^^^^                  ---- unexpected argument #2 of type `bool`
[INFO] [stdout]   |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]  --> /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/convert/mod.rs:588:8
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]   |
[INFO] [stdout] 3 - let example = LogElement::new("Test",String::from("Hello, world!", true));
[INFO] [stdout] 3 + let example = LogElement::new("Test",String::from("Hello, world!"));
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - custom::trim_to_1000 (line 270) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `trim_to_1000` in this scope
[INFO] [stdout]  --> src/lib.rs:272:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | println!("{}",trim_to_1000(to_big));
[INFO] [stdout]   |               ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - custom::Log (line 142) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Log`
[INFO] [stdout]  --> src/lib.rs:144:19
[INFO] [stdout]   |
[INFO] [stdout] 4 |     let mut log = Log::new(true, ':');
[INFO] [stdout]   |                   ^^^ use of undeclared type `Log`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use log_file::custom::Log;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - custom (line 13) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Log`
[INFO] [stdout]  --> src/lib.rs:15:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | let mut log = Log::new(true, ':');
[INFO] [stdout]   |               ^^^ use of undeclared type `Log`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use log_file::custom::Log;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - custom::Log (line 147) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `log` in this scope
[INFO] [stdout]  --> src/lib.rs:149:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | log.add("Titel 1",String::from("Context 1"));
[INFO] [stdout]   | ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `log` in this scope
[INFO] [stdout]  --> src/lib.rs:152:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | log.add_str("Titel 2","Context 2");
[INFO] [stdout]   | ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - custom (line 13)
[INFO] [stdout]     src/lib.rs - custom (line 18)
[INFO] [stdout]     src/lib.rs - custom (line 26)
[INFO] [stdout]     src/lib.rs - custom::Log (line 142)
[INFO] [stdout]     src/lib.rs - custom::Log (line 147)
[INFO] [stdout]     src/lib.rs - custom::Log (line 155)
[INFO] [stdout]     src/lib.rs - custom::Log::add (line 184)
[INFO] [stdout]     src/lib.rs - custom::Log::add_str (line 194)
[INFO] [stdout]     src/lib.rs - custom::Log::new (line 170)
[INFO] [stdout]     src/lib.rs - custom::Log::save (line 209)
[INFO] [stdout]     src/lib.rs - custom::Log::to_string (line 224)
[INFO] [stdout]     src/lib.rs - custom::LogElement::new (line 42)
[INFO] [stdout]     src/lib.rs - custom::LogElement::new_str (line 59)
[INFO] [stdout]     src/lib.rs - custom::LogElement::to_string (line 76)
[INFO] [stdout]     src/lib.rs - custom::LogElement::to_string (line 82)
[INFO] [stdout]     src/lib.rs - custom::trim_to_1000 (line 270)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 2 passed; 16 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.65s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "e10b71476733dfddcf28b5bce0df0cf0229fdeeb2d71629bb149635c34303900", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e10b71476733dfddcf28b5bce0df0cf0229fdeeb2d71629bb149635c34303900", kill_on_drop: false }`
[INFO] [stdout] e10b71476733dfddcf28b5bce0df0cf0229fdeeb2d71629bb149635c34303900
