[INFO] cloning repository https://github.com/ffimnsr/random-cloud-worker-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ffimnsr/random-cloud-worker-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fffimnsr%2Frandom-cloud-worker-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fffimnsr%2Frandom-cloud-worker-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 95d9ca809159d1e814ea4db9febab816ae37916a [INFO] checking ffimnsr/random-cloud-worker-rs against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fffimnsr%2Frandom-cloud-worker-rs" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ffimnsr/random-cloud-worker-rs on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ffimnsr/random-cloud-worker-rs [INFO] finished tweaking git repo https://github.com/ffimnsr/random-cloud-worker-rs [INFO] tweaked toml for git repo https://github.com/ffimnsr/random-cloud-worker-rs written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ffimnsr/random-cloud-worker-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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde-wasm-bindgen v0.1.3 [INFO] [stderr] Downloaded syn v1.0.50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3c1fcdac30eabdb05caae06b9b20fd9c15d36d9962e3de6c0f38c86da1c3f0b4 [INFO] running `Command { std: "docker" "start" "-a" "3c1fcdac30eabdb05caae06b9b20fd9c15d36d9962e3de6c0f38c86da1c3f0b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3c1fcdac30eabdb05caae06b9b20fd9c15d36d9962e3de6c0f38c86da1c3f0b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c1fcdac30eabdb05caae06b9b20fd9c15d36d9962e3de6c0f38c86da1c3f0b4", kill_on_drop: false }` [INFO] [stdout] 3c1fcdac30eabdb05caae06b9b20fd9c15d36d9962e3de6c0f38c86da1c3f0b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 322ff33bcb751f38a0640987bca5eb6982de97f9cb2df684c49abe92767d1337 [INFO] running `Command { std: "docker" "start" "-a" "322ff33bcb751f38a0640987bca5eb6982de97f9cb2df684c49abe92767d1337", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.50 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.65 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bumpalo v3.4.0 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling wasm-bindgen v0.2.65 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking futures v0.1.30 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.2.50 [INFO] [stderr] Checking flate2 v1.0.19 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.65 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.65 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.65 [INFO] [stderr] Checking js-sys v0.3.42 [INFO] [stderr] Checking console_error_panic_hook v0.1.6 [INFO] [stderr] Checking wasm-bindgen-futures v0.3.27 [INFO] [stderr] Checking serde-wasm-bindgen v0.1.3 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.15 [INFO] [stderr] Checking wasm-bindgen-test v0.2.50 [INFO] [stderr] Checking random-worker v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self::console_error_panic_hook::set_once as set_panic_hook` [INFO] [stdout] --> src/utils.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | pub use self::console_error_panic_hook::set_once as set_panic_hook; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:53:38 [INFO] [stdout] | [INFO] [stdout] 53 | println!("Chunk: {:?}", chunk.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u32]` does not implement `Clone`, so calling `clone` on `&[u32]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::console_error_panic_hook::set_once as set_panic_hook` [INFO] [stdout] --> src/utils.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | pub use self::console_error_panic_hook::set_once as set_panic_hook; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:53:38 [INFO] [stdout] | [INFO] [stdout] 53 | println!("Chunk: {:?}", chunk.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u32]` does not implement `Clone`, so calling `clone` on `&[u32]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.05s [INFO] running `Command { std: "docker" "inspect" "322ff33bcb751f38a0640987bca5eb6982de97f9cb2df684c49abe92767d1337", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "322ff33bcb751f38a0640987bca5eb6982de97f9cb2df684c49abe92767d1337", kill_on_drop: false }` [INFO] [stdout] 322ff33bcb751f38a0640987bca5eb6982de97f9cb2df684c49abe92767d1337 [INFO] checking ffimnsr/random-cloud-worker-rs against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fffimnsr%2Frandom-cloud-worker-rs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ffimnsr/random-cloud-worker-rs on toolchain 7622c0f807a4e13c4db886a1681bf343795692df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ffimnsr/random-cloud-worker-rs [INFO] finished tweaking git repo https://github.com/ffimnsr/random-cloud-worker-rs [INFO] tweaked toml for git repo https://github.com/ffimnsr/random-cloud-worker-rs written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ffimnsr/random-cloud-worker-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" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0feb49039b534339fed971269d4f158eb1318b56190acae8a81be390a3c0b7e6 [INFO] running `Command { std: "docker" "start" "-a" "0feb49039b534339fed971269d4f158eb1318b56190acae8a81be390a3c0b7e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0feb49039b534339fed971269d4f158eb1318b56190acae8a81be390a3c0b7e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0feb49039b534339fed971269d4f158eb1318b56190acae8a81be390a3c0b7e6", kill_on_drop: false }` [INFO] [stdout] 0feb49039b534339fed971269d4f158eb1318b56190acae8a81be390a3c0b7e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dnon_local_definitions" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4fa531e4198f749b8f323c4e644d54626a11825ca00a7d178f9c7734b7f97ba9 [INFO] running `Command { std: "docker" "start" "-a" "4fa531e4198f749b8f323c4e644d54626a11825ca00a7d178f9c7734b7f97ba9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.50 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.65 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bumpalo v3.4.0 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling wasm-bindgen v0.2.65 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking futures v0.1.30 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.2.50 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking flate2 v1.0.19 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.65 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.65 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.65 [INFO] [stderr] Checking js-sys v0.3.42 [INFO] [stderr] Checking console_error_panic_hook v0.1.6 [INFO] [stderr] Checking serde-wasm-bindgen v0.1.3 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.15 [INFO] [stderr] Checking wasm-bindgen-futures v0.3.27 [INFO] [stderr] Checking wasm-bindgen-test v0.2.50 [INFO] [stderr] Checking random-worker v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self::console_error_panic_hook::set_once as set_panic_hook` [INFO] [stdout] --> src/utils.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | pub use self::console_error_panic_hook::set_once as set_panic_hook; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/lib.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `__wbg_generated_const_KV` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:53:38 [INFO] [stdout] | [INFO] [stdout] 53 | println!("Chunk: {:?}", chunk.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u32]` does not implement `Clone`, so calling `clone` on `&[u32]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `random-worker` (lib) due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "4fa531e4198f749b8f323c4e644d54626a11825ca00a7d178f9c7734b7f97ba9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fa531e4198f749b8f323c4e644d54626a11825ca00a7d178f9c7734b7f97ba9", kill_on_drop: false }` [INFO] [stdout] 4fa531e4198f749b8f323c4e644d54626a11825ca00a7d178f9c7734b7f97ba9