[INFO] updating cached repository https://github.com/radicle-dev/radmail [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/big/crater/work/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] e199a6353ad9fc7ff8bba3db0c7b5de57644b997 [INFO] testing radicle-dev/radmail against 1.38.0 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Fradicle-dev%2Fradmail" "work/builds/worker-7/source"` [INFO] [stderr] Cloning into 'work/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/radicle-dev/radmail on toolchain 1.38.0 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/radicle-dev/radmail [INFO] finished tweaking git repo https://github.com/radicle-dev/radmail [INFO] tweaked toml for git repo https://github.com/radicle-dev/radmail written to work/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/radicle-dev/radmail already has a lockfile, it will not be regenerated [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-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" "+1.38.0" "build" "--frozen"` [INFO] [stdout] a124ddca450bc1ef4a3f929485d9d8a3af3cf2cc3a74352e9f7a0468b7656862 [INFO] running `"docker" "start" "-a" "a124ddca450bc1ef4a3f929485d9d8a3af3cf2cc3a74352e9f7a0468b7656862"` [INFO] [stderr] Compiling quoted_printable v0.4.1 [INFO] [stderr] Compiling charset v0.1.2 [INFO] [stderr] Compiling mailparse v0.8.0 [INFO] [stderr] Compiling radmail v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/radmailsend.rs:12:22 [INFO] [stderr] | [INFO] [stderr] 12 | io::stdin().read(raw); [INFO] [stderr] | ^^^ types differ in mutability [INFO] [stderr] | [INFO] [stderr] = note: expected type `&mut [u8]` [INFO] [stderr] found type `&[_; 0]` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/radmailsend.rs:16:55 [INFO] [stderr] | [INFO] [stderr] 16 | Ok(Some(to)) => RadMail {to: to, raw: raw }, [INFO] [stderr] | ^^^ expected slice, found &[u8; 0] [INFO] [stderr] | [INFO] [stderr] = note: expected type `[u8]` [INFO] [stderr] found type `&[u8; 0]` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/radmailsend.rs:16:33 [INFO] [stderr] | [INFO] [stderr] 10 | fn get_mail() -> &'static RadMail { [INFO] [stderr] | ---------------- expected `&'static RadMail` because of return type [INFO] [stderr] ... [INFO] [stderr] 16 | Ok(Some(to)) => RadMail {to: to, raw: raw }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected reference, found struct `RadMail` [INFO] [stderr] | help: consider borrowing here: `&RadMail {to: to, raw: raw }` [INFO] [stderr] | [INFO] [stderr] = note: expected type `&'static RadMail` [INFO] [stderr] found type `RadMail` [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stderr] --> src/radmailsend.rs:16:33 [INFO] [stderr] | [INFO] [stderr] 16 | Ok(Some(to)) => RadMail {to: to, raw: raw }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: within `RadMail`, the trait `std::marker::Sized` is not implemented for `[u8]` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required because it appears within the type `RadMail` [INFO] [stderr] = note: structs must have a statically known size to be initialized [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0308. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: Could not compile `radmail`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "a124ddca450bc1ef4a3f929485d9d8a3af3cf2cc3a74352e9f7a0468b7656862"` [INFO] running `"docker" "rm" "-f" "a124ddca450bc1ef4a3f929485d9d8a3af3cf2cc3a74352e9f7a0468b7656862"` [INFO] [stdout] a124ddca450bc1ef4a3f929485d9d8a3af3cf2cc3a74352e9f7a0468b7656862