[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#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzaimusho%2Flibsignal-client-rust" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zaimusho/libsignal-client-rust on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-0/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-0/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c184fe07ec5011d54336d23fca81396ee44a1465b4600c3b7ae403b20e0f17c7 [INFO] running `Command { std: "docker" "start" "-a" "c184fe07ec5011d54336d23fca81396ee44a1465b4600c3b7ae403b20e0f17c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c184fe07ec5011d54336d23fca81396ee44a1465b4600c3b7ae403b20e0f17c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c184fe07ec5011d54336d23fca81396ee44a1465b4600c3b7ae403b20e0f17c7", kill_on_drop: false }` [INFO] [stdout] c184fe07ec5011d54336d23fca81396ee44a1465b4600c3b7ae403b20e0f17c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 82be20a9f83dfc63fba968beb962a30c28ef24527ed87e0279d78e9b0a002e84 [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" "82be20a9f83dfc63fba968beb962a30c28ef24527ed87e0279d78e9b0a002e84", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.89 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking futures-core v0.3.13 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking futures-task v0.3.13 [INFO] [stderr] Checking futures-io v0.3.13 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling neon-build v0.7.1 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking semver-parser v0.7.0 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking jni-sys v0.3.0 [INFO] [stderr] Compiling unzip3 v1.0.0 [INFO] [stderr] Checking cesu8 v1.1.0 [INFO] [stderr] Checking unicode-xid v0.2.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Checking futures-channel v0.3.13 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking itertools v0.10.0 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking semver v0.9.0 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Checking proc-macro2 v1.0.24 [INFO] [stderr] Compiling jni v0.17.0 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking neon-runtime v0.7.1 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Checking combine v4.5.2 [INFO] [stderr] Checking quote v1.0.9 [INFO] [stderr] Compiling neon v0.7.1 [INFO] [stderr] Checking cipher v0.2.5 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.9.1 [INFO] [stderr] Checking universal-hash v0.4.0 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking criterion-plot v0.4.3 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Checking sha2 v0.9.3 [INFO] [stderr] Checking hmac v0.9.0 [INFO] [stderr] Checking aes-soft v0.6.4 [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 polyval v0.4.5 [INFO] [stderr] Checking crossbeam-epoch v0.9.3 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking backtrace v0.3.56 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Checking aes v0.6.0 [INFO] [stderr] Compiling prost-build v0.6.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Checking plotters v0.3.0 [INFO] [stderr] Checking aes-gcm-siv v0.1.0 (/opt/rustwide/workdir/rust/aes-gcm-siv) [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling syn-mid v0.5.3 [INFO] [stderr] Checking libsignal-bridge-macros v0.1.0 (/opt/rustwide/workdir/rust/bridge/shared/macros) [INFO] [stderr] Compiling futures-macro v0.3.13 [INFO] [stderr] Compiling prost-derive v0.6.1 [INFO] [stderr] Compiling zeroize_derive v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling async-trait v0.1.48 [INFO] [stderr] Compiling neon-macros v0.7.1 [INFO] [stderr] Checking zeroize v1.2.0 [INFO] [stderr] Checking curve25519-dalek v3.0.2 [INFO] [stderr] Checking futures-util v0.3.13 [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 futures-executor v0.3.13 [INFO] [stderr] Checking futures v0.3.13 [INFO] [stderr] Checking signal-neon-futures v0.1.0 (/opt/rustwide/workdir/rust/bridge/node/futures) [INFO] [stderr] Checking serde v1.0.124 [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] [stderr] Compiling libsignal-protocol-rust v0.1.0 (/opt/rustwide/workdir/rust/protocol) [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 bstr v0.2.15 [INFO] [stderr] Checking serde_cbor v0.11.1 [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 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.6 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.3.4 [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 `into_result` [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 `into_result` [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 `into_result` [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 `into_result` [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 `into_result` [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 `into_result` [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 `into_result` [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` [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" "82be20a9f83dfc63fba968beb962a30c28ef24527ed87e0279d78e9b0a002e84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82be20a9f83dfc63fba968beb962a30c28ef24527ed87e0279d78e9b0a002e84", kill_on_drop: false }` [INFO] [stdout] 82be20a9f83dfc63fba968beb962a30c28ef24527ed87e0279d78e9b0a002e84