[INFO] fetching crate stblib 0.7.3...
[INFO] testing stblib-0.7.3 against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681
[INFO] extracting crate stblib 0.7.3 into /workspace/builds/worker-3-tc2/source
[INFO] started tweaking crates.io crate stblib 0.7.3
[INFO] finished tweaking crates.io crate stblib 0.7.3
[INFO] tweaked toml for crates.io crate stblib 0.7.3 written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate stblib 0.7.3 on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate stblib 0.7.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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c7aaa78122d592d15a034f817a4a60b9b0fe4c2bec2583f101b2eaa3926ce55a
[INFO] running `Command { std: "docker" "start" "-a" "c7aaa78122d592d15a034f817a4a60b9b0fe4c2bec2583f101b2eaa3926ce55a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c7aaa78122d592d15a034f817a4a60b9b0fe4c2bec2583f101b2eaa3926ce55a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c7aaa78122d592d15a034f817a4a60b9b0fe4c2bec2583f101b2eaa3926ce55a", kill_on_drop: false }`
[INFO] [stdout] c7aaa78122d592d15a034f817a4a60b9b0fe4c2bec2583f101b2eaa3926ce55a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 24d3037526ca9cd4abc5e06c345e11d9f5bc9e7f45f463bf2e82430195db51f5
[INFO] running `Command { std: "docker" "start" "-a" "24d3037526ca9cd4abc5e06c345e11d9f5bc9e7f45f463bf2e82430195db51f5", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]    Compiling proc-macro2 v1.0.93
[INFO] [stderr]    Compiling autocfg v1.2.0
[INFO] [stderr]    Compiling memchr v2.7.2
[INFO] [stderr]    Compiling pin-project-lite v0.2.14
[INFO] [stderr]    Compiling bytes v1.9.0
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling cc v1.0.92
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling futures-io v0.3.30
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling http v1.1.0
[INFO] [stderr]    Compiling hashbrown v0.14.3
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling openssl v0.10.64
[INFO] [stderr]    Compiling bitflags v2.5.0
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling mio v1.0.1
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling syn v2.0.96
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling tokio v1.46.1
[INFO] [stderr]    Compiling indexmap v2.2.6
[INFO] [stderr]    Compiling http-body v1.0.0
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling openssl-sys v0.9.102
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling ryu v1.0.17
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling sync_wrapper v1.0.1
[INFO] [stderr]    Compiling tower-layer v0.3.3
[INFO] [stderr]    Compiling ipnet v2.9.0
[INFO] [stderr]    Compiling unicode-bidi v0.3.15
[INFO] [stderr]    Compiling unicode-normalization v0.1.23
[INFO] [stderr]    Compiling base64 v0.22.0
[INFO] [stderr]    Compiling http-body-util v0.1.1
[INFO] [stderr]    Compiling iri-string v0.7.8
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling serde_json v1.0.141
[INFO] [stderr]    Compiling regex-automata v0.4.8
[INFO] [stderr]    Compiling option-ext v0.2.0
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling eyre v0.6.12
[INFO] [stderr]    Compiling url v2.5.0
[INFO] [stderr]    Compiling dirs-sys v0.5.0
[INFO] [stderr]    Compiling encoding_rs v0.8.34
[INFO] [stderr]    Compiling iana-time-zone v0.1.60
[INFO] [stderr]    Compiling unsafe-libyaml v0.2.11
[INFO] [stderr]    Compiling indenter v0.3.3
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]    Compiling tokio-util v0.7.10
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling tower-http v0.6.6
[INFO] [stderr]    Compiling h2 v0.4.4
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling shellwords v1.1.0
[INFO] [stderr]    Compiling dirs v6.0.0
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling hyper v1.6.0
[INFO] [stderr]    Compiling hyper-util v0.1.13
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling serde_yaml v0.9.34+deprecated
[INFO] [stderr]    Compiling os_info v3.12.0
[INFO] [stderr]    Compiling reqwest v0.12.22
[INFO] [stderr]    Compiling stblib v0.7.3 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 18s
[INFO] running `Command { std: "docker" "inspect" "24d3037526ca9cd4abc5e06c345e11d9f5bc9e7f45f463bf2e82430195db51f5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "24d3037526ca9cd4abc5e06c345e11d9f5bc9e7f45f463bf2e82430195db51f5", kill_on_drop: false }`
[INFO] [stdout] 24d3037526ca9cd4abc5e06c345e11d9f5bc9e7f45f463bf2e82430195db51f5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4fc2593a044d516286102a048a4c8aa914b0f2b43a03200dde70ad1d81be84b8
[INFO] running `Command { std: "docker" "start" "-a" "4fc2593a044d516286102a048a4c8aa914b0f2b43a03200dde70ad1d81be84b8", kill_on_drop: false }`
[INFO] [stderr]    Compiling stblib v0.7.3 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.98s
[INFO] running `Command { std: "docker" "inspect" "4fc2593a044d516286102a048a4c8aa914b0f2b43a03200dde70ad1d81be84b8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4fc2593a044d516286102a048a4c8aa914b0f2b43a03200dde70ad1d81be84b8", kill_on_drop: false }`
[INFO] [stdout] 4fc2593a044d516286102a048a4c8aa914b0f2b43a03200dde70ad1d81be84b8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] c337ca1b0167ae6c6754884635a7a52f02b94c7f0e737984edf3da7b7b9e3338
[INFO] running `Command { std: "docker" "start" "-a" "c337ca1b0167ae6c6754884635a7a52f02b94c7f0e737984edf3da7b7b9e3338", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.29s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/stblib-96c89ff5f964a256)
[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 stblib
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test src/file.rs - file::write_to_file (line 30) ... FAILED
[INFO] [stdout] test src/file.rs - file::read_file (line 9) ... FAILED
[INFO] [stdout] test src/file.rs - file::FileStruct::read (line 85) ... ok
[INFO] [stdout] test src/file.rs - file::FileStruct::write (line 119) ... ok
[INFO] [stdout] test src/file.rs - file::FileStruct::new (line 59) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[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 stblib::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 stblib::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] ---- 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 stblib::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 stblib::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] 
[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.88s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 1.08s; merged doctests compilation took 0.20s
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "c337ca1b0167ae6c6754884635a7a52f02b94c7f0e737984edf3da7b7b9e3338", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c337ca1b0167ae6c6754884635a7a52f02b94c7f0e737984edf3da7b7b9e3338", kill_on_drop: false }`
[INFO] [stdout] c337ca1b0167ae6c6754884635a7a52f02b94c7f0e737984edf3da7b7b9e3338
