[INFO] cloning repository https://github.com/thesiti92/kmeans-wasm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thesiti92/kmeans-wasm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthesiti92%2Fkmeans-wasm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthesiti92%2Fkmeans-wasm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ee212c6331c81f3965e868e2fd82c8b893cb2f48 [INFO] testing thesiti92/kmeans-wasm against 1.85.0 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthesiti92%2Fkmeans-wasm" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thesiti92/kmeans-wasm on toolchain 1.85.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/thesiti92/kmeans-wasm [INFO] finished tweaking git repo https://github.com/thesiti92/kmeans-wasm [INFO] tweaked toml for git repo https://github.com/thesiti92/kmeans-wasm written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/thesiti92/kmeans-wasm 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" "+1.85.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-2-tc1/source/crate/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.45 [INFO] [stderr] Downloaded wee_alloc v0.4.4 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.45 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.45 [INFO] [stderr] Downloaded backtrace v0.3.20 [INFO] [stderr] Downloaded weedle v0.9.0 [INFO] [stderr] Downloaded js-sys v0.3.22 [INFO] [stderr] Downloaded wasm-bindgen v0.2.45 [INFO] [stderr] Downloaded web-sys v0.3.22 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.45 [INFO] [stderr] Downloaded wasm-bindgen-webidl v0.2.45 [INFO] [stderr] Downloaded bumpalo v2.4.3 [INFO] [stderr] Downloaded autocfg v0.1.3 [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1f11f420aa1e0b574f1298f8c3bb164703a1edfbdd3f8ad0a0c136f939d1e49e [INFO] running `Command { std: "docker" "start" "-a" "1f11f420aa1e0b574f1298f8c3bb164703a1edfbdd3f8ad0a0c136f939d1e49e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f11f420aa1e0b574f1298f8c3bb164703a1edfbdd3f8ad0a0c136f939d1e49e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f11f420aa1e0b574f1298f8c3bb164703a1edfbdd3f8ad0a0c136f939d1e49e", kill_on_drop: false }` [INFO] [stdout] 1f11f420aa1e0b574f1298f8c3bb164703a1edfbdd3f8ad0a0c136f939d1e49e [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4629a206fc8e59f64de2b0214506ee176e0297ddcdf107b0f660eac7b2cceeec [INFO] running `Command { std: "docker" "start" "-a" "4629a206fc8e59f64de2b0214506ee176e0297ddcdf107b0f660eac7b2cceeec", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/crate/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.34 [INFO] [stderr] Compiling autocfg v0.1.3 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling libc v0.2.55 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.45 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling bumpalo v2.4.3 [INFO] [stderr] Compiling cc v1.0.37 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling ryu v0.2.8 [INFO] [stderr] Compiling serde v1.0.91 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling rustc-demangle v0.1.14 [INFO] [stderr] Compiling regex v1.1.6 [INFO] [stderr] Compiling backtrace v0.3.20 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling wasm-bindgen v0.2.45 [INFO] [stderr] Compiling regex-syntax v0.6.6 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling unicode-segmentation v1.3.0 [INFO] [stderr] Compiling humantime v1.2.0 [INFO] [stderr] Compiling termcolor v1.0.4 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling sourcefile v0.1.4 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling aho-corasick v0.7.3 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling weedle v0.9.0 [INFO] [stderr] Compiling env_logger v0.6.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.45 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling serde_derive v1.0.91 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.45 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling wasm-bindgen-webidl v0.2.45 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.45 [INFO] [stderr] Compiling web-sys v0.3.22 [INFO] [stderr] Compiling serde_json v1.0.39 [INFO] [stderr] Compiling js-sys v0.3.22 [INFO] [stderr] Compiling console_error_panic_hook v0.1.6 [INFO] [stderr] Compiling kmeans-wasm v0.1.0 (/opt/rustwide/workdir/crate) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> crate/src/point.rs:4:41 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Clone, PartialEq, Copy, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `console_error_panic_hook`, `default`, and `wee_alloc` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> crate/src/point.rs:4:52 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Clone, PartialEq, Copy, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `console_error_panic_hook`, `default`, and `wee_alloc` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> crate/src/point.rs:4:41 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Clone, PartialEq, Copy, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Point` [INFO] [stdout] 5 | pub struct Point { [INFO] [stdout] | ----- `Point` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> crate/src/point.rs:4:52 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Clone, PartialEq, Copy, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Point` [INFO] [stdout] 5 | pub struct Point { [INFO] [stdout] | ----- `Point` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (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 30.34s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3, wasm-bindgen v0.2.45 [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" "4629a206fc8e59f64de2b0214506ee176e0297ddcdf107b0f660eac7b2cceeec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4629a206fc8e59f64de2b0214506ee176e0297ddcdf107b0f660eac7b2cceeec", kill_on_drop: false }` [INFO] [stdout] 4629a206fc8e59f64de2b0214506ee176e0297ddcdf107b0f660eac7b2cceeec [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 55fe681d3c969c94250ab71368bb2c9604442383f3a5e0eaa475cd305b0575c1 [INFO] running `Command { std: "docker" "start" "-a" "55fe681d3c969c94250ab71368bb2c9604442383f3a5e0eaa475cd305b0575c1", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/crate/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling kmeans-wasm v0.1.0 (/opt/rustwide/workdir/crate) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> crate/src/point.rs:4:41 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Clone, PartialEq, Copy, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `console_error_panic_hook`, `default`, and `wee_alloc` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> crate/src/point.rs:4:52 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Clone, PartialEq, Copy, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `console_error_panic_hook`, `default`, and `wee_alloc` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> crate/src/point.rs:4:41 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Clone, PartialEq, Copy, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Point` [INFO] [stdout] 5 | pub struct Point { [INFO] [stdout] | ----- `Point` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> crate/src/point.rs:4:52 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Clone, PartialEq, Copy, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Point` [INFO] [stdout] 5 | pub struct Point { [INFO] [stdout] | ----- `Point` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (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 0.65s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3, wasm-bindgen v0.2.45 [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" "55fe681d3c969c94250ab71368bb2c9604442383f3a5e0eaa475cd305b0575c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55fe681d3c969c94250ab71368bb2c9604442383f3a5e0eaa475cd305b0575c1", kill_on_drop: false }` [INFO] [stdout] 55fe681d3c969c94250ab71368bb2c9604442383f3a5e0eaa475cd305b0575c1 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a5026b1e19cf855a8cdb995063257901290b924fbad14d802be316305ac1bd13 [INFO] running `Command { std: "docker" "start" "-a" "a5026b1e19cf855a8cdb995063257901290b924fbad14d802be316305ac1bd13", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/crate/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> crate/src/point.rs:4:41 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Debug, Clone, PartialEq, Copy, Serialize, Deserialize)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `console_error_panic_hook`, `default`, and `wee_alloc` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> crate/src/point.rs:4:52 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Debug, Clone, PartialEq, Copy, Serialize, Deserialize)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `console_error_panic_hook`, `default`, and `wee_alloc` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> crate/src/point.rs:4:41 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Debug, Clone, PartialEq, Copy, Serialize, Deserialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Point` [INFO] [stderr] 5 | pub struct Point { [INFO] [stderr] | ----- `Point` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = 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] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> crate/src/point.rs:4:52 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Debug, Clone, PartialEq, Copy, Serialize, Deserialize)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Point` [INFO] [stderr] 5 | pub struct Point { [INFO] [stderr] | ----- `Point` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = 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] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `kmeans-wasm` (lib test) generated 4 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3, wasm-bindgen v0.2.45 [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/lib.rs (/opt/rustwide/target/debug/deps/kmeans_wasm-bf93bebcf9921851) [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] running `Command { std: "docker" "inspect" "a5026b1e19cf855a8cdb995063257901290b924fbad14d802be316305ac1bd13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5026b1e19cf855a8cdb995063257901290b924fbad14d802be316305ac1bd13", kill_on_drop: false }` [INFO] [stdout] a5026b1e19cf855a8cdb995063257901290b924fbad14d802be316305ac1bd13