[INFO] fetching crate hnspool-stratum-types 0.4.0... [INFO] checking hnspool-stratum-types-0.4.0 against master#45d050cde277b22a755847338f2acc2c7b834141 for pr-71393 [INFO] extracting crate hnspool-stratum-types 0.4.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate hnspool-stratum-types 0.4.0 on toolchain 45d050cde277b22a755847338f2acc2c7b834141 [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "read-manifest" "--manifest-path" "Cargo.toml"` [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-1/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 51f35b51ce4a7ffb03c3fa10e87dd576ac0288636868d45e3b7eba6779b2a5a4 [INFO] running `"docker" "start" "-a" "51f35b51ce4a7ffb03c3fa10e87dd576ac0288636868d45e3b7eba6779b2a5a4"` [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling syn v1.0.18 [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 serde_derive v1.0.106 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling async-trait v0.1.30 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Checking futures-executor v0.3.4 [INFO] [stderr] Checking futures v0.3.4 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking serde_json v1.0.52 [INFO] [stderr] Compiling serde_tuple v0.4.0 [INFO] [stderr] Checking stratum-types v0.9.23 [INFO] [stderr] Checking hnspool-stratum-types v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0046]: not all trait items implemented, missing: `worker_name` [INFO] [stderr] --> src/auth.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | impl AuthorizeTrait for Authorize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `worker_name` in implementation [INFO] [stderr] | [INFO] [stderr] = help: implement the missing item: `fn worker_name(&self) -> std::option::Option { todo!() }` [INFO] [stderr] [INFO] [stderr] error[E0046]: not all trait items implemented, missing: `worker_id`, `worker_name` [INFO] [stderr] --> src/auth.rs:27:1 [INFO] [stderr] | [INFO] [stderr] 27 | impl AuthorizeResultTrait for AuthorizeResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `worker_id`, `worker_name` in implementation [INFO] [stderr] | [INFO] [stderr] = help: implement the missing item: `fn worker_id(&self) -> std::option::Option { todo!() }` [INFO] [stderr] = help: implement the missing item: `fn worker_name(&self) -> std::option::Option { todo!() }` [INFO] [stderr] [INFO] [stderr] error[E0053]: method `id` has an incompatible type for trait [INFO] [stderr] --> src/subscribe.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | fn id(&self) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found struct `std::string::String` [INFO] [stderr] | [INFO] [stderr] = note: expected fn pointer `fn(&subscribe::SubscriberResult) -> std::option::Option` [INFO] [stderr] found fn pointer `fn(&subscribe::SubscriberResult) -> std::string::String` [INFO] [stderr] [INFO] [stderr] error[E0046]: not all trait items implemented, missing: `sid` [INFO] [stderr] --> src/subscribe.rs:22:1 [INFO] [stderr] | [INFO] [stderr] 22 | impl SubscribeResult for SubscriberResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `sid` in implementation [INFO] [stderr] | [INFO] [stderr] = help: implement the missing item: `fn sid(&self) -> std::string::String { todo!() }` [INFO] [stderr] [INFO] [stderr] error[E0046]: not all trait items implemented, missing: `worker_name` [INFO] [stderr] --> src/auth.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | impl AuthorizeTrait for Authorize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `worker_name` in implementation [INFO] [stderr] | [INFO] [stderr] = help: implement the missing item: `fn worker_name(&self) -> std::option::Option { todo!() }` [INFO] [stderr] [INFO] [stderr] error[E0046]: not all trait items implemented, missing: `worker_id`, `worker_name` [INFO] [stderr] --> src/auth.rs:27:1 [INFO] [stderr] | [INFO] [stderr] 27 | impl AuthorizeResultTrait for AuthorizeResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `worker_id`, `worker_name` in implementation [INFO] [stderr] | [INFO] [stderr] = help: implement the missing item: `fn worker_id(&self) -> std::option::Option { todo!() }` [INFO] [stderr] = help: implement the missing item: `fn worker_name(&self) -> std::option::Option { todo!() }` [INFO] [stderr] [INFO] [stderr] error[E0053]: method `id` has an incompatible type for trait [INFO] [stderr] --> src/subscribe.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | fn id(&self) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found struct `std::string::String` [INFO] [stderr] | [INFO] [stderr] = note: expected fn pointer `fn(&subscribe::SubscriberResult) -> std::option::Option` [INFO] [stderr] found fn pointer `fn(&subscribe::SubscriberResult) -> std::string::String` [INFO] [stderr] [INFO] [stderr] error[E0046]: not all trait items implemented, missing: `sid` [INFO] [stderr] --> src/subscribe.rs:22:1 [INFO] [stderr] | [INFO] [stderr] 22 | impl SubscribeResult for SubscriberResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `sid` in implementation [INFO] [stderr] | [INFO] [stderr] = help: implement the missing item: `fn sid(&self) -> std::string::String { todo!() }` [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0046, E0053. [INFO] [stderr] For more information about an error, try `rustc --explain E0046`. [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] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0046, E0053. [INFO] [stderr] For more information about an error, try `rustc --explain E0046`. [INFO] [stderr] error: could not compile `hnspool-stratum-types`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "51f35b51ce4a7ffb03c3fa10e87dd576ac0288636868d45e3b7eba6779b2a5a4"` [INFO] running `"docker" "rm" "-f" "51f35b51ce4a7ffb03c3fa10e87dd576ac0288636868d45e3b7eba6779b2a5a4"` [INFO] [stdout] 51f35b51ce4a7ffb03c3fa10e87dd576ac0288636868d45e3b7eba6779b2a5a4