[INFO] fetching crate hnspool-stratum-types 0.4.0... [INFO] checking hnspool-stratum-types-0.4.0 against master#b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18 for pr-79470 [INFO] extracting crate hnspool-stratum-types 0.4.0 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate hnspool-stratum-types 0.4.0 on toolchain b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate hnspool-stratum-types 0.4.0 [INFO] finished tweaking crates.io crate hnspool-stratum-types 0.4.0 [INFO] tweaked toml for crates.io crate hnspool-stratum-types 0.4.0 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c663bef8427c5845f6e663997234a9083f0c5cb33735ac31288f0389cc29c5c7 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c663bef8427c5845f6e663997234a9083f0c5cb33735ac31288f0389cc29c5c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c663bef8427c5845f6e663997234a9083f0c5cb33735ac31288f0389cc29c5c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c663bef8427c5845f6e663997234a9083f0c5cb33735ac31288f0389cc29c5c7", kill_on_drop: false }` [INFO] [stdout] c663bef8427c5845f6e663997234a9083f0c5cb33735ac31288f0389cc29c5c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d1b560db6b679ce92b3b3d5a691a19efaa25d3af5ab99d0e4b34c84ff54bfe60 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d1b560db6b679ce92b3b3d5a691a19efaa25d3af5ab99d0e4b34c84ff54bfe60", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling serde_json v1.0.60 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Checking pin-project v1.0.2 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking futures-executor v0.3.8 [INFO] [stderr] Checking futures v0.3.8 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Compiling serde_tuple v0.4.0 [INFO] [stderr] Checking stratum-types v0.9.25 [INFO] [stderr] Checking hnspool-stratum-types v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `worker_name` [INFO] [stdout] --> src/auth.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | impl AuthorizeTrait for Authorize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `worker_name` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn worker_name(&self) -> std::option::Option { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `worker_id`, `worker_name` [INFO] [stdout] --> src/auth.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | impl AuthorizeResultTrait for AuthorizeResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `worker_id`, `worker_name` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn worker_id(&self) -> std::option::Option { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn worker_name(&self) -> std::option::Option { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `worker_name` [INFO] [stdout] --> src/auth.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | impl AuthorizeTrait for Authorize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `worker_name` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn worker_name(&self) -> std::option::Option { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `worker_id`, `worker_name` [INFO] [stdout] --> src/auth.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | impl AuthorizeResultTrait for AuthorizeResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `worker_id`, `worker_name` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn worker_id(&self) -> std::option::Option { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn worker_name(&self) -> std::option::Option { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `id` has an incompatible type for trait [INFO] [stdout] --> src/subscribe.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | fn id(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found struct `std::string::String` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&SubscriberResult) -> std::option::Option` [INFO] [stdout] found fn pointer `fn(&SubscriberResult) -> std::string::String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `sid` [INFO] [stdout] --> src/subscribe.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | impl SubscribeResult for SubscriberResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `sid` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn sid(&self) -> std::string::String { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `id` has an incompatible type for trait [INFO] [stdout] --> src/subscribe.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | fn id(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found struct `std::string::String` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&SubscriberResult) -> std::option::Option` [INFO] [stdout] found fn pointer `fn(&SubscriberResult) -> std::string::String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `sid` [INFO] [stdout] --> src/subscribe.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | impl SubscribeResult for SubscriberResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `sid` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn sid(&self) -> std::string::String { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0053. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hnspool-stratum-types` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0053. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "d1b560db6b679ce92b3b3d5a691a19efaa25d3af5ab99d0e4b34c84ff54bfe60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1b560db6b679ce92b3b3d5a691a19efaa25d3af5ab99d0e4b34c84ff54bfe60", kill_on_drop: false }` [INFO] [stdout] d1b560db6b679ce92b3b3d5a691a19efaa25d3af5ab99d0e4b34c84ff54bfe60