[INFO] fetching crate notion-sdk 0.0.0... [INFO] testing notion-sdk-0.0.0 against 1.91.0 for beta-1.92-2 [INFO] extracting crate notion-sdk 0.0.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate notion-sdk 0.0.0 [INFO] finished tweaking crates.io crate notion-sdk 0.0.0 [INFO] tweaked toml for crates.io crate notion-sdk 0.0.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate notion-sdk 0.0.0 on toolchain 1.91.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "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" "+1.91.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 172 packages to latest compatible versions [INFO] [stderr] Adding emojis v0.6.4 (available: v0.8.0) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.24) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded phf v0.11.3 [INFO] [stderr] Downloaded siphasher v1.0.1 [INFO] [stderr] Downloaded phf_shared v0.11.3 [INFO] [stderr] Downloaded emojis v0.6.4 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 166bdfe07311de2268734ca3b1e327e3b74fb8192d7cc61f498f05d29a2296d9 [INFO] running `Command { std: "docker" "start" "-a" "166bdfe07311de2268734ca3b1e327e3b74fb8192d7cc61f498f05d29a2296d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "166bdfe07311de2268734ca3b1e327e3b74fb8192d7cc61f498f05d29a2296d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "166bdfe07311de2268734ca3b1e327e3b74fb8192d7cc61f498f05d29a2296d9", kill_on_drop: false }` [INFO] [stdout] 166bdfe07311de2268734ca3b1e327e3b74fb8192d7cc61f498f05d29a2296d9 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3be13a224d666ecb5597b524a27ab352d3f2934589a41f04dd4e4f15a4c61894 [INFO] running `Command { std: "docker" "start" "-a" "3be13a224d666ecb5597b524a27ab352d3f2934589a41f04dd4e4f15a4c61894", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling find-msvc-tools v0.1.4 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling icu_properties_data v2.1.1 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling openssl v0.10.74 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling cc v1.2.44 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Compiling emojis v0.6.4 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling openssl-sys v0.9.110 [INFO] [stderr] Compiling mio v1.1.0 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling notion-sdk v0.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.56s [INFO] running `Command { std: "docker" "inspect" "3be13a224d666ecb5597b524a27ab352d3f2934589a41f04dd4e4f15a4c61894", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3be13a224d666ecb5597b524a27ab352d3f2934589a41f04dd4e4f15a4c61894", kill_on_drop: false }` [INFO] [stdout] 3be13a224d666ecb5597b524a27ab352d3f2934589a41f04dd4e4f15a4c61894 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 440d7c3b85898504e6127cd41758ce64eacdd2cad665b62cf1ec970c0822ed6b [INFO] running `Command { std: "docker" "start" "-a" "440d7c3b85898504e6127cd41758ce64eacdd2cad665b62cf1ec970c0822ed6b", kill_on_drop: false }` [INFO] [stderr] Compiling notion-sdk v0.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.79s [INFO] running `Command { std: "docker" "inspect" "440d7c3b85898504e6127cd41758ce64eacdd2cad665b62cf1ec970c0822ed6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "440d7c3b85898504e6127cd41758ce64eacdd2cad665b62cf1ec970c0822ed6b", kill_on_drop: false }` [INFO] [stdout] 440d7c3b85898504e6127cd41758ce64eacdd2cad665b62cf1ec970c0822ed6b [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6cb304ade0032f8b69bfd0417a830d1ee5b5e7462e41571b2c53dcdf4d003c21 [INFO] running `Command { std: "docker" "start" "-a" "6cb304ade0032f8b69bfd0417a830d1ee5b5e7462e41571b2c53dcdf4d003c21", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/notion_sdk-9be6ac76f7b8e0fe) [INFO] [stderr] Doc-tests notion_sdk [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 4 tests [INFO] [stdout] test src/pages/mod.rs - pages (line 5) - compile ... ok [INFO] [stdout] test src/block/mod.rs - block (line 5) - compile ... ok [INFO] [stdout] test src/database/mod.rs - database (line 5) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 12) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 12) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:16:41 [INFO] [stdout] | [INFO] [stdout] 5 | async fn main(){ [INFO] [stdout] | ________________- [INFO] [stdout] 6 | | let notion = NotionApi::new("token")?; [INFO] [stdout] | | ^ cannot use the `?` operator in an async function that returns `()` [INFO] [stdout] 7 | | let me = notion.users_me().await; [INFO] [stdout] 8 | | println!("{:#?}", me); [INFO] [stdout] 9 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/lib.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 5 | async fn main(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 12) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 3 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.23s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "6cb304ade0032f8b69bfd0417a830d1ee5b5e7462e41571b2c53dcdf4d003c21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cb304ade0032f8b69bfd0417a830d1ee5b5e7462e41571b2c53dcdf4d003c21", kill_on_drop: false }` [INFO] [stdout] 6cb304ade0032f8b69bfd0417a830d1ee5b5e7462e41571b2c53dcdf4d003c21