[INFO] cloning repository https://github.com/Siriusmart/scrapyard [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Siriusmart/scrapyard" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSiriusmart%2Fscrapyard", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSiriusmart%2Fscrapyard'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1ab08029c1c1d5fbc244a466350d2e7b42d012dc [INFO] testing Siriusmart/scrapyard against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSiriusmart%2Fscrapyard" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Siriusmart/scrapyard [INFO] finished tweaking git repo https://github.com/Siriusmart/scrapyard [INFO] tweaked toml for git repo https://github.com/Siriusmart/scrapyard written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Siriusmart/scrapyard on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Siriusmart/scrapyard 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-macros v2.1.0 [INFO] [stderr] Downloaded mio v0.8.9 [INFO] [stderr] Downloaded form_urlencoded v1.2.0 [INFO] [stderr] Downloaded diligent-date-parser v0.1.4 [INFO] [stderr] Downloaded percent-encoding v2.3.0 [INFO] [stderr] Downloaded thiserror v1.0.50 [INFO] [stderr] Downloaded async-trait v0.1.74 [INFO] [stderr] Downloaded num-traits v0.2.17 [INFO] [stderr] Downloaded url v2.4.1 [INFO] [stderr] Downloaded js-sys v0.3.64 [INFO] [stderr] Downloaded serde_json v1.0.107 [INFO] [stderr] Downloaded reqwest v0.11.22 [INFO] [stderr] Downloaded h2 v0.3.21 [INFO] [stderr] Downloaded base64 v0.21.5 [INFO] [stderr] Downloaded tokio-util v0.7.10 [INFO] [stderr] Downloaded chrono v0.4.31 [INFO] [stderr] Downloaded object v0.32.1 [INFO] [stderr] Downloaded idna v0.4.0 [INFO] [stderr] Downloaded openssl-sys v0.9.93 [INFO] [stderr] Downloaded wasm-bindgen v0.2.87 [INFO] [stderr] Downloaded gimli v0.28.0 [INFO] [stderr] Downloaded syn v2.0.38 [INFO] [stderr] Downloaded openssl v0.10.57 [INFO] [stderr] Downloaded rustix v0.38.20 [INFO] [stderr] Downloaded hyper v0.14.27 [INFO] [stderr] Downloaded quick-xml v0.30.0 [INFO] [stderr] Downloaded bumpalo v3.14.0 [INFO] [stderr] Downloaded darling_core v0.14.4 [INFO] [stderr] Downloaded serde v1.0.189 [INFO] [stderr] Downloaded thiserror-impl v1.0.50 [INFO] [stderr] Downloaded schannel v0.1.22 [INFO] [stderr] Downloaded security-framework v2.9.2 [INFO] [stderr] Downloaded bitflags v2.4.1 [INFO] [stderr] Downloaded native-tls v0.2.11 [INFO] [stderr] Downloaded iana-time-zone v0.1.58 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.87 [INFO] [stderr] Downloaded libc v0.2.149 [INFO] [stderr] Downloaded darling v0.14.4 [INFO] [stderr] Downloaded derive_builder_core v0.12.0 [INFO] [stderr] Downloaded tokio v1.33.0 [INFO] [stderr] Downloaded derive_builder v0.12.0 [INFO] [stderr] Downloaded web-sys v0.3.64 [INFO] [stderr] Downloaded rss v2.0.6 [INFO] [stderr] Downloaded serde_derive v1.0.189 [INFO] [stderr] Downloaded subprocess v0.2.9 [INFO] [stderr] Downloaded http-body v0.4.5 [INFO] [stderr] Downloaded security-framework-sys v2.9.1 [INFO] [stderr] Downloaded errno v0.3.5 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.37 [INFO] [stderr] Downloaded core-foundation-sys v0.8.4 [INFO] [stderr] Downloaded windows-core v0.51.1 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.87 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.87 [INFO] [stderr] Downloaded never v0.1.0 [INFO] [stderr] Downloaded serde_default v0.1.0 [INFO] [stderr] Downloaded memchr v2.6.4 [INFO] [stderr] Downloaded backtrace v0.3.69 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.87 [INFO] [stderr] Downloaded atom_syndication v0.12.2 [INFO] [stderr] Downloaded darling_macro v0.14.4 [INFO] [stderr] Downloaded derive_builder_macro v0.12.0 [INFO] [stderr] Downloaded serde-inline-default v0.1.1 [INFO] [stderr] Downloaded linux-raw-sys v0.4.10 [INFO] [stderr] Downloaded encoding_rs v0.8.33 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1c21c22eb89002553ce08146d5a6b7185cafa33b03d988cc732abcf41fca16fe [INFO] running `Command { std: "docker" "start" "-a" "1c21c22eb89002553ce08146d5a6b7185cafa33b03d988cc732abcf41fca16fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1c21c22eb89002553ce08146d5a6b7185cafa33b03d988cc732abcf41fca16fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c21c22eb89002553ce08146d5a6b7185cafa33b03d988cc732abcf41fca16fe", kill_on_drop: false }` [INFO] [stdout] 1c21c22eb89002553ce08146d5a6b7185cafa33b03d988cc732abcf41fca16fe [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7eb06c7b3c10c55b7c007c4aad3157272ce7e93c2ce989c0901f37349465435b [INFO] running `Command { std: "docker" "start" "-a" "7eb06c7b3c10c55b7c007c4aad3157272ce7e93c2ce989c0901f37349465435b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling openssl v0.10.57 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling iana-time-zone v0.1.58 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling never v0.1.0 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling scrapyard v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling mio v0.8.9 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling quick-xml v0.30.0 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling subprocess v0.2.9 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling openssl-sys v0.9.93 [INFO] [stderr] Compiling diligent-date-parser v0.1.4 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.189 [INFO] [stderr] Compiling async-recursion v1.0.5 [INFO] [stderr] Compiling tokio v1.33.0 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling serde-inline-default v0.1.1 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_default v0.1.0 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Compiling derive_builder v0.12.0 [INFO] [stderr] Compiling atom_syndication v0.12.2 [INFO] [stderr] Compiling rss v2.0.6 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.21 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.22 [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/locks.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | if $locks.0.get().is_none() { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/options/feeds.rs:74:37 [INFO] [stdout] | [INFO] [stdout] 74 | let _lock = take_lock!(LOCKS, feed.label.clone()); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `take_lock` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/locks.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | $locks.0.set(std::collections::HashMap::default()).unwrap(); [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/options/feeds.rs:74:37 [INFO] [stdout] | [INFO] [stdout] 74 | let _lock = take_lock!(LOCKS, feed.label.clone()); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `take_lock` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/locks.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | / $locks [INFO] [stdout] 21 | | .0 [INFO] [stdout] | |__________________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/options/feeds.rs:74:37 [INFO] [stdout] | [INFO] [stdout] 74 | let _lock = take_lock!(LOCKS, feed.label.clone()); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `take_lock` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 46.58s [INFO] running `Command { std: "docker" "inspect" "7eb06c7b3c10c55b7c007c4aad3157272ce7e93c2ce989c0901f37349465435b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7eb06c7b3c10c55b7c007c4aad3157272ce7e93c2ce989c0901f37349465435b", kill_on_drop: false }` [INFO] [stdout] 7eb06c7b3c10c55b7c007c4aad3157272ce7e93c2ce989c0901f37349465435b [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 317bc9f44a353e8bcded83889f60dfdd336c81af5ac87f6b9d1c46065c377665 [INFO] running `Command { std: "docker" "start" "-a" "317bc9f44a353e8bcded83889f60dfdd336c81af5ac87f6b9d1c46065c377665", kill_on_drop: false }` [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/locks.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | if $locks.0.get().is_none() { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/options/feeds.rs:74:37 [INFO] [stdout] | [INFO] [stdout] 74 | let _lock = take_lock!(LOCKS, feed.label.clone()); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `take_lock` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/locks.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | $locks.0.set(std::collections::HashMap::default()).unwrap(); [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/options/feeds.rs:74:37 [INFO] [stdout] | [INFO] [stdout] 74 | let _lock = take_lock!(LOCKS, feed.label.clone()); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `take_lock` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling scrapyard v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/locks.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | / $locks [INFO] [stdout] 21 | | .0 [INFO] [stdout] | |__________________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/options/feeds.rs:74:37 [INFO] [stdout] | [INFO] [stdout] 74 | let _lock = take_lock!(LOCKS, feed.label.clone()); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `take_lock` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/locks.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | if $locks.0.get().is_none() { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/options/feeds.rs:74:37 [INFO] [stdout] | [INFO] [stdout] 74 | let _lock = take_lock!(LOCKS, feed.label.clone()); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `take_lock` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/locks.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | $locks.0.set(std::collections::HashMap::default()).unwrap(); [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/options/feeds.rs:74:37 [INFO] [stdout] | [INFO] [stdout] 74 | let _lock = take_lock!(LOCKS, feed.label.clone()); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `take_lock` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/locks.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | / $locks [INFO] [stdout] 21 | | .0 [INFO] [stdout] | |__________________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/options/feeds.rs:74:37 [INFO] [stdout] | [INFO] [stdout] 74 | let _lock = take_lock!(LOCKS, feed.label.clone()); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `take_lock` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.85s [INFO] running `Command { std: "docker" "inspect" "317bc9f44a353e8bcded83889f60dfdd336c81af5ac87f6b9d1c46065c377665", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "317bc9f44a353e8bcded83889f60dfdd336c81af5ac87f6b9d1c46065c377665", kill_on_drop: false }` [INFO] [stdout] 317bc9f44a353e8bcded83889f60dfdd336c81af5ac87f6b9d1c46065c377665 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d4dab8a208ed2e350e3e7eaee57a04a23428c83dcf867ab43cae0850e3839a07 [INFO] running `Command { std: "docker" "start" "-a" "d4dab8a208ed2e350e3e7eaee57a04a23428c83dcf867ab43cae0850e3839a07", kill_on_drop: false }` [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/locks.rs:17:16 [INFO] [stderr] | [INFO] [stderr] 17 | if $locks.0.get().is_none() { [INFO] [stderr] | ^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/options/feeds.rs:74:37 [INFO] [stderr] | [INFO] [stderr] 74 | let _lock = take_lock!(LOCKS, feed.label.clone()); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] = note: this warning originates in the macro `take_lock` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/locks.rs:18:17 [INFO] [stderr] | [INFO] [stderr] 18 | $locks.0.set(std::collections::HashMap::default()).unwrap(); [INFO] [stderr] | ^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/options/feeds.rs:74:37 [INFO] [stderr] | [INFO] [stderr] 74 | let _lock = take_lock!(LOCKS, feed.label.clone()); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: this warning originates in the macro `take_lock` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/locks.rs:20:13 [INFO] [stderr] | [INFO] [stderr] 20 | / $locks [INFO] [stderr] 21 | | .0 [INFO] [stderr] | |__________________^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/options/feeds.rs:74:37 [INFO] [stderr] | [INFO] [stderr] 74 | let _lock = take_lock!(LOCKS, feed.label.clone()); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: this warning originates in the macro `take_lock` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `scrapyard` (lib) generated 3 warnings [INFO] [stderr] warning: `scrapyard` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/scrapyard-f5c6ef1e36f1a9b1) [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 scrapyard [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - (line 42) ... FAILED [INFO] [stdout] test src/lib.rs - (line 7) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 42) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PathBuf` [INFO] [stdout] --> src/lib.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 5 | let config_path = PathBuf::from("/my/special/path"); [INFO] [stdout] | ^^^^^^^ use of undeclared type `PathBuf` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:45:36 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_42_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] 5 | let config_path = PathBuf::from("/my/special/path"); [INFO] [stdout] 6 | scrapyard::init(Some(config_path)).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 7) stdout ---- [INFO] [stdout] error: The default runtime flavor is `multi_thread`, but the `rt-multi-thread` feature is disabled. [INFO] [stdout] --> src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[tokio::main] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `tokio::main` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PathBuf` [INFO] [stdout] --> src/lib.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 11 | let feeds_path = PathBuf::from("feeds.json"); [INFO] [stdout] | ^^^^^^^ use of undeclared type `PathBuf` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Feeds` [INFO] [stdout] --> src/lib.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 12 | let feeds = Feeds::load_json(&feeds_path).await [INFO] [stdout] | ^^^^^ use of undeclared type `Feeds` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use scrapyard::Feeds; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Feeds` [INFO] [stdout] --> src/lib.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 14 | let default = Feeds::default(); [INFO] [stdout] | ^^^^^ use of undeclared type `Feeds` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use scrapyard::Feeds; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HttpServer` [INFO] [stdout] --> src/lib.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 24 | HttpServer::new(|| {}) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `HttpServer` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 42) [INFO] [stdout] src/lib.rs - (line 7) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "d4dab8a208ed2e350e3e7eaee57a04a23428c83dcf867ab43cae0850e3839a07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4dab8a208ed2e350e3e7eaee57a04a23428c83dcf867ab43cae0850e3839a07", kill_on_drop: false }` [INFO] [stdout] d4dab8a208ed2e350e3e7eaee57a04a23428c83dcf867ab43cae0850e3839a07