[INFO] fetching crate rupring 0.13.0... [INFO] checking rupring-0.13.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate rupring 0.13.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate rupring 0.13.0 [INFO] finished tweaking crates.io crate rupring 0.13.0 [INFO] tweaked toml for crates.io crate rupring 0.13.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rupring 0.13.0 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 164 packages to latest compatible versions [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] Downloading crates ... [INFO] [stderr] Downloaded rupring_macro v0.11.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 58c03289ac94df954f5231c269f4f429e742941afd952da27c3da06bed3ceb74 [INFO] running `Command { std: "docker" "start" "-a" "58c03289ac94df954f5231c269f4f429e742941afd952da27c3da06bed3ceb74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "58c03289ac94df954f5231c269f4f429e742941afd952da27c3da06bed3ceb74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58c03289ac94df954f5231c269f4f429e742941afd952da27c3da06bed3ceb74", kill_on_drop: false }` [INFO] [stdout] 58c03289ac94df954f5231c269f4f429e742941afd952da27c3da06bed3ceb74 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c94c4e2be74c90d1f733ed226df3bb46b752196e659f66ca1fce7d20b7caa4b [INFO] running `Command { std: "docker" "start" "-a" "0c94c4e2be74c90d1f733ed226df3bb46b752196e659f66ca1fce7d20b7caa4b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking indexmap v2.11.0 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling uuid-macro-internal v1.18.0 [INFO] [stderr] Compiling rupring_macro v0.11.0 [INFO] [stderr] Checking uuid v1.18.0 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking h2 v0.4.12 [INFO] [stderr] Checking hyper v1.7.0 [INFO] [stderr] Checking hyper-util v0.1.16 [INFO] [stderr] Checking rupring v0.13.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/swagger/context.rs:23:33 [INFO] [stdout] | [INFO] [stdout] 23 | swagger.tags = unsafe { SWAGGER_TAGS.0.clone() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/swagger/context.rs:23:33 [INFO] [stdout] | [INFO] [stdout] 23 | swagger.tags = unsafe { SWAGGER_TAGS.0.clone() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/test_proc_macro/injectable.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 88 | fn test_1대1_inject() { [INFO] [stdout] | --------------------- move the `impl` block outside of this function `test_1대1_inject` [INFO] [stdout] 89 | impl Clone for SomeRepositoryFactory { [INFO] [stdout] | ^^^^^-----^^^^^--------------------- [INFO] [stdout] | | | [INFO] [stdout] | | `SomeRepositoryFactory` is not local [INFO] [stdout] | `Clone` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/test_proc_macro/injectable.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 88 | fn test_1대1_inject() { [INFO] [stdout] | --------------------- move the `impl` block outside of this function `test_1대1_inject` [INFO] [stdout] ... [INFO] [stdout] 95 | impl Clone for SomeServiceFactory { [INFO] [stdout] | ^^^^^-----^^^^^------------------ [INFO] [stdout] | | | [INFO] [stdout] | | `SomeServiceFactory` is not local [INFO] [stdout] | `Clone` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/test_proc_macro/injectable.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 167 | fn test_1대1_inject() { [INFO] [stdout] | --------------------- move the `impl` block outside of this function `test_1대1_inject` [INFO] [stdout] 168 | impl Clone for foo::SomeRepositoryFactory { [INFO] [stdout] | ^^^^^-----^^^^^-------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | `SomeRepositoryFactory` is not local [INFO] [stdout] | `Clone` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/test_proc_macro/injectable.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 167 | fn test_1대1_inject() { [INFO] [stdout] | --------------------- move the `impl` block outside of this function `test_1대1_inject` [INFO] [stdout] ... [INFO] [stdout] 174 | impl Clone for SomeServiceFactory { [INFO] [stdout] | ^^^^^-----^^^^^------------------ [INFO] [stdout] | | | [INFO] [stdout] | | `SomeServiceFactory` is not local [INFO] [stdout] | `Clone` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.29s [INFO] running `Command { std: "docker" "inspect" "0c94c4e2be74c90d1f733ed226df3bb46b752196e659f66ca1fce7d20b7caa4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c94c4e2be74c90d1f733ed226df3bb46b752196e659f66ca1fce7d20b7caa4b", kill_on_drop: false }` [INFO] [stdout] 0c94c4e2be74c90d1f733ed226df3bb46b752196e659f66ca1fce7d20b7caa4b