[INFO] fetching crate libstrawberry 1.4.3...
[INFO] testing libstrawberry-1.4.3 against master#2fd6efc32704647e64d3d646d21c4c68eae100e4 for pr-149852-1
[INFO] extracting crate libstrawberry 1.4.3 into /workspace/builds/worker-3-tc1/source
[INFO] started tweaking crates.io crate libstrawberry 1.4.3
[INFO] finished tweaking crates.io crate libstrawberry 1.4.3
[INFO] tweaked toml for crates.io crate libstrawberry 1.4.3 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate libstrawberry 1.4.3 on toolchain 2fd6efc32704647e64d3d646d21c4c68eae100e4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate libstrawberry 1.4.3 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" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded winrt-notification v0.5.1
[INFO] [stderr]   Downloaded shellwords v1.1.0
[INFO] [stderr]   Downloaded strum v0.22.0
[INFO] [stderr]   Downloaded strum_macros v0.22.0
[INFO] [stderr]   Downloaded os_info v3.12.0
[INFO] [stderr]   Downloaded dbus v0.9.9
[INFO] [stderr]   Downloaded lettre v0.11.19
[INFO] [stderr]   Downloaded regex v1.12.1
[INFO] [stderr]   Downloaded windows_x86_64_msvc v0.24.0
[INFO] [stderr]   Downloaded regex-automata v0.4.12
[INFO] [stderr]   Downloaded windows_i686_msvc v0.24.0
[INFO] [stderr]   Downloaded windows_x86_64_gnu v0.24.0
[INFO] [stderr]   Downloaded windows_i686_gnu v0.24.0
[INFO] [stderr]   Downloaded libdbus-sys v0.2.6
[INFO] [stderr]   Downloaded windows v0.24.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 21e6c5e0712d0ce124793b6ef7dff32df0b33daf3f53c729ab52781854d14e32
[INFO] running `Command { std: "docker" "start" "-a" "21e6c5e0712d0ce124793b6ef7dff32df0b33daf3f53c729ab52781854d14e32", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "21e6c5e0712d0ce124793b6ef7dff32df0b33daf3f53c729ab52781854d14e32", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "21e6c5e0712d0ce124793b6ef7dff32df0b33daf3f53c729ab52781854d14e32", kill_on_drop: false }`
[INFO] [stdout] 21e6c5e0712d0ce124793b6ef7dff32df0b33daf3f53c729ab52781854d14e32
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b70d617b5160de40edfc45faad60c2ad0ea5949ec15a8992239630c124a0f3ee
[INFO] running `Command { std: "docker" "start" "-a" "b70d617b5160de40edfc45faad60c2ad0ea5949ec15a8992239630c124a0f3ee", kill_on_drop: false }`
[INFO] [stderr]    Compiling cc v1.2.30
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling socket2 v0.6.0
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling iri-string v0.7.8
[INFO] [stderr]    Compiling dirs-sys v0.5.0
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling iana-time-zone v0.1.63
[INFO] [stderr]    Compiling unsafe-libyaml v0.2.11
[INFO] [stderr]    Compiling rustls-pki-types v1.12.0
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling dirs v6.0.0
[INFO] [stderr]    Compiling tokio v1.47.1
[INFO] [stderr]    Compiling regex-automata v0.4.12
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling regex v1.12.1
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling shellwords v1.1.0
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling tokio-util v0.7.15
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling tower-http v0.6.6
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling h2 v0.4.11
[INFO] [stderr]    Compiling zerovec v0.11.2
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]    Compiling potential_utf v0.1.2
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling os_info v3.12.0
[INFO] [stderr]    Compiling serde_yaml v0.9.34+deprecated
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]    Compiling icu_properties v2.0.1
[INFO] [stderr]    Compiling hyper v1.6.0
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling hyper-util v0.1.16
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.23
[INFO] [stderr]    Compiling libstrawberry v1.4.3 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.42s
[INFO] running `Command { std: "docker" "inspect" "b70d617b5160de40edfc45faad60c2ad0ea5949ec15a8992239630c124a0f3ee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b70d617b5160de40edfc45faad60c2ad0ea5949ec15a8992239630c124a0f3ee", kill_on_drop: false }`
[INFO] [stdout] b70d617b5160de40edfc45faad60c2ad0ea5949ec15a8992239630c124a0f3ee
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2fdb0564b3a451d57eb2aac3edce3bdbd5ab726a01fa6ca65ee4f15797cafd40
[INFO] running `Command { std: "docker" "start" "-a" "2fdb0564b3a451d57eb2aac3edce3bdbd5ab726a01fa6ca65ee4f15797cafd40", kill_on_drop: false }`
[INFO] [stderr]    Compiling libstrawberry v1.4.3 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.54s
[INFO] running `Command { std: "docker" "inspect" "2fdb0564b3a451d57eb2aac3edce3bdbd5ab726a01fa6ca65ee4f15797cafd40", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2fdb0564b3a451d57eb2aac3edce3bdbd5ab726a01fa6ca65ee4f15797cafd40", kill_on_drop: false }`
[INFO] [stdout] 2fdb0564b3a451d57eb2aac3edce3bdbd5ab726a01fa6ca65ee4f15797cafd40
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 009c3907eab4f28e5ec3bcfcb966262b4b35f9e4cf6212e2648458803f22342a
[INFO] running `Command { std: "docker" "start" "-a" "009c3907eab4f28e5ec3bcfcb966262b4b35f9e4cf6212e2648458803f22342a", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/libstrawberry-2ae7883eeb28bd0d)
[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] [stderr]    Doc-tests libstrawberry
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test src/file.rs - file::read_file (line 9) ... FAILED
[INFO] [stdout] test src/file.rs - file::write_to_file (line 30) ... FAILED
[INFO] [stdout] test src/file.rs - file::PersistentFile::read (line 85) ... ok
[INFO] [stdout] test src/file.rs - file::PersistentFile::new (line 59) ... ok
[INFO] [stdout] test src/file.rs - file::PersistentFile::write (line 119) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/file.rs - file::read_file (line 9) stdout ----
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/file.rs:12:39
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_file_rs_9_0() {
[INFO] [stdout]    |                                      ---------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 11 | use libstrawberry::file::read_file;
[INFO] [stdout] 12 | let content = read_file("example.txt")?;
[INFO] [stdout]    |                                       ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 10 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_file_rs_9_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 11 | use libstrawberry::file::read_file;
[INFO] [stdout] 12 | let content = read_file("example.txt")?;
[INFO] [stdout] 13 +     Ok(())
[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 E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/file.rs - file::write_to_file (line 30) stdout ----
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/file.rs:33:45
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_file_rs_30_0() {
[INFO] [stdout]    |                                      ----------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 32 | use libstrawberry::file::write_to_file;
[INFO] [stdout] 33 | write_to_file("example.txt", "Hello World!")?;
[INFO] [stdout]    |                                             ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 31 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_file_rs_30_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 32 | use libstrawberry::file::write_to_file;
[INFO] [stdout] 33 | write_to_file("example.txt", "Hello World!")?;
[INFO] [stdout] 34 +     Ok(())
[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 E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/file.rs - file::read_file (line 9)
[INFO] [stdout]     src/file.rs - file::write_to_file (line 30)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 3 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.52s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.62s; merged doctests compilation took 0.10s
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "009c3907eab4f28e5ec3bcfcb966262b4b35f9e4cf6212e2648458803f22342a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "009c3907eab4f28e5ec3bcfcb966262b4b35f9e4cf6212e2648458803f22342a", kill_on_drop: false }`
[INFO] [stdout] 009c3907eab4f28e5ec3bcfcb966262b4b35f9e4cf6212e2648458803f22342a
