[INFO] cloning repository https://github.com/ghostdev030823/Rust-Code-Review [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ghostdev030823/Rust-Code-Review" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fghostdev030823%2FRust-Code-Review", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fghostdev030823%2FRust-Code-Review'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dd08efc15de6928e640d42ef2c38d07803c9942b [INFO] testing ghostdev030823/Rust-Code-Review/dd08efc15de6928e640d42ef2c38d07803c9942b against master#e9385f9eea0221ef295a188d49d16f8f5189abf1 for pr-146098 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fghostdev030823%2FRust-Code-Review" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ghostdev030823/Rust-Code-Review [INFO] finished tweaking git repo https://github.com/ghostdev030823/Rust-Code-Review [INFO] tweaked toml for git repo https://github.com/ghostdev030823/Rust-Code-Review written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ghostdev030823/Rust-Code-Review on toolchain e9385f9eea0221ef295a188d49d16f8f5189abf1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ghostdev030823/Rust-Code-Review 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" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded downcast v0.10.0 [INFO] [stderr] Downloaded errno v0.3.6 [INFO] [stderr] Downloaded quoted_printable v0.4.8 [INFO] [stderr] Downloaded mockall_derive v0.9.1 [INFO] [stderr] Downloaded email_address v0.2.4 [INFO] [stderr] Downloaded mockall v0.9.1 [INFO] [stderr] Downloaded lettre v0.10.4 [INFO] [stderr] Downloaded email-encoding v0.2.0 [INFO] [stderr] Downloaded fragile v1.2.2 [INFO] [stderr] Downloaded predicates-core v1.0.6 [INFO] [stderr] Downloaded predicates-tree v1.0.9 [INFO] [stderr] Downloaded rustix v0.38.21 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6eebe7eea7686172cc61b9d0c0cafce55bdd16e58d6694bc189d97fe72205bfa [INFO] running `Command { std: "docker" "start" "-a" "6eebe7eea7686172cc61b9d0c0cafce55bdd16e58d6694bc189d97fe72205bfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6eebe7eea7686172cc61b9d0c0cafce55bdd16e58d6694bc189d97fe72205bfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6eebe7eea7686172cc61b9d0c0cafce55bdd16e58d6694bc189d97fe72205bfa", kill_on_drop: false }` [INFO] [stdout] 6eebe7eea7686172cc61b9d0c0cafce55bdd16e58d6694bc189d97fe72205bfa [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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e049f5e6c076bac52cb0c0cb4dc3209e7d1661795ad31d6b4a5413b6f49a9a7 [INFO] running `Command { std: "docker" "start" "-a" "4e049f5e6c076bac52cb0c0cb4dc3209e7d1661795ad31d6b4a5413b6f49a9a7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling openssl v0.10.59 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling futures-io v0.3.29 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling http v0.2.11 [INFO] [stderr] Compiling hashbrown v0.14.2 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling futures-sink v0.3.29 [INFO] [stderr] Compiling cc v1.0.84 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling email-encoding v0.2.0 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling openssl-sys v0.9.95 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling email_address v0.2.4 [INFO] [stderr] Compiling quoted_printable v0.4.8 [INFO] [stderr] Compiling tokio v1.34.0 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling lettre v0.10.4 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.22 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.22 [INFO] [stderr] Compiling send_email v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mockall` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use mockall::predicate::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `mockall` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mockall`, use `cargo add mockall` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mockall` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use mockall::automock; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `mockall` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mockall`, use `cargo add mockall` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `send_email` [INFO] [stdout] --> src/main.rs:54:2 [INFO] [stdout] | [INFO] [stdout] 54 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/main.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `send_email` (bin "send_email") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "4e049f5e6c076bac52cb0c0cb4dc3209e7d1661795ad31d6b4a5413b6f49a9a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e049f5e6c076bac52cb0c0cb4dc3209e7d1661795ad31d6b4a5413b6f49a9a7", kill_on_drop: false }` [INFO] [stdout] 4e049f5e6c076bac52cb0c0cb4dc3209e7d1661795ad31d6b4a5413b6f49a9a7