[INFO] cloning repository https://github.com/fijk/smtp-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fijk/smtp-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffijk%2Fsmtp-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffijk%2Fsmtp-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 621937ce802e273a2a0d5649af4ba9da8348d968 [INFO] checking fijk/smtp-rs against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffijk%2Fsmtp-rs" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fijk/smtp-rs on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fijk/smtp-rs [INFO] finished tweaking git repo https://github.com/fijk/smtp-rs [INFO] tweaked toml for git repo https://github.com/fijk/smtp-rs written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/fijk/smtp-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 844016bd120567207719f84ce9ae021c5c5977679b455f3da0d064c19fa4216f [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" "844016bd120567207719f84ce9ae021c5c5977679b455f3da0d064c19fa4216f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "844016bd120567207719f84ce9ae021c5c5977679b455f3da0d064c19fa4216f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "844016bd120567207719f84ce9ae021c5c5977679b455f3da0d064c19fa4216f", kill_on_drop: false }` [INFO] [stdout] 844016bd120567207719f84ce9ae021c5c5977679b455f3da0d064c19fa4216f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a10027a97f2e9da18f8b24934050ff2f272565363874fcd6bc2b5abd61c8346a [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" "a10027a97f2e9da18f8b24934050ff2f272565363874fcd6bc2b5abd61c8346a", kill_on_drop: false }` [INFO] [stderr] Checking smtp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `err` in `std` [INFO] [stdout] --> src/lib.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | impl std::err::Error for SmtpCommandError { [INFO] [stdout] | ^^^ could not find `err` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `hash_map` in `std` [INFO] [stdout] --> src/lib.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | users: std::hash_map::HashMap, [INFO] [stdout] | ^^^^^^^^ could not find `hash_map` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `err` in `std` [INFO] [stdout] --> src/lib.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | impl std::err::Error for SmtpCommandError { [INFO] [stdout] | ^^^ could not find `err` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `hash_map` in `std` [INFO] [stdout] --> src/lib.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | users: std::hash_map::HashMap, [INFO] [stdout] | ^^^^^^^^ could not find `hash_map` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `err` in `self` [INFO] [stdout] --> src/lib.rs:127:62 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn from(text: &str) -> Result { [INFO] [stdout] | ^^^ could not find `err` in `self` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `hash_map` in `std` [INFO] [stdout] --> src/lib.rs:88:39 [INFO] [stdout] | [INFO] [stdout] 88 | users: std::hash_map::HashMap::new(), [INFO] [stdout] | ^^^^^^^ not found in `std::hash_map` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 38 | use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: cannot initialize a tuple struct which contains private fields [INFO] [stdout] --> src/lib.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | Response(SmtpResponse::Ok, response_body) // TODO [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: constructor is not visible here due to private fields [INFO] [stdout] --> src/lib.rs:152:25 [INFO] [stdout] | [INFO] [stdout] 152 | pub struct Response(SmtpResponse, String); [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^ private field [INFO] [stdout] | | [INFO] [stdout] | private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: tuple struct constructor `Response` is private [INFO] [stdout] --> src/lib.rs:220:15 [INFO] [stdout] | [INFO] [stdout] 152 | pub struct Response(SmtpResponse, String); [INFO] [stdout] | -------------------- a constructor is private if any of the fields is private [INFO] [stdout] ... [INFO] [stdout] 220 | protocol::Response(SmtpResponse::Ok, String::new()) // that was easy. [INFO] [stdout] | ^^^^^^^^ private tuple struct constructor [INFO] [stdout] | [INFO] [stdout] note: the tuple struct constructor `Response` is defined here [INFO] [stdout] --> src/lib.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | pub struct Response(SmtpResponse, String); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `err` in `self` [INFO] [stdout] --> src/lib.rs:127:62 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn from(text: &str) -> Result { [INFO] [stdout] | ^^^ could not find `err` in `self` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `hash_map` in `std` [INFO] [stdout] --> src/lib.rs:88:39 [INFO] [stdout] | [INFO] [stdout] 88 | users: std::hash_map::HashMap::new(), [INFO] [stdout] | ^^^^^^^ not found in `std::hash_map` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 38 | use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: cannot initialize a tuple struct which contains private fields [INFO] [stdout] --> src/lib.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | Response(SmtpResponse::Ok, response_body) // TODO [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: constructor is not visible here due to private fields [INFO] [stdout] --> src/lib.rs:152:25 [INFO] [stdout] | [INFO] [stdout] 152 | pub struct Response(SmtpResponse, String); [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^ private field [INFO] [stdout] | | [INFO] [stdout] | private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: tuple struct constructor `Response` is private [INFO] [stdout] --> src/lib.rs:220:15 [INFO] [stdout] | [INFO] [stdout] 152 | pub struct Response(SmtpResponse, String); [INFO] [stdout] | -------------------- a constructor is private if any of the fields is private [INFO] [stdout] ... [INFO] [stdout] 220 | protocol::Response(SmtpResponse::Ok, String::new()) // that was easy. [INFO] [stdout] | ^^^^^^^^ private tuple struct constructor [INFO] [stdout] | [INFO] [stdout] note: the tuple struct constructor `Response` is defined here [INFO] [stdout] --> src/lib.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | pub struct Response(SmtpResponse, String); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0433, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0433, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] [INFO] [stderr] error: could not compile `smtp` [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: build failed [INFO] running `Command { std: "docker" "inspect" "a10027a97f2e9da18f8b24934050ff2f272565363874fcd6bc2b5abd61c8346a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a10027a97f2e9da18f8b24934050ff2f272565363874fcd6bc2b5abd61c8346a", kill_on_drop: false }` [INFO] [stdout] a10027a97f2e9da18f8b24934050ff2f272565363874fcd6bc2b5abd61c8346a