[INFO] cloning repository https://github.com/IlTeo285/spaggiari-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/IlTeo285/spaggiari-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIlTeo285%2Fspaggiari-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIlTeo285%2Fspaggiari-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 31f5eb199bd90d65315916bc6beff7deab2d1e81
[INFO] testing IlTeo285/spaggiari-rs against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIlTeo285%2Fspaggiari-rs" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/IlTeo285/spaggiari-rs
[INFO] finished tweaking git repo https://github.com/IlTeo285/spaggiari-rs
[INFO] tweaked toml for git repo https://github.com/IlTeo285/spaggiari-rs written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/IlTeo285/spaggiari-rs on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/IlTeo285/spaggiari-rs 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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6230562c7c130090ad3393af4bf9bb614a3803860c9050d707319574d012ca1e
[INFO] running `Command { std: "docker" "start" "-a" "6230562c7c130090ad3393af4bf9bb614a3803860c9050d707319574d012ca1e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6230562c7c130090ad3393af4bf9bb614a3803860c9050d707319574d012ca1e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6230562c7c130090ad3393af4bf9bb614a3803860c9050d707319574d012ca1e", kill_on_drop: false }`
[INFO] [stdout] 6230562c7c130090ad3393af4bf9bb614a3803860c9050d707319574d012ca1e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 9416b6d2a9b0236d4ffc941cf95f90ddcc2e7c19f6e6f15a4900c2a5147eab9d
[INFO] running `Command { std: "docker" "start" "-a" "9416b6d2a9b0236d4ffc941cf95f90ddcc2e7c19f6e6f15a4900c2a5147eab9d", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-ident v1.0.19
[INFO] [stderr]    Compiling quote v1.0.41
[INFO] [stderr]    Compiling libc v0.2.176
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling find-msvc-tools v0.1.3
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling lock_api v0.4.14
[INFO] [stderr]    Compiling siphasher v1.0.1
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling cc v1.2.40
[INFO] [stderr]    Compiling phf_shared v0.11.3
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling log v0.4.28
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling pkg-config v0.3.32
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling phf_generator v0.11.3
[INFO] [stderr]    Compiling tracing-core v0.1.34
[INFO] [stderr]    Compiling phf_codegen v0.11.3
[INFO] [stderr]    Compiling new_debug_unreachable v1.0.6
[INFO] [stderr]    Compiling bitflags v2.9.4
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling hashbrown v0.16.0
[INFO] [stderr]    Compiling signal-hook-registry v1.4.6
[INFO] [stderr]    Compiling socket2 v0.6.0
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling zeroize v1.8.2
[INFO] [stderr]    Compiling indexmap v2.11.4
[INFO] [stderr]    Compiling rustls-pki-types v1.12.0
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling string_cache_codegen v0.5.4
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling precomputed-hash v0.1.1
[INFO] [stderr]    Compiling web_atoms v0.1.3
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling mac v0.1.1
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling rustls v0.23.32
[INFO] [stderr]    Compiling cookie v0.18.1
[INFO] [stderr]    Compiling futf v0.1.5
[INFO] [stderr]    Compiling deranged v0.5.4
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling ipnet v2.11.0
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling utf-8 v0.7.6
[INFO] [stderr]    Compiling dtoa v1.0.10
[INFO] [stderr]    Compiling tendril v0.4.3
[INFO] [stderr]    Compiling dtoa-short v0.3.5
[INFO] [stderr]    Compiling selectors v0.31.0
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling litrs v0.4.2
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling anstyle-query v1.1.5
[INFO] [stderr]    Compiling psl-types v2.0.11
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.2
[INFO] [stderr]    Compiling anstyle v1.0.13
[INFO] [stderr]    Compiling fxhash v0.2.1
[INFO] [stderr]    Compiling webpki-roots v1.0.2
[INFO] [stderr]    Compiling document-features v0.2.11
[INFO] [stderr]    Compiling anstream v0.6.21
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling time v0.3.44
[INFO] [stderr]    Compiling servo_arc v0.4.1
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]    Compiling iri-string v0.7.8
[INFO] [stderr]    Compiling anyhow v1.0.100
[INFO] [stderr]    Compiling clap_lex v0.7.6
[INFO] [stderr]    Compiling clap_builder v4.5.53
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]    Compiling rustls-webpki v0.103.7
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling sharded-slab v0.1.7
[INFO] [stderr]    Compiling getopts v0.2.24
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling csv-core v0.1.12
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[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 tokio-macros v2.6.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling tokio v1.48.0
[INFO] [stderr]    Compiling phf_macros v0.11.3
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling zerovec v0.11.4
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling phf v0.11.3
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling derive_more-impl v2.0.1
[INFO] [stderr]    Compiling cssparser-macros v0.6.1
[INFO] [stderr]    Compiling derive_more v2.0.1
[INFO] [stderr]    Compiling match_token v0.35.0
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]    Compiling potential_utf v0.1.3
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[INFO] [stderr]    Compiling cssparser v0.35.0
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling clap_derive v4.5.49
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]    Compiling icu_properties v2.0.1
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]    Compiling thread_local v1.1.9
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling string_cache v0.8.9
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling ego-tree v0.10.0
[INFO] [stderr]    Compiling nu-ansi-term v0.50.3
[INFO] [stderr]    Compiling clap v4.5.53
[INFO] [stderr]    Compiling url v2.5.7
[INFO] [stderr]    Compiling tokio-util v0.7.16
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling markup5ever v0.35.0
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling h2 v0.4.12
[INFO] [stderr]    Compiling tokio-rustls v0.26.4
[INFO] [stderr]    Compiling publicsuffix v2.3.0
[INFO] [stderr]    Compiling tower-http v0.6.6
[INFO] [stderr]    Compiling html5ever v0.35.0
[INFO] [stderr]    Compiling cookie_store v0.21.1
[INFO] [stderr]    Compiling tracing-subscriber v0.3.20
[INFO] [stderr]    Compiling regex v1.12.2
[INFO] [stderr]    Compiling csv v1.4.0
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling scraper v0.24.0
[INFO] [stderr]    Compiling hyper v1.7.0
[INFO] [stderr]    Compiling hyper-util v0.1.17
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling hyper-rustls v0.27.7
[INFO] [stderr]    Compiling reqwest v0.12.24
[INFO] [stderr]    Compiling spaggiari-rs v0.1.3 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 20s
[INFO] running `Command { std: "docker" "inspect" "9416b6d2a9b0236d4ffc941cf95f90ddcc2e7c19f6e6f15a4900c2a5147eab9d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9416b6d2a9b0236d4ffc941cf95f90ddcc2e7c19f6e6f15a4900c2a5147eab9d", kill_on_drop: false }`
[INFO] [stdout] 9416b6d2a9b0236d4ffc941cf95f90ddcc2e7c19f6e6f15a4900c2a5147eab9d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] c3fc1af3b52fd8f3e13dea0b9244512c1e67946e42b03f311933bb2010470c12
[INFO] running `Command { std: "docker" "start" "-a" "c3fc1af3b52fd8f3e13dea0b9244512c1e67946e42b03f311933bb2010470c12", kill_on_drop: false }`
[INFO] [stderr]    Compiling spaggiari-rs v0.1.3 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 4.34s
[INFO] running `Command { std: "docker" "inspect" "c3fc1af3b52fd8f3e13dea0b9244512c1e67946e42b03f311933bb2010470c12", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c3fc1af3b52fd8f3e13dea0b9244512c1e67946e42b03f311933bb2010470c12", kill_on_drop: false }`
[INFO] [stdout] c3fc1af3b52fd8f3e13dea0b9244512c1e67946e42b03f311933bb2010470c12
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] d76bfbb06a16711e98514bf6d6400897e597cf5341115a500db8ed2470791d04
[INFO] running `Command { std: "docker" "start" "-a" "d76bfbb06a16711e98514bf6d6400897e597cf5341115a500db8ed2470791d04", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.37s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/build/spaggiari-rs/ccc4e11f8e5623e1/deps/spaggiari_rs-ccc4e11f8e5623e1)
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test error::tests::test_error_display ... ok
[INFO] [stdout] test error::tests::test_error_from_string ... ok
[INFO] [stdout] test tests::test_create_client ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.15s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/build/spaggiari-rs/db593a7ba457441b/deps/spaggiari_cli-db593a7ba457441b)
[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 spaggiari_rs
[INFO] [stdout] 
[INFO] [stdout] running 6 tests
[INFO] [stdout] test src/lib.rs - SpaggiariSession::download_allegati_bytes (line 197) ... FAILED
[INFO] [stdout] test src/lib.rs - SpaggiariSession::get_bacheca (line 133) ... FAILED
[INFO] [stdout] test src/lib.rs - SpaggiariSession::download_file_bytes (line 177) ... FAILED
[INFO] [stdout] test src/lib.rs - SpaggiariSession::new (line 68) ... FAILED
[INFO] [stdout] test src/lib.rs - SpaggiariSession::from_token (line 96) ... FAILED
[INFO] [stdout] test src/lib.rs - create_client (line 32) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - SpaggiariSession::download_allegati_bytes (line 197) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `session` in this scope
[INFO] [stdout]    --> src/lib.rs:198:21
[INFO] [stdout]     |
[INFO] [stdout] 198 | let comunicazione = session.get_comunicazione("123").await?;
[INFO] [stdout]     |                     ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `session` in this scope
[INFO] [stdout]    --> src/lib.rs:199:13
[INFO] [stdout]     |
[INFO] [stdout] 199 | let files = session.download_allegati_bytes(&comunicazione.allegati).await?;
[INFO] [stdout]     |             ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/lib.rs:198:54
[INFO] [stdout]     |
[INFO] [stdout] 197 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_197_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] 198 | let comunicazione = session.get_comunicazione("123").await?;
[INFO] [stdout]     |                                                      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/lib.rs:199:70
[INFO] [stdout]     |
[INFO] [stdout] 197 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_197_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] 198 | let comunicazione = session.get_comunicazione("123").await?;
[INFO] [stdout] 199 | let files = session.download_allegati_bytes(&comunicazione.allegati).await?;
[INFO] [stdout]     |                                                                      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/lib.rs:201:51
[INFO] [stdout]     |
[INFO] [stdout] 201 |     println!("Scaricato {} ({} bytes)", filename, content.len());
[INFO] [stdout]     |                                                   ^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - SpaggiariSession::get_bacheca (line 133) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SpaggiariSession`
[INFO] [stdout]    --> src/lib.rs:134:15
[INFO] [stdout]     |
[INFO] [stdout] 134 | let session = SpaggiariSession::new("username", "password").unwrap();
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^ use of undeclared type `SpaggiariSession`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 133 + use spaggiari_rs::SpaggiariSession;
[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 - SpaggiariSession::download_file_bytes (line 177) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `session` in this scope
[INFO] [stdout]    --> src/lib.rs:178:27
[INFO] [stdout]     |
[INFO] [stdout] 178 | let (filename, content) = session.download_file_bytes("https://...").await?;
[INFO] [stdout]     |                           ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/lib.rs:178:70
[INFO] [stdout]     |
[INFO] [stdout] 177 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_177_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] 178 | let (filename, content) = session.download_file_bytes("https://...").await?;
[INFO] [stdout]     |                                                                      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/lib.rs:179:47
[INFO] [stdout]     |
[INFO] [stdout] 179 | println!("Scaricato {} ({} bytes)", filename, content.len());
[INFO] [stdout]     |                                               ^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - SpaggiariSession::new (line 68) stdout ----
[INFO] [stdout] error[E0599]: no method named `unwrap` found for opaque type `impl Future<Output = Result<SpaggiariSession, SpaggiariError>>` in the current scope
[INFO] [stdout]   --> src/lib.rs:72:67
[INFO] [stdout]    |
[INFO] [stdout] 72 | let session = SpaggiariSession::new("CODICE_FISCALE", "PASSWORD").unwrap();
[INFO] [stdout]    |                                                                   ^^^^^^ method not found in `impl Future<Output = Result<SpaggiariSession, SpaggiariError>>`
[INFO] [stdout]    |
[INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output`
[INFO] [stdout]    |
[INFO] [stdout] 72 | let session = SpaggiariSession::new("CODICE_FISCALE", "PASSWORD").await.unwrap();
[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 E0599`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - SpaggiariSession::from_token (line 96) stdout ----
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:100:44
[INFO] [stdout]     |
[INFO] [stdout] 100 | let session = SpaggiariSession::from_token("token_esistente").unwrap();
[INFO] [stdout]     |               ---------------------------- ^^^^^^^^^^^^^^^^^ expected `String`, found `&str`
[INFO] [stdout]     |               |
[INFO] [stdout]     |               arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/lib.rs:101:18
[INFO] [stdout]     |
[INFO] [stdout] 101 |     pub async fn from_token(session_token: String) -> Result<Self, SpaggiariError> {
[INFO] [stdout]     |                  ^^^^^^^^^^
[INFO] [stdout] help: try using a conversion method
[INFO] [stdout]     |
[INFO] [stdout] 100 | let session = SpaggiariSession::from_token("token_esistente".to_string()).unwrap();
[INFO] [stdout]     |                                                             ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `unwrap` found for opaque type `impl Future<Output = Result<SpaggiariSession, SpaggiariError>>` in the current scope
[INFO] [stdout]    --> src/lib.rs:100:63
[INFO] [stdout]     |
[INFO] [stdout] 100 | let session = SpaggiariSession::from_token("token_esistente").unwrap();
[INFO] [stdout]     |                                                               ^^^^^^ method not found in `impl Future<Output = Result<SpaggiariSession, SpaggiariError>>`
[INFO] [stdout]     |
[INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output`
[INFO] [stdout]     |
[INFO] [stdout] 100 | let session = SpaggiariSession::from_token("token_esistente").await.unwrap();
[INFO] [stdout]     |                                                               ++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - SpaggiariSession::download_allegati_bytes (line 197)
[INFO] [stdout]     src/lib.rs - SpaggiariSession::download_file_bytes (line 177)
[INFO] [stdout]     src/lib.rs - SpaggiariSession::from_token (line 96)
[INFO] [stdout]     src/lib.rs - SpaggiariSession::get_bacheca (line 133)
[INFO] [stdout]     src/lib.rs - SpaggiariSession::new (line 68)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 1 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.71s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "d76bfbb06a16711e98514bf6d6400897e597cf5341115a500db8ed2470791d04", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d76bfbb06a16711e98514bf6d6400897e597cf5341115a500db8ed2470791d04", kill_on_drop: false }`
[INFO] [stdout] d76bfbb06a16711e98514bf6d6400897e597cf5341115a500db8ed2470791d04
