[INFO] cloning repository https://github.com/pauwels-labs/redact-crypto [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pauwels-labs/redact-crypto" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpauwels-labs%2Fredact-crypto", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpauwels-labs%2Fredact-crypto'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0ef690fa7bef41f1545a2585939f464926684f6e [INFO] checking pauwels-labs/redact-crypto/0ef690fa7bef41f1545a2585939f464926684f6e against master#0f353363965ebf05e0757f7679c800b39c51a07e for pr-144896 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpauwels-labs%2Fredact-crypto" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/pauwels-labs/redact-crypto [INFO] finished tweaking git repo https://github.com/pauwels-labs/redact-crypto [INFO] tweaked toml for git repo https://github.com/pauwels-labs/redact-crypto written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pauwels-labs/redact-crypto on toolchain 0f353363965ebf05e0757f7679c800b39c51a07e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0f353363965ebf05e0757f7679c800b39c51a07e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/pauwels-labs/redact-crypto 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" "+0f353363965ebf05e0757f7679c800b39c51a07e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded const-oid v0.7.0 [INFO] [stderr] Downloaded os_info v3.0.7 [INFO] [stderr] Downloaded spki v0.5.2 [INFO] [stderr] Downloaded serde_with_macros v1.5.0 [INFO] [stderr] Downloaded mockall v0.10.2 [INFO] [stderr] Downloaded cloud-storage v0.10.3 [INFO] [stderr] Downloaded bson v2.0.1 [INFO] [stderr] Downloaded serde_with v1.10.0 [INFO] [stderr] Downloaded h2 v0.3.4 [INFO] [stderr] Downloaded mockall_derive v0.10.2 [INFO] [stderr] Downloaded mongodb v2.0.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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+0f353363965ebf05e0757f7679c800b39c51a07e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 026535168b200beeb3dcd9c3fc826d88dd73256ba625ab966f2fc8408043e927 [INFO] running `Command { std: "docker" "start" "-a" "026535168b200beeb3dcd9c3fc826d88dd73256ba625ab966f2fc8408043e927", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "026535168b200beeb3dcd9c3fc826d88dd73256ba625ab966f2fc8408043e927", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "026535168b200beeb3dcd9c3fc826d88dd73256ba625ab966f2fc8408043e927", kill_on_drop: false }` [INFO] [stdout] 026535168b200beeb3dcd9c3fc826d88dd73256ba625ab966f2fc8408043e927 [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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+0f353363965ebf05e0757f7679c800b39c51a07e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d87240e38feb1dd7896f19d3aa102f220d3c2f2713f6b8b3a8a9eda4cbfcd6e2 [INFO] running `Command { std: "docker" "start" "-a" "d87240e38feb1dd7896f19d3aa102f220d3c2f2713f6b8b3a8a9eda4cbfcd6e2", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling cc v1.0.96 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking futures-sink v0.3.17 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Checking futures-io v0.3.17 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking tinyvec v1.3.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking unicode-bidi v0.3.6 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking tracing-core v0.1.19 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling openssl v0.10.36 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling serde_json v1.0.71 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking socket2 v0.4.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking httpdate v1.0.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking ipnet v2.3.1 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling openssl-sys v0.9.66 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Compiling libsodium-sys v0.2.7 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking data-encoding v2.3.2 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking predicates-core v1.0.2 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking resolv-conf v0.7.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking float-cmp v0.8.0 [INFO] [stderr] Checking treeline v0.1.0 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking const-oid v0.7.0 [INFO] [stderr] Checking signature v1.3.1 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Checking ed25519 v1.2.0 [INFO] [stderr] Checking predicates-tree v1.0.3 [INFO] [stderr] Checking der v0.5.1 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking pbkdf2 v0.8.0 [INFO] [stderr] Checking md-5 v0.9.1 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking sha2 v0.9.8 [INFO] [stderr] Checking os_info v3.0.7 [INFO] [stderr] Checking cookie-factory v0.3.2 [INFO] [stderr] Checking fragile v1.0.0 [INFO] [stderr] Checking downcast v0.10.0 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking filetime v0.2.23 [INFO] [stderr] Checking http-body v0.4.3 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking spki v0.5.2 [INFO] [stderr] Checking pem v0.8.3 [INFO] [stderr] Checking predicates v1.0.8 [INFO] [stderr] Compiling darling_core v0.13.0 [INFO] [stderr] Compiling tokio-macros v1.6.0 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling strum_macros v0.23.1 [INFO] [stderr] Compiling typed-builder v0.9.1 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling mockall_derive v0.10.2 [INFO] [stderr] Compiling async-recursion v0.3.2 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking webpki-roots v0.21.1 [INFO] [stderr] Compiling darling_macro v0.13.0 [INFO] [stderr] Checking thiserror v1.0.29 [INFO] [stderr] Compiling darling v0.13.0 [INFO] [stderr] Compiling serde_with_macros v1.5.0 [INFO] [stderr] Checking strum v0.23.0 [INFO] [stderr] Checking mockall v0.10.2 [INFO] [stderr] Checking tokio-util v0.6.8 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking h2 v0.3.4 [INFO] [stderr] Checking futures-executor v0.3.17 [INFO] [stderr] Checking trust-dns-proto v0.20.3 [INFO] [stderr] Checking futures v0.3.17 [INFO] [stderr] Checking trust-dns-resolver v0.20.3 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking serde_bytes v0.11.5 [INFO] [stderr] Checking serde_with v1.10.0 [INFO] [stderr] Checking hyper v0.14.12 [INFO] [stderr] Checking simple_asn1 v0.4.1 [INFO] [stderr] Checking bson v2.0.1 [INFO] [stderr] Checking x509 v0.2.0 [INFO] [stderr] Checking jsonwebtoken v7.2.0 [INFO] [stderr] Checking hyper-rustls v0.22.1 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.6 [INFO] [stderr] Checking mongodb v2.0.2 [INFO] [stderr] Checking cloud-storage v0.10.3 [INFO] [stderr] Checking sodiumoxide v0.2.7 [INFO] [stderr] Checking redact-crypto v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/key/ring.rs:283:42 [INFO] [stdout] | [INFO] [stdout] 283 | let message = ByteSource::Vector(VectorByteSource::new(Some("abc".as_ref()))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^---------------------- argument #2 of type `chrono::DateTime` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/source.rs:430:12 [INFO] [stdout] | [INFO] [stdout] 430 | pub fn new(value: Option<&[u8]>, last_modified: DateTime) -> Self { [INFO] [stdout] | ^^^ ---------------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 283 | let message = ByteSource::Vector(VectorByteSource::new(Some("abc".as_ref()), /* chrono::DateTime */)); [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/key/ring.rs:285:13 [INFO] [stdout] | [INFO] [stdout] 285 | VectorByteSource::new( [INFO] [stdout] | _____________^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] 286 | | Some(base64::decode("JixVA5XA4+fH5PE9Czk1yApf8f3oRCcwpB5pzMdVOBgvbWzPNv4h+nulKVvCkANYWX1iNticuX5eNwpx8HpdBw==") [INFO] [stdout] 287 | | .unwrap() [INFO] [stdout] 288 | | .as_ref()) [INFO] [stdout] 289 | | ) [INFO] [stdout] | |_____________- argument #2 of type `chrono::DateTime` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/source.rs:430:12 [INFO] [stdout] | [INFO] [stdout] 430 | pub fn new(value: Option<&[u8]>, last_modified: DateTime) -> Self { [INFO] [stdout] | ^^^ ---------------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 285 ~ VectorByteSource::new(Some(base64::decode("JixVA5XA4+fH5PE9Czk1yApf8f3oRCcwpB5pzMdVOBgvbWzPNv4h+nulKVvCkANYWX1iNticuX5eNwpx8HpdBw==") [INFO] [stdout] 286 + .unwrap() [INFO] [stdout] 287 + .as_ref()), /* chrono::DateTime */) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/key/ring.rs:302:42 [INFO] [stdout] | [INFO] [stdout] 302 | let message = ByteSource::Vector(VectorByteSource::new( [INFO] [stdout] | __________________________________________^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] 303 | | Some("1233".as_ref()), // different message than signature [INFO] [stdout] 304 | | )); [INFO] [stdout] | |_________- argument #2 of type `chrono::DateTime` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/source.rs:430:12 [INFO] [stdout] | [INFO] [stdout] 430 | pub fn new(value: Option<&[u8]>, last_modified: DateTime) -> Self { [INFO] [stdout] | ^^^ ---------------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 302 - let message = ByteSource::Vector(VectorByteSource::new( [INFO] [stdout] 303 - Some("1233".as_ref()), // different message than signature [INFO] [stdout] 304 - )); [INFO] [stdout] 302 + let message = ByteSource::Vector(VectorByteSource::new(Some("1233".as_ref()), /* chrono::DateTime */)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/key/ring.rs:306:13 [INFO] [stdout] | [INFO] [stdout] 306 | VectorByteSource::new( [INFO] [stdout] | _____________^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] 307 | | Some(base64::decode("JixVA5XA4+fH5PE9Czk1yApf8f3oRCcwpB5pzMdVOBgvbWzPNv4h+nulKVvCkANYWX1iNticuX5eNwpx8HpdBw==") [INFO] [stdout] 308 | | .unwrap() [INFO] [stdout] 309 | | .as_ref()) [INFO] [stdout] 310 | | ) [INFO] [stdout] | |_____________- argument #2 of type `chrono::DateTime` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/source.rs:430:12 [INFO] [stdout] | [INFO] [stdout] 430 | pub fn new(value: Option<&[u8]>, last_modified: DateTime) -> Self { [INFO] [stdout] | ^^^ ---------------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 306 ~ VectorByteSource::new(Some(base64::decode("JixVA5XA4+fH5PE9Czk1yApf8f3oRCcwpB5pzMdVOBgvbWzPNv4h+nulKVvCkANYWX1iNticuX5eNwpx8HpdBw==") [INFO] [stdout] 307 + .unwrap() [INFO] [stdout] 308 + .as_ref()), /* chrono::DateTime */) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/key/ring.rs:322:42 [INFO] [stdout] | [INFO] [stdout] 322 | let message = ByteSource::Vector(VectorByteSource::new( [INFO] [stdout] | __________________________________________^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] 323 | | Some("abc".as_ref()), // different message than signature [INFO] [stdout] 324 | | )); [INFO] [stdout] | |_________- argument #2 of type `chrono::DateTime` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/source.rs:430:12 [INFO] [stdout] | [INFO] [stdout] 430 | pub fn new(value: Option<&[u8]>, last_modified: DateTime) -> Self { [INFO] [stdout] | ^^^ ---------------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 322 - let message = ByteSource::Vector(VectorByteSource::new( [INFO] [stdout] 323 - Some("abc".as_ref()), // different message than signature [INFO] [stdout] 324 - )); [INFO] [stdout] 322 + let message = ByteSource::Vector(VectorByteSource::new(Some("abc".as_ref()), /* chrono::DateTime */)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/key/ring.rs:326:13 [INFO] [stdout] | [INFO] [stdout] 326 | VectorByteSource::new( [INFO] [stdout] | _____________^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] 327 | | Some(base64::decode("JixVA5XA4+fH5PE9Czk1yApf8f3oRCcwpB5pzMdVOBgvbWzPNv4h+nulKVvCkANYWX1iNticuX5eNwpx8HpdBw==") [INFO] [stdout] 328 | | .unwrap() [INFO] [stdout] 329 | | .as_ref()) [INFO] [stdout] 330 | | ) [INFO] [stdout] | |_____________- argument #2 of type `chrono::DateTime` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/source.rs:430:12 [INFO] [stdout] | [INFO] [stdout] 430 | pub fn new(value: Option<&[u8]>, last_modified: DateTime) -> Self { [INFO] [stdout] | ^^^ ---------------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 326 ~ VectorByteSource::new(Some(base64::decode("JixVA5XA4+fH5PE9Czk1yApf8f3oRCcwpB5pzMdVOBgvbWzPNv4h+nulKVvCkANYWX1iNticuX5eNwpx8HpdBw==") [INFO] [stdout] 327 + .unwrap() [INFO] [stdout] 328 + .as_ref()), /* chrono::DateTime */) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/key/sodiumoxide.rs:2267:23 [INFO] [stdout] | [INFO] [stdout] 2267 | let message = VectorByteSource::new(Some("abc".as_ref())).into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^---------------------- argument #2 of type `chrono::DateTime` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/source.rs:430:12 [INFO] [stdout] | [INFO] [stdout] 430 | pub fn new(value: Option<&[u8]>, last_modified: DateTime) -> Self { [INFO] [stdout] | ^^^ ---------------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 2267 | let message = VectorByteSource::new(Some("abc".as_ref()), /* chrono::DateTime */).into(); [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/key/sodiumoxide.rs:2268:25 [INFO] [stdout] | [INFO] [stdout] 2268 | let signature = VectorByteSource::new( [INFO] [stdout] | _________________________^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] 2269 | | Some(base64::decode("XZOGd+nbEkrP5cdAjed0DdjLCrhMTW3/PU2UztdTK241N2yQyG/GVPxC+jHm96+QDFMssxHU1mMm2+e4e3m7Cw==") [INFO] [stdout] 2270 | | .unwrap() [INFO] [stdout] 2271 | | .as_ref()) [INFO] [stdout] 2272 | | ).into(); [INFO] [stdout] | |_____________- argument #2 of type `chrono::DateTime` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/source.rs:430:12 [INFO] [stdout] | [INFO] [stdout] 430 | pub fn new(value: Option<&[u8]>, last_modified: DateTime) -> Self { [INFO] [stdout] | ^^^ ---------------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 2268 ~ let signature = VectorByteSource::new(Some(base64::decode("XZOGd+nbEkrP5cdAjed0DdjLCrhMTW3/PU2UztdTK241N2yQyG/GVPxC+jHm96+QDFMssxHU1mMm2+e4e3m7Cw==") [INFO] [stdout] 2269 + .unwrap() [INFO] [stdout] 2270 ~ .as_ref()), /* chrono::DateTime */).into(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/key/sodiumoxide.rs:2284:23 [INFO] [stdout] | [INFO] [stdout] 2284 | let message = VectorByteSource::new( [INFO] [stdout] | _______________________^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] 2285 | | Some("abcde".as_ref()), // not the message signed with the hardcoded signature [INFO] [stdout] 2286 | | ) [INFO] [stdout] | |_________- argument #2 of type `chrono::DateTime` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/source.rs:430:12 [INFO] [stdout] | [INFO] [stdout] 430 | pub fn new(value: Option<&[u8]>, last_modified: DateTime) -> Self { [INFO] [stdout] | ^^^ ---------------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 2284 - let message = VectorByteSource::new( [INFO] [stdout] 2285 - Some("abcde".as_ref()), // not the message signed with the hardcoded signature [INFO] [stdout] 2286 - ) [INFO] [stdout] 2284 + let message = VectorByteSource::new(Some("abcde".as_ref()), /* chrono::DateTime */) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/key/sodiumoxide.rs:2288:25 [INFO] [stdout] | [INFO] [stdout] 2288 | let signature = VectorByteSource::new( [INFO] [stdout] | _________________________^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] 2289 | | Some(base64::decode("XZOGd+nbEkrP5cdAjed0DdjLCrhMTW3/PU2UztdTK241N2yQyG/GVPxC+jHm96+QDFMssxHU1mMm2+e4e3m7Cw==") [INFO] [stdout] 2290 | | .unwrap() [INFO] [stdout] 2291 | | .as_ref()) [INFO] [stdout] 2292 | | ).into(); [INFO] [stdout] | |_____________- argument #2 of type `chrono::DateTime` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/source.rs:430:12 [INFO] [stdout] | [INFO] [stdout] 430 | pub fn new(value: Option<&[u8]>, last_modified: DateTime) -> Self { [INFO] [stdout] | ^^^ ---------------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 2288 ~ let signature = VectorByteSource::new(Some(base64::decode("XZOGd+nbEkrP5cdAjed0DdjLCrhMTW3/PU2UztdTK241N2yQyG/GVPxC+jHm96+QDFMssxHU1mMm2+e4e3m7Cw==") [INFO] [stdout] 2289 + .unwrap() [INFO] [stdout] 2290 ~ .as_ref()), /* chrono::DateTime */).into(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/key/sodiumoxide.rs:2306:23 [INFO] [stdout] | [INFO] [stdout] 2306 | let message = VectorByteSource::new(Some("abc".as_ref())).into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^---------------------- argument #2 of type `chrono::DateTime` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/source.rs:430:12 [INFO] [stdout] | [INFO] [stdout] 430 | pub fn new(value: Option<&[u8]>, last_modified: DateTime) -> Self { [INFO] [stdout] | ^^^ ---------------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 2306 | let message = VectorByteSource::new(Some("abc".as_ref()), /* chrono::DateTime */).into(); [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/key/sodiumoxide.rs:2307:25 [INFO] [stdout] | [INFO] [stdout] 2307 | let signature = VectorByteSource::new( [INFO] [stdout] | _________________________^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] 2308 | | Some(base64::decode("XZOGd+nbEkrP5cdAjed0DdjLCrhMTW3/PU2UztdTK241N2yQyG/GVPxC+jHm96+QDFMssxHU1mMm2+e4e3m7Cw==") [INFO] [stdout] 2309 | | .unwrap() [INFO] [stdout] 2310 | | .as_ref()) [INFO] [stdout] 2311 | | ).into(); [INFO] [stdout] | |_________- argument #2 of type `chrono::DateTime` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/source.rs:430:12 [INFO] [stdout] | [INFO] [stdout] 430 | pub fn new(value: Option<&[u8]>, last_modified: DateTime) -> Self { [INFO] [stdout] | ^^^ ---------------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 2307 ~ let signature = VectorByteSource::new(Some(base64::decode("XZOGd+nbEkrP5cdAjed0DdjLCrhMTW3/PU2UztdTK241N2yQyG/GVPxC+jHm96+QDFMssxHU1mMm2+e4e3m7Cw==") [INFO] [stdout] 2308 + .unwrap() [INFO] [stdout] 2309 ~ .as_ref()), /* chrono::DateTime */).into(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/key/sodiumoxide.rs:2327:23 [INFO] [stdout] | [INFO] [stdout] 2327 | let message = VectorByteSource::new(Some("abc".as_ref())).into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^---------------------- argument #2 of type `chrono::DateTime` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/source.rs:430:12 [INFO] [stdout] | [INFO] [stdout] 430 | pub fn new(value: Option<&[u8]>, last_modified: DateTime) -> Self { [INFO] [stdout] | ^^^ ---------------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 2327 | let message = VectorByteSource::new(Some("abc".as_ref()), /* chrono::DateTime */).into(); [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/key/sodiumoxide.rs:2329:13 [INFO] [stdout] | [INFO] [stdout] 2329 | VectorByteSource::new(Some(base64::decode("YWFzZA==").unwrap().as_ref())).into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^---------------------------------------------------- argument #2 of type `chrono::DateTime` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/source.rs:430:12 [INFO] [stdout] | [INFO] [stdout] 430 | pub fn new(value: Option<&[u8]>, last_modified: DateTime) -> Self { [INFO] [stdout] | ^^^ ---------------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 2329 | VectorByteSource::new(Some(base64::decode("YWFzZA==").unwrap().as_ref()), /* chrono::DateTime */).into(); [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/storage.rs:351:9 [INFO] [stdout] | [INFO] [stdout] 351 | / fn serialize(&self, serializer: S) -> Result [INFO] [stdout] 352 | | where [INFO] [stdout] 353 | | S: serde::Serializer, [INFO] [stdout] | |_________________________________^ cannot return without recursing [INFO] [stdout] 354 | { [INFO] [stdout] 355 | self.private_serialize().serialize(serializer) [INFO] [stdout] | ---------------------------------------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] = note: `#[warn(unconditional_recursion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/storage.rs:351:9 [INFO] [stdout] | [INFO] [stdout] 351 | / fn serialize(&self, serializer: S) -> Result [INFO] [stdout] 352 | | where [INFO] [stdout] 353 | | S: serde::Serializer, [INFO] [stdout] | |_________________________________^ cannot return without recursing [INFO] [stdout] 354 | { [INFO] [stdout] 355 | self.private_serialize().serialize(serializer) [INFO] [stdout] | ---------------------------------------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] = note: `#[warn(unconditional_recursion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `redact-crypto` (lib test) due to 14 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "d87240e38feb1dd7896f19d3aa102f220d3c2f2713f6b8b3a8a9eda4cbfcd6e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d87240e38feb1dd7896f19d3aa102f220d3c2f2713f6b8b3a8a9eda4cbfcd6e2", kill_on_drop: false }` [INFO] [stdout] d87240e38feb1dd7896f19d3aa102f220d3c2f2713f6b8b3a8a9eda4cbfcd6e2