[INFO] cloning repository https://github.com/creationix/casnet [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/creationix/casnet" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcreationix%2Fcasnet", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcreationix%2Fcasnet'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 80684a012ff9ae5dafbbe1f231eadd2db7d8511a [INFO] checking creationix/casnet against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcreationix%2Fcasnet" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/creationix/casnet on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7/source/.cargo/config [INFO] started tweaking git repo https://github.com/creationix/casnet [INFO] finished tweaking git repo https://github.com/creationix/casnet [INFO] tweaked toml for git repo https://github.com/creationix/casnet written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/creationix/casnet already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded time v0.1.39 [INFO] [stderr] Downloaded libc v0.2.37 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2a42ca38d73f71f2279a6b0188863b052e3f3cb30af60c55eeabb9e166b4e50b [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" "2a42ca38d73f71f2279a6b0188863b052e3f3cb30af60c55eeabb9e166b4e50b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a42ca38d73f71f2279a6b0188863b052e3f3cb30af60c55eeabb9e166b4e50b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a42ca38d73f71f2279a6b0188863b052e3f3cb30af60c55eeabb9e166b4e50b", kill_on_drop: false }` [INFO] [stdout] 2a42ca38d73f71f2279a6b0188863b052e3f3cb30af60c55eeabb9e166b4e50b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 06beed2ea7e09a720bd89927522c1e9580c616a9c74f9b39fad0b17f1e08a6dc [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" "06beed2ea7e09a720bd89927522c1e9580c616a9c74f9b39fad0b17f1e08a6dc", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.37 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking time v0.1.39 [INFO] [stderr] Checking rand v0.3.22 [INFO] [stderr] Checking casnet v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `parcel` in this scope [INFO] [stdout] --> src/main.rs:35:67 [INFO] [stdout] | [INFO] [stdout] 35 | let mut channel = ChaCha20Poly1305::new(&shared, &nonce, &parcel); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `nonce` in this scope [INFO] [stdout] --> src/main.rs:66:40 [INFO] [stdout] | [INFO] [stdout] 66 | if let Some(time) = recent.get(nonce) { [INFO] [stdout] | ^^^^^ help: you might have meant to use the available field: `self.nonce` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `timestamp` in this scope [INFO] [stdout] --> src/main.rs:67:25 [INFO] [stdout] | [INFO] [stdout] 67 | if *time == timestamp { [INFO] [stdout] | ^^^^^^^^^ help: you might have meant to use the available field: `self.timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `nonce` in this scope [INFO] [stdout] --> src/main.rs:73:30 [INFO] [stdout] | [INFO] [stdout] 73 | copy.copy_from_slice(nonce); [INFO] [stdout] | ^^^^^ help: you might have meant to use the available field: `self.nonce` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `timestamp` in this scope [INFO] [stdout] --> src/main.rs:74:29 [INFO] [stdout] | [INFO] [stdout] 74 | recent.insert(copy, timestamp); [INFO] [stdout] | ^^^^^^^^^ help: you might have meant to use the available field: `self.timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `address` in this scope [INFO] [stdout] --> src/main.rs:75:34 [INFO] [stdout] | [INFO] [stdout] 75 | if &receiver as &[u8] != address { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `receiver_secret` in this scope [INFO] [stdout] --> src/main.rs:79:22 [INFO] [stdout] | [INFO] [stdout] 79 | let shared = receiver_secret.exchange(&sender); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `sender` in this scope [INFO] [stdout] --> src/main.rs:79:48 [INFO] [stdout] | [INFO] [stdout] 79 | let shared = receiver_secret.exchange(&sender); [INFO] [stdout] | ^^^^^^ help: you might have meant to use the available field: `self.sender` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `nonce` in this scope [INFO] [stdout] --> src/main.rs:80:58 [INFO] [stdout] | [INFO] [stdout] 80 | let mut channel = ChaCha20Poly1305::new(&shared, nonce, header); [INFO] [stdout] | ^^^^^ help: you might have meant to use the available field: `self.nonce` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `header` in this scope [INFO] [stdout] --> src/main.rs:80:65 [INFO] [stdout] | [INFO] [stdout] 80 | let mut channel = ChaCha20Poly1305::new(&shared, nonce, header); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `payload` in this scope [INFO] [stdout] --> src/main.rs:81:34 [INFO] [stdout] | [INFO] [stdout] 81 | let mut output = vec![0; payload.len()]; [INFO] [stdout] | ^^^^^^^ help: you might have meant to use the available field: `self.payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `payload` in this scope [INFO] [stdout] --> src/main.rs:82:28 [INFO] [stdout] | [INFO] [stdout] 82 | if channel.decrypt(payload, &mut output, tag) { [INFO] [stdout] | ^^^^^^^ help: you might have meant to use the available field: `self.payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `tag` in this scope [INFO] [stdout] --> src/main.rs:82:50 [INFO] [stdout] | [INFO] [stdout] 82 | if channel.decrypt(payload, &mut output, tag) { [INFO] [stdout] | ^^^ help: you might have meant to use the available field: `self.tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `sender` in this scope [INFO] [stdout] --> src/main.rs:83:19 [INFO] [stdout] | [INFO] [stdout] 83 | Some((sender, output)) [INFO] [stdout] | ^^^^^^ help: you might have meant to use the available field: `self.sender` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hex::Hex` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use hex::Hex; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `parcel` in this scope [INFO] [stdout] --> src/main.rs:35:67 [INFO] [stdout] | [INFO] [stdout] 35 | let mut channel = ChaCha20Poly1305::new(&shared, &nonce, &parcel); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `nonce` in this scope [INFO] [stdout] --> src/main.rs:66:40 [INFO] [stdout] | [INFO] [stdout] 66 | if let Some(time) = recent.get(nonce) { [INFO] [stdout] | ^^^^^ help: you might have meant to use the available field: `self.nonce` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `timestamp` in this scope [INFO] [stdout] --> src/main.rs:67:25 [INFO] [stdout] | [INFO] [stdout] 67 | if *time == timestamp { [INFO] [stdout] | ^^^^^^^^^ help: you might have meant to use the available field: `self.timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `nonce` in this scope [INFO] [stdout] --> src/main.rs:73:30 [INFO] [stdout] | [INFO] [stdout] 73 | copy.copy_from_slice(nonce); [INFO] [stdout] | ^^^^^ help: you might have meant to use the available field: `self.nonce` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `timestamp` in this scope [INFO] [stdout] --> src/main.rs:74:29 [INFO] [stdout] | [INFO] [stdout] 74 | recent.insert(copy, timestamp); [INFO] [stdout] | ^^^^^^^^^ help: you might have meant to use the available field: `self.timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `address` in this scope [INFO] [stdout] --> src/main.rs:75:34 [INFO] [stdout] | [INFO] [stdout] 75 | if &receiver as &[u8] != address { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `receiver_secret` in this scope [INFO] [stdout] --> src/main.rs:79:22 [INFO] [stdout] | [INFO] [stdout] 79 | let shared = receiver_secret.exchange(&sender); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `sender` in this scope [INFO] [stdout] --> src/main.rs:79:48 [INFO] [stdout] | [INFO] [stdout] 79 | let shared = receiver_secret.exchange(&sender); [INFO] [stdout] | ^^^^^^ help: you might have meant to use the available field: `self.sender` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `nonce` in this scope [INFO] [stdout] --> src/main.rs:80:58 [INFO] [stdout] | [INFO] [stdout] 80 | let mut channel = ChaCha20Poly1305::new(&shared, nonce, header); [INFO] [stdout] | ^^^^^ help: you might have meant to use the available field: `self.nonce` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `header` in this scope [INFO] [stdout] --> src/main.rs:80:65 [INFO] [stdout] | [INFO] [stdout] 80 | let mut channel = ChaCha20Poly1305::new(&shared, nonce, header); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `payload` in this scope [INFO] [stdout] --> src/main.rs:81:34 [INFO] [stdout] | [INFO] [stdout] 81 | let mut output = vec![0; payload.len()]; [INFO] [stdout] | ^^^^^^^ help: you might have meant to use the available field: `self.payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `payload` in this scope [INFO] [stdout] --> src/main.rs:82:28 [INFO] [stdout] | [INFO] [stdout] 82 | if channel.decrypt(payload, &mut output, tag) { [INFO] [stdout] | ^^^^^^^ help: you might have meant to use the available field: `self.payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `tag` in this scope [INFO] [stdout] --> src/main.rs:82:50 [INFO] [stdout] | [INFO] [stdout] 82 | if channel.decrypt(payload, &mut output, tag) { [INFO] [stdout] | ^^^ help: you might have meant to use the available field: `self.tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `sender` in this scope [INFO] [stdout] --> src/main.rs:83:19 [INFO] [stdout] | [INFO] [stdout] 83 | Some((sender, output)) [INFO] [stdout] | ^^^^^^ help: you might have meant to use the available field: `self.sender` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hex::Hex` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use hex::Hex; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | sender, [INFO] [stdout] | ^^^^^^ expected struct `PublicKey`, found `&PublicKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | sender, [INFO] [stdout] | ^^^^^^ expected struct `PublicKey`, found `&PublicKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | receiver, [INFO] [stdout] | ^^^^^^^^ expected struct `PublicKey`, found `&PublicKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | timestamp, [INFO] [stdout] | ^^^^^^^^^ expected `u32`, found `u64` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `u64` to `u32` and panic if the converted value wouldn't fit [INFO] [stdout] | [INFO] [stdout] 47 | timestamp: timestamp.try_into().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | receiver, [INFO] [stdout] | ^^^^^^^^ expected struct `PublicKey`, found `&PublicKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | timestamp, [INFO] [stdout] | ^^^^^^^^^ expected `u32`, found `u64` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `u64` to `u32` and panic if the converted value wouldn't fit [INFO] [stdout] | [INFO] [stdout] 47 | timestamp: timestamp.try_into().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 57 | ) -> (PublicKey, Vec) { [INFO] [stdout] | -------------------- expected `(PublicKey, Vec)` because of return type [INFO] [stdout] ... [INFO] [stdout] 64 | return None; [INFO] [stdout] | ^^^^ expected tuple, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(PublicKey, Vec)` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 57 | ) -> (PublicKey, Vec) { [INFO] [stdout] | -------------------- expected `(PublicKey, Vec)` because of return type [INFO] [stdout] ... [INFO] [stdout] 64 | return None; [INFO] [stdout] | ^^^^ expected tuple, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(PublicKey, Vec)` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 57 | ) -> (PublicKey, Vec) { [INFO] [stdout] | -------------------- expected `(PublicKey, Vec)` because of return type [INFO] [stdout] ... [INFO] [stdout] 83 | Some((sender, output)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ expected tuple, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(PublicKey, Vec)` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 57 | ) -> (PublicKey, Vec) { [INFO] [stdout] | -------------------- expected `(PublicKey, Vec)` because of return type [INFO] [stdout] ... [INFO] [stdout] 83 | Some((sender, output)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ expected tuple, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(PublicKey, Vec)` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 57 | ) -> (PublicKey, Vec) { [INFO] [stdout] | -------------------- expected `(PublicKey, Vec)` because of return type [INFO] [stdout] ... [INFO] [stdout] 86 | None [INFO] [stdout] | ^^^^ expected tuple, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(PublicKey, Vec)` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0605]: non-primitive cast: `&(&PublicKey, &SecretKey)` as `&[u8]` [INFO] [stdout] --> src/main.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | if &receiver as &[u8] != address { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ an `as` expression can only be used to convert between primitive types or to coerce to a specific trait object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Parcel` doesn't implement `Debug` [INFO] [stdout] --> src/main.rs:97:22 [INFO] [stdout] | [INFO] [stdout] 97 | println!("{:?}", parcel); [INFO] [stdout] | ^^^^^^ `Parcel` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `Parcel` [INFO] [stdout] = note: add `#[derive(Debug)]` or manually implement `Debug` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 57 | ) -> (PublicKey, Vec) { [INFO] [stdout] | -------------------- expected `(PublicKey, Vec)` because of return type [INFO] [stdout] ... [INFO] [stdout] 86 | None [INFO] [stdout] | ^^^^ expected tuple, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(PublicKey, Vec)` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0605]: non-primitive cast: `&(&PublicKey, &SecretKey)` as `&[u8]` [INFO] [stdout] --> src/main.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | if &receiver as &[u8] != address { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ an `as` expression can only be used to convert between primitive types or to coerce to a specific trait object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Parcel` doesn't implement `Debug` [INFO] [stdout] --> src/main.rs:97:22 [INFO] [stdout] | [INFO] [stdout] 97 | println!("{:?}", parcel); [INFO] [stdout] | ^^^^^^ `Parcel` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `Parcel` [INFO] [stdout] = note: add `#[derive(Debug)]` or manually implement `Debug` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425, E0605. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425, E0605. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `casnet` [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" "06beed2ea7e09a720bd89927522c1e9580c616a9c74f9b39fad0b17f1e08a6dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06beed2ea7e09a720bd89927522c1e9580c616a9c74f9b39fad0b17f1e08a6dc", kill_on_drop: false }` [INFO] [stdout] 06beed2ea7e09a720bd89927522c1e9580c616a9c74f9b39fad0b17f1e08a6dc