[INFO] cloning repository https://github.com/zaimusho/libsignal-client-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zaimusho/libsignal-client-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzaimusho%2Flibsignal-client-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzaimusho%2Flibsignal-client-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5e8a14aad5628be5e6e64e1c3fd8f705f8d89040 [INFO] checking zaimusho/libsignal-client-rust against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzaimusho%2Flibsignal-client-rust" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zaimusho/libsignal-client-rust on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3/source/rust-toolchain [INFO] started tweaking git repo https://github.com/zaimusho/libsignal-client-rust [INFO] finished tweaking git repo https://github.com/zaimusho/libsignal-client-rust [INFO] tweaked toml for git repo https://github.com/zaimusho/libsignal-client-rust written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/zaimusho/libsignal-client-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded polyval v0.4.1 [INFO] [stderr] Downloaded neon-runtime v0.7.0 [INFO] [stderr] Downloaded curve25519-dalek v3.0.0 [INFO] [stderr] Downloaded backtrace v0.3.52 [INFO] [stderr] Downloaded syn-mid v0.5.3 [INFO] [stderr] Downloaded unzip3 v1.0.0 [INFO] [stderr] Downloaded neon-build v0.7.0 [INFO] [stderr] Downloaded aes-soft v0.6.3 [INFO] [stderr] Downloaded neon v0.7.0 [INFO] [stderr] Downloaded packed_simd v0.3.3 [INFO] [stderr] Downloaded neon-macros v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d9e39e5529f9aacebcf867f10eb2492d157324c0de785242174f8c59400ca4d1 [INFO] running `Command { std: "docker" "start" "-a" "d9e39e5529f9aacebcf867f10eb2492d157324c0de785242174f8c59400ca4d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d9e39e5529f9aacebcf867f10eb2492d157324c0de785242174f8c59400ca4d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9e39e5529f9aacebcf867f10eb2492d157324c0de785242174f8c59400ca4d1", kill_on_drop: false }` [INFO] [stdout] d9e39e5529f9aacebcf867f10eb2492d157324c0de785242174f8c59400ca4d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 701db23394f9262058db96b757ad19caf6bd403e1612d1f13a7013527af07ac9 [INFO] running `Command { std: "docker" "start" "-a" "701db23394f9262058db96b757ad19caf6bd403e1612d1f13a7013527af07ac9", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.45 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking subtle v2.3.0 [INFO] [stderr] Compiling anyhow v1.0.33 [INFO] [stderr] Checking once_cell v1.4.1 [INFO] [stderr] Checking futures-core v0.3.7 [INFO] [stderr] Checking futures-sink v0.3.7 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking futures-io v0.3.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling multimap v0.8.2 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Compiling rayon-core v1.8.1 [INFO] [stderr] Compiling neon-build v0.7.0 [INFO] [stderr] Checking half v1.6.0 [INFO] [stderr] Checking regex-syntax v0.6.20 [INFO] [stderr] Checking gimli v0.22.0 [INFO] [stderr] Checking oorandom v11.1.2 [INFO] [stderr] Checking hex v0.4.2 [INFO] [stderr] Checking smallvec v1.4.2 [INFO] [stderr] Checking rustc-demangle v0.1.17 [INFO] [stderr] Checking object v0.20.0 [INFO] [stderr] Checking cslice v0.2.0 [INFO] [stderr] Compiling unzip3 v1.0.0 [INFO] [stderr] Checking cesu8 v1.1.0 [INFO] [stderr] Checking jni-sys v0.3.0 [INFO] [stderr] Checking unicode-xid v0.2.1 [INFO] [stderr] Compiling paste v1.0.4 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling rayon v1.4.1 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Checking libloading v0.6.6 [INFO] [stderr] Checking futures-channel v0.3.7 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Checking proc-macro2 v1.0.24 [INFO] [stderr] Compiling jni v0.17.0 [INFO] [stderr] Checking futures-task v0.3.7 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking getrandom v0.1.15 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking combine v4.3.2 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking neon-runtime v0.7.0 [INFO] [stderr] Checking cipher v0.2.5 [INFO] [stderr] Checking crypto-mac v0.9.1 [INFO] [stderr] Checking universal-hash v0.4.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking sha2 v0.9.1 [INFO] [stderr] Checking polyval v0.4.1 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Checking aes-soft v0.6.3 [INFO] [stderr] Checking block-modes v0.7.0 [INFO] [stderr] Checking ctr v0.6.0 [INFO] [stderr] Checking aesni v0.10.0 [INFO] [stderr] Checking hmac v0.9.0 [INFO] [stderr] Compiling neon v0.7.0 [INFO] [stderr] Checking quote v1.0.7 [INFO] [stderr] Checking aes v0.6.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Compiling prost-build v0.6.1 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking regex v1.4.1 [INFO] [stderr] Checking criterion-plot v0.4.3 [INFO] [stderr] Checking aes-gcm-siv v0.1.0 (/opt/rustwide/workdir/rust/aes-gcm-siv) [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking plotters v0.2.15 [INFO] [stderr] Checking addr2line v0.13.0 [INFO] [stderr] Checking backtrace v0.3.52 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Checking syn-mid v0.5.3 [INFO] [stderr] Checking libsignal-bridge-macros v0.1.0 (/opt/rustwide/workdir/rust/bridge/shared/macros) [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling pin-project-internal v1.0.1 [INFO] [stderr] Compiling futures-macro v0.3.7 [INFO] [stderr] Compiling prost-derive v0.6.1 [INFO] [stderr] Compiling zeroize_derive v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling async-trait v0.1.41 [INFO] [stderr] Compiling neon-macros v0.7.0 [INFO] [stderr] Checking zeroize v1.1.1 [INFO] [stderr] Checking curve25519-dalek v3.0.0 [INFO] [stderr] Checking pin-project v1.0.1 [INFO] [stderr] Checking futures-util v0.3.7 [INFO] [stderr] Checking x25519-dalek v1.1.0 [INFO] [stderr] Compiling prost v0.6.1 [INFO] [stderr] Compiling prost-types v0.6.1 [INFO] [stderr] Checking serde v1.0.117 [INFO] [stderr] Checking futures-executor v0.3.7 [INFO] [stderr] Compiling libsignal-protocol-rust v0.1.0 (/opt/rustwide/workdir/rust/protocol) [INFO] [stderr] Checking futures v0.3.7 [INFO] [stderr] Checking signal-neon-futures v0.1.0 (/opt/rustwide/workdir/rust/bridge/node/futures) [INFO] [stdout] warning: the feature `wake_trait` has been stable since 1.51.0 and no longer requires an attribute to enable [INFO] [stdout] --> rust/bridge/node/futures/src/lib.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | #![feature(wake_trait)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking signal-neon-futures-tests v0.1.0 (/opt/rustwide/workdir/rust/bridge/node/futures/tests-node-module) [INFO] [stdout] warning: the feature `wake_trait` has been stable since 1.51.0 and no longer requires an attribute to enable [INFO] [stdout] --> rust/bridge/node/futures/src/lib.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | #![feature(wake_trait)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking libsignal-bridge v0.1.0 (/opt/rustwide/workdir/rust/bridge/shared) [INFO] [stderr] Checking libsignal-node v0.1.0 (/opt/rustwide/workdir/rust/bridge/node) [INFO] [stderr] Checking serde_json v1.0.59 [INFO] [stderr] Checking bstr v0.2.14 [INFO] [stderr] Checking serde_cbor v0.11.1 [INFO] [stderr] Checking libsignal-jni v0.1.0 (/opt/rustwide/workdir/rust/bridge/jni) [INFO] [stderr] Checking libsignal-ffi v0.1.0 (/opt/rustwide/workdir/rust/bridge/ffi) [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Checking tinytemplate v1.1.0 [INFO] [stderr] Checking criterion v0.3.3 [INFO] [stdout] error[E0624]: associated function `new` is private [INFO] [stdout] --> rust/protocol/benches/session.rs:14:47 [INFO] [stdout] | [INFO] [stdout] 14 | let alice_session_record = SessionRecord::new(alice_session); [INFO] [stdout] | ^^^ private associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> rust/protocol/benches/session.rs:14:51 [INFO] [stdout] | [INFO] [stdout] 14 | let alice_session_record = SessionRecord::new(alice_session); [INFO] [stdout] | ^^^^^^^^^^^^^ expected struct `libsignal_protocol_rust::state::session::SessionState`, found struct `libsignal_protocol_rust::SessionRecord` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `new` is private [INFO] [stdout] --> rust/protocol/benches/session.rs:15:45 [INFO] [stdout] | [INFO] [stdout] 15 | let bob_session_record = SessionRecord::new(bob_session); [INFO] [stdout] | ^^^ private associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> rust/protocol/benches/session.rs:15:49 [INFO] [stdout] | [INFO] [stdout] 15 | let bob_session_record = SessionRecord::new(bob_session); [INFO] [stdout] | ^^^^^^^^^^^ expected struct `libsignal_protocol_rust::state::session::SessionState`, found struct `libsignal_protocol_rust::SessionRecord` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> rust/protocol/benches/session.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | alice_store.store_session(&bob_address, &alice_session_record)?; [INFO] [stdout] | ^^^^^^^^^^^^^ ------------ --------------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/rust/protocol/src/storage/traits.rs:86:14 [INFO] [stdout] | [INFO] [stdout] 86 | async fn store_session( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> rust/protocol/benches/session.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | alice_store.store_session(&bob_address, &alice_session_record)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `Pin>>>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `Pin>>>` [INFO] [stdout] = note: required by `branch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> rust/protocol/benches/session.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | bob_store.store_session(&alice_address, &bob_session_record)?; [INFO] [stdout] | ^^^^^^^^^^^^^ -------------- ------------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/rust/protocol/src/storage/traits.rs:86:14 [INFO] [stdout] | [INFO] [stdout] 86 | async fn store_session( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> rust/protocol/benches/session.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | bob_store.store_session(&alice_address, &bob_session_record)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `Pin>>>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `Pin>>>` [INFO] [stdout] = note: required by `branch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> rust/protocol/benches/session.rs:26:30 [INFO] [stdout] | [INFO] [stdout] 26 | let message_to_decrypt = support::encrypt(&mut alice_store, &bob_address, "a short message")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `impl Future` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `impl Future` [INFO] [stdout] = note: required by `branch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expect` found for opaque type `impl Future` in the current scope [INFO] [stdout] --> rust/protocol/benches/session.rs:31:83 [INFO] [stdout] | [INFO] [stdout] 31 | support::decrypt(&mut bob_store, &alice_address, &message_to_decrypt).expect("success"); [INFO] [stdout] | ^^^^^^ method not found in `impl Future` [INFO] [stdout] | [INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output` [INFO] [stdout] | [INFO] [stdout] 31 | support::decrypt(&mut bob_store, &alice_address, &message_to_decrypt).await.expect("success"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> rust/protocol/benches/session.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | let _ = support::decrypt(&mut bob_store, &alice_address, &message_to_decrypt)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `impl Future` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `impl Future` [INFO] [stdout] = note: required by `branch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> rust/protocol/benches/session.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 36 | let message_to_decrypt = support::encrypt(&mut alice_store, &bob_address, "a short message")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `impl Future` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `impl Future` [INFO] [stdout] = note: required by `branch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expect` found for opaque type `impl Future` in the current scope [INFO] [stdout] --> rust/protocol/benches/session.rs:40:81 [INFO] [stdout] | [INFO] [stdout] 40 | support::encrypt(&mut alice_store, &bob_address, "a short message").expect("success"); [INFO] [stdout] | ^^^^^^ method not found in `impl Future` [INFO] [stdout] | [INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output` [INFO] [stdout] | [INFO] [stdout] 40 | support::encrypt(&mut alice_store, &bob_address, "a short message").await.expect("success"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expect` found for opaque type `impl Future` in the current scope [INFO] [stdout] --> rust/protocol/benches/session.rs:46:83 [INFO] [stdout] | [INFO] [stdout] 46 | support::decrypt(&mut bob_store, &alice_address, &message_to_decrypt).expect("success"); [INFO] [stdout] | ^^^^^^ method not found in `impl Future` [INFO] [stdout] | [INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output` [INFO] [stdout] | [INFO] [stdout] 46 | support::decrypt(&mut bob_store, &alice_address, &message_to_decrypt).await.expect("success"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `new` is private [INFO] [stdout] --> rust/protocol/benches/session.rs:55:47 [INFO] [stdout] | [INFO] [stdout] 55 | let alice_session_record = SessionRecord::new(alice_session); [INFO] [stdout] | ^^^ private associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> rust/protocol/benches/session.rs:55:51 [INFO] [stdout] | [INFO] [stdout] 55 | let alice_session_record = SessionRecord::new(alice_session); [INFO] [stdout] | ^^^^^^^^^^^^^ expected struct `libsignal_protocol_rust::state::session::SessionState`, found struct `libsignal_protocol_rust::SessionRecord` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `new` is private [INFO] [stdout] --> rust/protocol/benches/session.rs:56:45 [INFO] [stdout] | [INFO] [stdout] 56 | let bob_session_record = SessionRecord::new(bob_session); [INFO] [stdout] | ^^^ private associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> rust/protocol/benches/session.rs:56:49 [INFO] [stdout] | [INFO] [stdout] 56 | let bob_session_record = SessionRecord::new(bob_session); [INFO] [stdout] | ^^^^^^^^^^^ expected struct `libsignal_protocol_rust::state::session::SessionState`, found struct `libsignal_protocol_rust::SessionRecord` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> rust/protocol/benches/session.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | alice_store.store_session(&bob_address, &alice_session_record)?; [INFO] [stdout] | ^^^^^^^^^^^^^ ------------ --------------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/rust/protocol/src/storage/traits.rs:86:14 [INFO] [stdout] | [INFO] [stdout] 86 | async fn store_session( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> rust/protocol/benches/session.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | alice_store.store_session(&bob_address, &alice_session_record)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `Pin>>>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `Pin>>>` [INFO] [stdout] = note: required by `branch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> rust/protocol/benches/session.rs:65:15 [INFO] [stdout] | [INFO] [stdout] 65 | bob_store.store_session(&alice_address, &bob_session_record)?; [INFO] [stdout] | ^^^^^^^^^^^^^ -------------- ------------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/rust/protocol/src/storage/traits.rs:86:14 [INFO] [stdout] | [INFO] [stdout] 86 | async fn store_session( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> rust/protocol/benches/session.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | bob_store.store_session(&alice_address, &bob_session_record)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `Pin>>>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `Pin>>>` [INFO] [stdout] = note: required by `branch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expect` found for opaque type `impl Future` in the current scope [INFO] [stdout] --> rust/protocol/benches/session.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 70 | .expect("success"); [INFO] [stdout] | ^^^^^^ method not found in `impl Future` [INFO] [stdout] | [INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output` [INFO] [stdout] | [INFO] [stdout] 70 | .await.expect("success"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expect` found for opaque type `impl Future` in the current scope [INFO] [stdout] --> rust/protocol/benches/session.rs:71:83 [INFO] [stdout] | [INFO] [stdout] 71 | let _ptext = support::decrypt(&mut bob_store, &alice_address, &ctext).expect("success"); [INFO] [stdout] | ^^^^^^ method not found in `impl Future` [INFO] [stdout] | [INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output` [INFO] [stdout] | [INFO] [stdout] 71 | let _ptext = support::decrypt(&mut bob_store, &alice_address, &ctext).await.expect("success"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expect` found for opaque type `impl Future` in the current scope [INFO] [stdout] --> rust/protocol/benches/session.rs:78:18 [INFO] [stdout] | [INFO] [stdout] 78 | .expect("success"); [INFO] [stdout] | ^^^^^^ method not found in `impl Future` [INFO] [stdout] | [INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output` [INFO] [stdout] | [INFO] [stdout] 78 | .await.expect("success"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expect` found for opaque type `impl Future` in the current scope [INFO] [stdout] --> rust/protocol/benches/session.rs:79:83 [INFO] [stdout] | [INFO] [stdout] 79 | let _ptext = support::decrypt(&mut bob_store, &alice_address, &ctext).expect("success"); [INFO] [stdout] | ^^^^^^ method not found in `impl Future` [INFO] [stdout] | [INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output` [INFO] [stdout] | [INFO] [stdout] 79 | let _ptext = support::decrypt(&mut bob_store, &alice_address, &ctext).await.expect("success"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expect` found for opaque type `impl Future` in the current scope [INFO] [stdout] --> rust/protocol/benches/session.rs:82:18 [INFO] [stdout] | [INFO] [stdout] 82 | .expect("success"); [INFO] [stdout] | ^^^^^^ method not found in `impl Future` [INFO] [stdout] | [INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output` [INFO] [stdout] | [INFO] [stdout] 82 | .await.expect("success"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expect` found for opaque type `impl Future` in the current scope [INFO] [stdout] --> rust/protocol/benches/session.rs:83:83 [INFO] [stdout] | [INFO] [stdout] 83 | let _ptext = support::decrypt(&mut alice_store, &bob_address, &ctext).expect("success"); [INFO] [stdout] | ^^^^^^ method not found in `impl Future` [INFO] [stdout] | [INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output` [INFO] [stdout] | [INFO] [stdout] 83 | let _ptext = support::decrypt(&mut alice_store, &bob_address, &ctext).await.expect("success"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 28 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308, E0599, E0624. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `libsignal-protocol-rust` due to 29 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "701db23394f9262058db96b757ad19caf6bd403e1612d1f13a7013527af07ac9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "701db23394f9262058db96b757ad19caf6bd403e1612d1f13a7013527af07ac9", kill_on_drop: false }` [INFO] [stdout] 701db23394f9262058db96b757ad19caf6bd403e1612d1f13a7013527af07ac9