[INFO] fetching crate factorion-bot-reddit 4.0.2... [INFO] testing factorion-bot-reddit-4.0.2 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate factorion-bot-reddit 4.0.2 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate factorion-bot-reddit 4.0.2 [INFO] finished tweaking crates.io crate factorion-bot-reddit 4.0.2 [INFO] tweaked toml for crates.io crate factorion-bot-reddit 4.0.2 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate factorion-bot-reddit 4.0.2 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate factorion-bot-reddit 4.0.2 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded factorion-math v1.0.0 [INFO] [stderr] Downloaded tempfile v3.15.0 [INFO] [stderr] Downloaded factorion-lib v1.0.1 [INFO] [stderr] Downloaded influxdb v0.7.2 [INFO] [stderr] Downloaded influxdb_derive v0.5.1 [INFO] [stderr] Downloaded bitflags v2.7.0 [INFO] [stderr] Downloaded rug v1.27.0 [INFO] [stderr] Downloaded rustix v0.38.43 [INFO] [stderr] Downloaded gmp-mpfr-sys v1.6.4 [INFO] [stderr] Downloaded cc v1.2.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 827e6d4b0d6acfffb99d45b078e64939da95118ae167ba2a60c721980710d096 [INFO] running `Command { std: "docker" "start" "-a" "827e6d4b0d6acfffb99d45b078e64939da95118ae167ba2a60c721980710d096", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "827e6d4b0d6acfffb99d45b078e64939da95118ae167ba2a60c721980710d096", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "827e6d4b0d6acfffb99d45b078e64939da95118ae167ba2a60c721980710d096", kill_on_drop: false }` [INFO] [stdout] 827e6d4b0d6acfffb99d45b078e64939da95118ae167ba2a60c721980710d096 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1de1a0deaf134c379a8f056599e92302a07e308c6c24897a3c11d0a2e850e4de [INFO] running `Command { std: "docker" "start" "-a" "1de1a0deaf134c379a8f056599e92302a07e308c6c24897a3c11d0a2e850e4de", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling cc v1.2.8 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling gmp-mpfr-sys v1.6.4 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling bitflags v2.7.0 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling rug v1.27.0 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling jiff v0.2.5 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling rustls-pki-types v1.10.1 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling ring v0.17.13 [INFO] [stderr] Compiling openssl-sys v0.9.107 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling influxdb_derive v0.5.1 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [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.22 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling influxdb v0.7.2 [INFO] [stderr] Compiling factorion-math v1.0.0 [INFO] [stderr] Compiling factorion-lib v1.0.1 [INFO] [stderr] Compiling factorion-bot-reddit v4.0.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5m 15s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: influxdb v0.7.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "1de1a0deaf134c379a8f056599e92302a07e308c6c24897a3c11d0a2e850e4de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1de1a0deaf134c379a8f056599e92302a07e308c6c24897a3c11d0a2e850e4de", kill_on_drop: false }` [INFO] [stdout] 1de1a0deaf134c379a8f056599e92302a07e308c6c24897a3c11d0a2e850e4de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f85c46684925c5be3ac4e37bb4bcd0f53333b8741d4eeb3d2ae8f1339b583aa [INFO] running `Command { std: "docker" "start" "-a" "1f85c46684925c5be3ac4e37bb4bcd0f53333b8741d4eeb3d2ae8f1339b583aa", kill_on_drop: false }` [INFO] [stderr] Compiling factorion-bot-reddit v4.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `expiration_time` is never read [INFO] [stdout] --> src/reddit_api.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 28 | struct Token { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 29 | access_token: String, [INFO] [stdout] 30 | expiration_time: DateTime, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_token_expired` is never used [INFO] [stdout] --> src/reddit_api.rs:344:8 [INFO] [stdout] | [INFO] [stdout] 60 | impl RedditClient { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 344 | fn is_token_expired(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.24s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: influxdb v0.7.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "1f85c46684925c5be3ac4e37bb4bcd0f53333b8741d4eeb3d2ae8f1339b583aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f85c46684925c5be3ac4e37bb4bcd0f53333b8741d4eeb3d2ae8f1339b583aa", kill_on_drop: false }` [INFO] [stdout] 1f85c46684925c5be3ac4e37bb4bcd0f53333b8741d4eeb3d2ae8f1339b583aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6e454880687f89c956be5b8bfcebccba3a6e21b7583bc4e5c4764a9366155ee3 [INFO] running `Command { std: "docker" "start" "-a" "6e454880687f89c956be5b8bfcebccba3a6e21b7583bc4e5c4764a9366155ee3", kill_on_drop: false }` [INFO] [stderr] warning: field `expiration_time` is never read [INFO] [stderr] --> src/reddit_api.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 28 | struct Token { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 29 | access_token: String, [INFO] [stderr] 30 | expiration_time: DateTime, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `is_token_expired` is never used [INFO] [stderr] --> src/reddit_api.rs:344:8 [INFO] [stderr] | [INFO] [stderr] 60 | impl RedditClient { [INFO] [stderr] | ----------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 344 | fn is_token_expired(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `factorion-bot-reddit` (bin "factorion-bot-reddit" test) generated 2 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: influxdb v0.7.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/factorion_bot_reddit-2aceaa4476192270) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test reddit_api::tests::test_check_response_status ... ok [INFO] [stdout] test reddit_api::tests::test_extract_posts ... ok [INFO] [stdout] test reddit_api::tests::test_get_expiration_time_from_jwt ... ok [INFO] [stdout] test reddit_api::tests::test_extract_comments ... ok [INFO] [stdout] test reddit_api::tests::test_new_client ... ok [INFO] [stdout] test reddit_api::tests::test_get_comments ... ok [INFO] [stdout] test reddit_api::tests::test_reply_to_comment ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.23s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6e454880687f89c956be5b8bfcebccba3a6e21b7583bc4e5c4764a9366155ee3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e454880687f89c956be5b8bfcebccba3a6e21b7583bc4e5c4764a9366155ee3", kill_on_drop: false }` [INFO] [stdout] 6e454880687f89c956be5b8bfcebccba3a6e21b7583bc4e5c4764a9366155ee3