[INFO] fetching crate emixcrypto 0.6.0... [INFO] testing emixcrypto-0.6.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate emixcrypto 0.6.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate emixcrypto 0.6.0 [INFO] finished tweaking crates.io crate emixcrypto 0.6.0 [INFO] tweaked toml for crates.io crate emixcrypto 0.6.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate emixcrypto 0.6.0 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate emixcrypto 0.6.0 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded md5 v0.8.0 [INFO] [stderr] Downloaded emixcore v0.6.0 [INFO] [stderr] Downloaded base64ct v1.8.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2e251356fbe10ea9a404e17c609dc7eb49daa879b9ba843fd71b9c53d57d3722 [INFO] running `Command { std: "docker" "start" "-a" "2e251356fbe10ea9a404e17c609dc7eb49daa879b9ba843fd71b9c53d57d3722", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e251356fbe10ea9a404e17c609dc7eb49daa879b9ba843fd71b9c53d57d3722", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e251356fbe10ea9a404e17c609dc7eb49daa879b9ba843fd71b9c53d57d3722", kill_on_drop: false }` [INFO] [stdout] 2e251356fbe10ea9a404e17c609dc7eb49daa879b9ba843fd71b9c53d57d3722 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7fb9038c737b3f4280f9c7801cbf6c5f6608ac3962c891453048647e7b13c31f [INFO] running `Command { std: "docker" "start" "-a" "7fb9038c737b3f4280f9c7801cbf6c5f6608ac3962c891453048647e7b13c31f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling base64ct v1.8.2 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling num-bigint-dig v0.8.6 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling block-padding v0.3.3 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling cbc v0.1.2 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling zeroize_derive v1.4.3 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling emixcore v0.6.0 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling rsa v0.9.10 [INFO] [stderr] Compiling emixcrypto v0.6.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.43s [INFO] running `Command { std: "docker" "inspect" "7fb9038c737b3f4280f9c7801cbf6c5f6608ac3962c891453048647e7b13c31f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fb9038c737b3f4280f9c7801cbf6c5f6608ac3962c891453048647e7b13c31f", kill_on_drop: false }` [INFO] [stdout] 7fb9038c737b3f4280f9c7801cbf6c5f6608ac3962c891453048647e7b13c31f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd7eebe70248d6255fcc04bd9c20758f673913a94ec720006b624ee7c7ba59e1 [INFO] running `Command { std: "docker" "start" "-a" "cd7eebe70248d6255fcc04bd9c20758f673913a94ec720006b624ee7c7ba59e1", kill_on_drop: false }` [INFO] [stderr] Compiling emixcrypto v0.6.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.66s [INFO] running `Command { std: "docker" "inspect" "cd7eebe70248d6255fcc04bd9c20758f673913a94ec720006b624ee7c7ba59e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd7eebe70248d6255fcc04bd9c20758f673913a94ec720006b624ee7c7ba59e1", kill_on_drop: false }` [INFO] [stdout] cd7eebe70248d6255fcc04bd9c20758f673913a94ec720006b624ee7c7ba59e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 284c156d44b45f49684931fe9f7436ba5831fa0c8d5ed0969d0a5a5a935d572c [INFO] running `Command { std: "docker" "start" "-a" "284c156d44b45f49684931fe9f7436ba5831fa0c8d5ed0969d0a5a5a935d572c", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/emixcrypto-ee134257c1bc2d04) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests emixcrypto [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 17) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 17) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:22:56 [INFO] [stdout] | [INFO] [stdout] 18 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_17_0() { [INFO] [stdout] | ---------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 22 | let hash = QuickCipher::hash("Hello, World!", "SHA256")?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 18 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_17_0() -> Result<(), Box> { [INFO] [stdout] 19 | use emixcrypto::QuickCipher; [INFO] [stdout] ... [INFO] [stdout] 28 | let encrypted = QuickCipher::symmetric_encrypt("secret message", "my-key")?; [INFO] [stdout] 29 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:25:58 [INFO] [stdout] | [INFO] [stdout] 18 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_17_0() { [INFO] [stdout] | ---------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 25 | let encoded = QuickCipher::base64_encode("Hello, World!")?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 18 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_17_0() -> Result<(), Box> { [INFO] [stdout] 19 | use emixcrypto::QuickCipher; [INFO] [stdout] ... [INFO] [stdout] 28 | let encrypted = QuickCipher::symmetric_encrypt("secret message", "my-key")?; [INFO] [stdout] 29 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:28:75 [INFO] [stdout] | [INFO] [stdout] 18 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_17_0() { [INFO] [stdout] | ---------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 28 | let encrypted = QuickCipher::symmetric_encrypt("secret message", "my-key")?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 18 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_17_0() -> Result<(), Box> { [INFO] [stdout] 19 | use emixcrypto::QuickCipher; [INFO] [stdout] ... [INFO] [stdout] 28 | let encrypted = QuickCipher::symmetric_encrypt("secret message", "my-key")?; [INFO] [stdout] 29 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 17) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.19s; merged doctests compilation took 0.07s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "284c156d44b45f49684931fe9f7436ba5831fa0c8d5ed0969d0a5a5a935d572c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "284c156d44b45f49684931fe9f7436ba5831fa0c8d5ed0969d0a5a5a935d572c", kill_on_drop: false }` [INFO] [stdout] 284c156d44b45f49684931fe9f7436ba5831fa0c8d5ed0969d0a5a5a935d572c