[INFO] fetching crate location_based_sharding 0.1.4... [INFO] testing location_based_sharding-0.1.4 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate location_based_sharding 0.1.4 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate location_based_sharding 0.1.4 [INFO] finished tweaking crates.io crate location_based_sharding 0.1.4 [INFO] tweaked toml for crates.io crate location_based_sharding 0.1.4 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate location_based_sharding 0.1.4 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 31 packages to latest compatible versions [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded float_extras v0.1.6 [INFO] [stderr] Downloaded s2 v0.0.13 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0f89d7a7fa509dfffec2c3cc4eb7b9ef0fbdece5fceb5cced2541e259ad250ee [INFO] running `Command { std: "docker" "start" "-a" "0f89d7a7fa509dfffec2c3cc4eb7b9ef0fbdece5fceb5cced2541e259ad250ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f89d7a7fa509dfffec2c3cc4eb7b9ef0fbdece5fceb5cced2541e259ad250ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f89d7a7fa509dfffec2c3cc4eb7b9ef0fbdece5fceb5cced2541e259ad250ee", kill_on_drop: false }` [INFO] [stdout] 0f89d7a7fa509dfffec2c3cc4eb7b9ef0fbdece5fceb5cced2541e259ad250ee [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 21ebfdbc240af30ac66c4f838bdf9593f23ba16567328fc008c66a80051a139b [INFO] running `Command { std: "docker" "start" "-a" "21ebfdbc240af30ac66c4f838bdf9593f23ba16567328fc008c66a80051a139b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling float_extras v0.1.6 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling approx v0.4.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling bigdecimal v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling s2 v0.0.13 [INFO] [stderr] Compiling location_based_sharding v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] error[E0252]: the name `Deserialize` is defined multiple times [INFO] [stdout] --> src/geoshard.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 31 | Deserialize, Serialize, [INFO] [stdout] | ----------- previous import of the macro `Deserialize` here [INFO] [stdout] 32 | }; [INFO] [stdout] 33 | use serde_derive::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^-- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` reimported here [INFO] [stdout] | help: remove unnecessary import [INFO] [stdout] | [INFO] [stdout] = note: `Deserialize` must be defined only once in the macro namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0252]: the name `Serialize` is defined multiple times [INFO] [stdout] --> src/geoshard.rs:33:33 [INFO] [stdout] | [INFO] [stdout] 31 | Deserialize, Serialize, [INFO] [stdout] | --------- previous import of the macro `Serialize` here [INFO] [stdout] 32 | }; [INFO] [stdout] 33 | use serde_derive::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ `Serialize` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `Serialize` must be defined only once in the macro namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/geoshard.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | use serde_derive::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0252`. [INFO] [stdout] [INFO] [stderr] error: could not compile `location_based_sharding` (lib) due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "21ebfdbc240af30ac66c4f838bdf9593f23ba16567328fc008c66a80051a139b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21ebfdbc240af30ac66c4f838bdf9593f23ba16567328fc008c66a80051a139b", kill_on_drop: false }` [INFO] [stdout] 21ebfdbc240af30ac66c4f838bdf9593f23ba16567328fc008c66a80051a139b