[INFO] fetching crate tfjs-sys 0.0.1... [INFO] checking tfjs-sys-0.0.1 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] extracting crate tfjs-sys 0.0.1 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate tfjs-sys 0.0.1 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] removed /workspace/builds/worker-0-tc1/source/rust-toolchain [INFO] started tweaking crates.io crate tfjs-sys 0.0.1 [INFO] finished tweaking crates.io crate tfjs-sys 0.0.1 [INFO] tweaked toml for crates.io crate tfjs-sys 0.0.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [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 wasm-bindgen-macro v0.2.75 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.75 [INFO] [stderr] Downloaded weedle v0.12.0 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.75 [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.3.1 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.25 [INFO] [stderr] Downloaded wasm-bindgen-webidl v0.2.75 [INFO] [stderr] Downloaded js-sys v0.3.52 [INFO] [stderr] Downloaded wasm-bindgen v0.2.75 [INFO] [stderr] Downloaded web-sys v0.3.52 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.75 [INFO] [stderr] Downloaded wasm-bindgen-test v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] d8b37b3bba47d933ac8a9498b82e125de41a702618c6e15e012679f18708d0f0 [INFO] running `Command { std: "docker" "start" "-a" "d8b37b3bba47d933ac8a9498b82e125de41a702618c6e15e012679f18708d0f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d8b37b3bba47d933ac8a9498b82e125de41a702618c6e15e012679f18708d0f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8b37b3bba47d933ac8a9498b82e125de41a702618c6e15e012679f18708d0f0", kill_on_drop: false }` [INFO] [stdout] d8b37b3bba47d933ac8a9498b82e125de41a702618c6e15e012679f18708d0f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] e9ccf70744c2ba683adcf282446e731c8636677164c64f7281096d2025fade6b [INFO] running `Command { std: "docker" "start" "-a" "e9ccf70744c2ba683adcf282446e731c8636677164c64f7281096d2025fade6b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.75 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling bumpalo v3.14.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.75 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking quote v1.0.35 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking sourcefile v0.1.4 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.1 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking weedle v0.12.0 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Checking wasm-bindgen-backend v0.2.75 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.75 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.75 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking wasm-bindgen-webidl v0.2.75 [INFO] [stderr] Checking js-sys v0.3.52 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.25 [INFO] [stderr] Checking web-sys v0.3.52 [INFO] [stderr] Checking wasm-bindgen-test v0.3.1 [INFO] [stderr] Checking tfjs-sys v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.19s [INFO] running `Command { std: "docker" "inspect" "e9ccf70744c2ba683adcf282446e731c8636677164c64f7281096d2025fade6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9ccf70744c2ba683adcf282446e731c8636677164c64f7281096d2025fade6b", kill_on_drop: false }` [INFO] [stdout] e9ccf70744c2ba683adcf282446e731c8636677164c64f7281096d2025fade6b [INFO] checking tfjs-sys-0.0.1 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393 [INFO] extracting crate tfjs-sys 0.0.1 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate tfjs-sys 0.0.1 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] removed /workspace/builds/worker-0-tc2/source/rust-toolchain [INFO] started tweaking crates.io crate tfjs-sys 0.0.1 [INFO] finished tweaking crates.io crate tfjs-sys 0.0.1 [INFO] tweaked toml for crates.io crate tfjs-sys 0.0.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] b2cb1820413949472d598382a38f62889a252507956a37fabbdfa63afe12c04a [INFO] running `Command { std: "docker" "start" "-a" "b2cb1820413949472d598382a38f62889a252507956a37fabbdfa63afe12c04a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b2cb1820413949472d598382a38f62889a252507956a37fabbdfa63afe12c04a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2cb1820413949472d598382a38f62889a252507956a37fabbdfa63afe12c04a", kill_on_drop: false }` [INFO] [stdout] b2cb1820413949472d598382a38f62889a252507956a37fabbdfa63afe12c04a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 5d3025ce17fa391a262a8d77b5a1ed7822afcc2ff4f0ac328cbac8ba5aa8a882 [INFO] running `Command { std: "docker" "start" "-a" "5d3025ce17fa391a262a8d77b5a1ed7822afcc2ff4f0ac328cbac8ba5aa8a882", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.75 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling bumpalo v3.14.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling wasm-bindgen v0.2.75 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking sourcefile v0.1.4 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.1 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Checking weedle v0.12.0 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking wasm-bindgen-backend v0.2.75 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.75 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.75 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking wasm-bindgen-webidl v0.2.75 [INFO] [stderr] Checking js-sys v0.3.52 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.25 [INFO] [stderr] Checking web-sys v0.3.52 [INFO] [stderr] Checking wasm-bindgen-test v0.3.1 [INFO] [stderr] Checking tfjs-sys v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[wasm_bindgen(module = "@tensorflow/tfjs")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `__wbg_generated_const_Tensor` [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] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | #[wasm_bindgen(module = "@tensorflow/tfjs")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `__wbg_generated_const_TensorBuffer` [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: 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] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[wasm_bindgen(module = "@tensorflow/tfjs")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `__wbg_generated_const_Variable` [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: 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] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tfjs-sys` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[wasm_bindgen(module = "@tensorflow/tfjs")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `__wbg_generated_const_Tensor` [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] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | #[wasm_bindgen(module = "@tensorflow/tfjs")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `__wbg_generated_const_TensorBuffer` [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: 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] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[wasm_bindgen(module = "@tensorflow/tfjs")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `__wbg_generated_const_Variable` [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: 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] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tfjs-sys` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "5d3025ce17fa391a262a8d77b5a1ed7822afcc2ff4f0ac328cbac8ba5aa8a882", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d3025ce17fa391a262a8d77b5a1ed7822afcc2ff4f0ac328cbac8ba5aa8a882", kill_on_drop: false }` [INFO] [stdout] 5d3025ce17fa391a262a8d77b5a1ed7822afcc2ff4f0ac328cbac8ba5aa8a882