[INFO] fetching crate tsproto 0.2.0... [INFO] checking tsproto-0.2.0 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] extracting crate tsproto 0.2.0 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate tsproto 0.2.0 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tsproto 0.2.0 [INFO] finished tweaking crates.io crate tsproto 0.2.0 [INFO] tweaked toml for crates.io crate tsproto 0.2.0 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate crates.io crate tsproto 0.2.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--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-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 551edc970d6095f36c7e30beb4b9919c6e0c7cdee5daa3fee8c4555965dac9de [INFO] running `Command { std: "docker" "start" "-a" "551edc970d6095f36c7e30beb4b9919c6e0c7cdee5daa3fee8c4555965dac9de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "551edc970d6095f36c7e30beb4b9919c6e0c7cdee5daa3fee8c4555965dac9de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "551edc970d6095f36c7e30beb4b9919c6e0c7cdee5daa3fee8c4555965dac9de", kill_on_drop: false }` [INFO] [stdout] 551edc970d6095f36c7e30beb4b9919c6e0c7cdee5daa3fee8c4555965dac9de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f87ecb27eca4f2610f158f4c3c6eb742e4784bd53c867e6579b08f38ff4f81d0 [INFO] running `Command { std: "docker" "start" "-a" "f87ecb27eca4f2610f158f4c3c6eb742e4784bd53c867e6579b08f38ff4f81d0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Checking subtle v2.4.0 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking const-oid v0.5.2 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Checking zeroize v1.3.0 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Checking futures-io v0.3.15 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking half v1.7.1 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking no-std-compat v0.4.1 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.6.3 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.4.0 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling time v0.2.26 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking getrandom v0.2.2 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking der v0.3.3 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Checking omnom v3.0.0 [INFO] [stderr] Compiling cast v0.2.5 [INFO] [stderr] Checking plotters v0.3.0 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking bitvec v0.20.4 [INFO] [stderr] Checking term v0.7.0 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking spki v0.3.0 [INFO] [stderr] Checking cipher v0.3.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking dbl v0.3.1 [INFO] [stderr] Checking aead v0.4.1 [INFO] [stderr] Checking slog-perf v0.2.0 [INFO] [stderr] Checking criterion-plot v0.4.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking crypto-mac v0.11.0 [INFO] [stderr] Checking ctr v0.7.0 [INFO] [stderr] Checking aes v0.7.1 [INFO] [stderr] Checking pkcs8 v0.6.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking signature v1.3.0 [INFO] [stderr] Checking curve25519-dalek v3.1.0 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking cmac v0.6.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking sha2 v0.9.5 [INFO] [stderr] Checking sha-1 v0.9.6 [INFO] [stderr] Checking crossbeam-epoch v0.9.4 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking eax v0.4.0 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking slog-term v2.8.0 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking slog-async v2.6.0 [INFO] [stderr] Checking ff v0.9.0 [INFO] [stderr] Checking group v0.9.0 [INFO] [stderr] Checking elliptic-curve v0.9.11 [INFO] [stderr] Checking ecdsa v0.11.0 [INFO] [stderr] Checking p256 v0.8.1 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling t4rust-derive v0.3.0 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling ref-cast-impl v1.0.6 [INFO] [stderr] Compiling rental-impl v0.5.5 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling git-testament-derive v0.1.12 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Checking git-testament v0.2.0 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking simple_asn1 v0.5.2 [INFO] [stderr] Checking quicklz v0.3.0 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Checking futures-executor v0.3.15 [INFO] [stderr] Checking futures v0.3.15 [INFO] [stderr] Checking rental v0.5.6 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking bstr v0.2.16 [INFO] [stderr] Checking serde_cbor v0.11.1 [INFO] [stderr] Checking tsproto-packets v0.1.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking criterion v0.3.4 [INFO] [stderr] Compiling tsproto-structs v0.2.0 [INFO] [stderr] Compiling tsproto-types v0.1.0 [INFO] [stderr] Checking tsproto v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> benches/license.rs:8:30 [INFO] [stdout] | [INFO] [stdout] 8 | let derived_key = licenses.derive_public_key().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/license.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn derive_public_key(&self, root: EccKeyPubEd25519) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `criterion::Criterion::::bench_functions`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/license.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | c.bench_functions("License", vec![standard, aal], ()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tsproto` due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: use of deprecated associated function `criterion::Criterion::::bench_functions`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/modpow.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | c.bench_functions("ModPow", benches, ()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tsproto::crypto` [INFO] [stdout] --> benches/utils/mod.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use tsproto::crypto::EccKeyPrivP256; [INFO] [stdout] | ^^^^^^ could not find `crypto` in `tsproto` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `delay_for` in module `tokio::time` [INFO] [stdout] --> benches/message.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | _ = tokio::time::delay_for(tokio::time::Duration::from_millis(50)) => { [INFO] [stdout] | ^^^^^^^^^ not found in `tokio::time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_command` in this scope [INFO] [stdout] --> benches/command.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | b.iter(|| parse_command(cmd).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_command` in this scope [INFO] [stdout] --> benches/command.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | let command = parse_command(cmd).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tsproto_packets::commands::*` [INFO] [stdout] --> benches/command.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tsproto_packets::commands::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tsproto::crypto` [INFO] [stdout] --> benches/utils/mod.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use tsproto::crypto::EccKeyPrivP256; [INFO] [stdout] | ^^^^^^ could not find `crypto` in `tsproto` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 5 arguments were supplied [INFO] [stdout] --> benches/command.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 19 | OutCommand::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected 4 arguments [INFO] [stdout] 20 | Direction::S2C, [INFO] [stdout] | -------------- [INFO] [stdout] 21 | PacketType::Command, [INFO] [stdout] | ------------------- [INFO] [stdout] 22 | command.name, [INFO] [stdout] | ------------ [INFO] [stdout] 23 | command.static_args.iter().map(|(k, v)| (*k, v.as_ref())), [INFO] [stdout] | --------------------------------------------------------- [INFO] [stdout] 24 | command.list_args.iter().map(|i| i.iter().map(|(k, v)| (*k, v.as_ref()))), [INFO] [stdout] | ------------------------------------------------------------------------- supplied 5 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tsproto-packets-0.1.0/src/packets.rs:987:9 [INFO] [stdout] | [INFO] [stdout] 987 | pub fn new(dir: Direction, flags: Flags, p_type: PacketType, name: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `criterion::Benchmark`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/message.rs:2:59 [INFO] [stdout] | [INFO] [stdout] 2 | use criterion::{criterion_group, criterion_main, Bencher, Benchmark, Criterion}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `criterion::Benchmark`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/message.rs:66:21 [INFO] [stdout] | [INFO] [stdout] 66 | c.bench("message", Benchmark::new("message", send_messages).sample_size(200)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `criterion::Benchmark`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/connect.rs:2:59 [INFO] [stdout] | [INFO] [stdout] 2 | use criterion::{criterion_group, criterion_main, Bencher, Benchmark, Criterion}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 5 arguments but 3 arguments were supplied [INFO] [stdout] --> benches/utils/mod.rs:49:3 [INFO] [stdout] | [INFO] [stdout] 49 | tsproto::log::add_logger(con.logger.clone(), verbose - 1, &mut con) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ------------------ ----------- -------- supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 5 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/log.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn add_logger( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `criterion::Benchmark`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/connect.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | c.bench("connect", Benchmark::new("connect", one_connect).sample_size(20)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `data` found for reference `&InCommand<'_>` in the current scope [INFO] [stdout] --> benches/connect.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | if packet.data().data().name == "channellistfinished" { [INFO] [stdout] | ^^^^ method not found in `&InCommand<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for type `u64` in the current scope [INFO] [stdout] --> benches/utils/mod.rs:66:55 [INFO] [stdout] | [INFO] [stdout] 66 | let offset = algs::hash_cash(&private_key_as_pub, 8).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this associated function takes 0 generic arguments but 7 generic arguments were supplied [INFO] [stdout] --> benches/utils/mod.rs:70:27 [INFO] [stdout] | [INFO] [stdout] 70 | let packet = OutCommand::new::<_, _, String, String, _, _, std::iter::Empty<_>>( [INFO] [stdout] | ^^^--------------------------------------------------- help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here, with 0 generic parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tsproto-packets-0.1.0/src/packets.rs:987:9 [INFO] [stdout] | [INFO] [stdout] 987 | pub fn new(dir: Direction, flags: Flags, p_type: PacketType, name: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 5 arguments were supplied [INFO] [stdout] --> benches/utils/mod.rs:70:15 [INFO] [stdout] | [INFO] [stdout] 70 | let packet = OutCommand::new::<_, _, String, String, _, _, std::iter::Empty<_>>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 4 arguments [INFO] [stdout] 71 | Direction::C2S, [INFO] [stdout] | -------------- [INFO] [stdout] 72 | PacketType::Command, [INFO] [stdout] | ------------------- [INFO] [stdout] 73 | "clientinit", [INFO] [stdout] | ------------ [INFO] [stdout] 74 | / vec![ [INFO] [stdout] 75 | | ("client_nickname", "Bot"), [INFO] [stdout] 76 | | ("client_version", "3.?.? [Build: 5680278000]"), [INFO] [stdout] 77 | | ("client_platform", "Linux"), [INFO] [stdout] ... | [INFO] [stdout] 97 | | ] [INFO] [stdout] 98 | | .into_iter(), [INFO] [stdout] | |____________________- [INFO] [stdout] 99 | std::iter::empty(), [INFO] [stdout] | ------------------ supplied 5 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tsproto-packets-0.1.0/src/packets.rs:987:9 [INFO] [stdout] | [INFO] [stdout] 987 | pub fn new(dir: Direction, flags: Flags, p_type: PacketType, name: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 5 arguments but 3 arguments were supplied [INFO] [stdout] --> benches/utils/mod.rs:49:3 [INFO] [stdout] | [INFO] [stdout] 49 | tsproto::log::add_logger(con.logger.clone(), verbose - 1, &mut con) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ------------------ ----------- -------- supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 5 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/log.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn add_logger( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for type `u64` in the current scope [INFO] [stdout] --> benches/utils/mod.rs:66:55 [INFO] [stdout] | [INFO] [stdout] 66 | let offset = algs::hash_cash(&private_key_as_pub, 8).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this associated function takes 0 generic arguments but 7 generic arguments were supplied [INFO] [stdout] --> benches/utils/mod.rs:70:27 [INFO] [stdout] | [INFO] [stdout] 70 | let packet = OutCommand::new::<_, _, String, String, _, _, std::iter::Empty<_>>( [INFO] [stdout] | ^^^--------------------------------------------------- help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here, with 0 generic parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tsproto-packets-0.1.0/src/packets.rs:987:9 [INFO] [stdout] | [INFO] [stdout] 987 | pub fn new(dir: Direction, flags: Flags, p_type: PacketType, name: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 5 arguments were supplied [INFO] [stdout] --> benches/utils/mod.rs:70:15 [INFO] [stdout] | [INFO] [stdout] 70 | let packet = OutCommand::new::<_, _, String, String, _, _, std::iter::Empty<_>>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 4 arguments [INFO] [stdout] 71 | Direction::C2S, [INFO] [stdout] | -------------- [INFO] [stdout] 72 | PacketType::Command, [INFO] [stdout] | ------------------- [INFO] [stdout] 73 | "clientinit", [INFO] [stdout] | ------------ [INFO] [stdout] 74 | / vec![ [INFO] [stdout] 75 | | ("client_nickname", "Bot"), [INFO] [stdout] 76 | | ("client_version", "3.?.? [Build: 5680278000]"), [INFO] [stdout] 77 | | ("client_platform", "Linux"), [INFO] [stdout] ... | [INFO] [stdout] 97 | | ] [INFO] [stdout] 98 | | .into_iter(), [INFO] [stdout] | |____________________- [INFO] [stdout] 99 | std::iter::empty(), [INFO] [stdout] | ------------------ supplied 5 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tsproto-packets-0.1.0/src/packets.rs:987:9 [INFO] [stdout] | [INFO] [stdout] 987 | pub fn new(dir: Direction, flags: Flags, p_type: PacketType, name: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/utils/mod.rs:102:18 [INFO] [stdout] | [INFO] [stdout] 102 | con.send_packet(packet)?; [INFO] [stdout] | ^^^^^^ expected struct `OutPacket`, found struct `tsproto_packets::packets::OutCommand` [INFO] [stdout] | [INFO] [stdout] note: return type inferred to be `OutPacket` here [INFO] [stdout] --> benches/utils/mod.rs:57:2 [INFO] [stdout] | [INFO] [stdout] 57 | con.connect().await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this associated function takes 0 generic arguments but 7 generic arguments were supplied [INFO] [stdout] --> benches/utils/mod.rs:116:27 [INFO] [stdout] | [INFO] [stdout] 116 | let packet = OutCommand::new::<_, _, String, String, _, _, std::iter::Empty<_>>( [INFO] [stdout] | ^^^--------------------------------------------------- help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here, with 0 generic parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tsproto-packets-0.1.0/src/packets.rs:987:9 [INFO] [stdout] | [INFO] [stdout] 987 | pub fn new(dir: Direction, flags: Flags, p_type: PacketType, name: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 5 arguments were supplied [INFO] [stdout] --> benches/utils/mod.rs:116:15 [INFO] [stdout] | [INFO] [stdout] 116 | let packet = OutCommand::new::<_, _, String, String, _, _, std::iter::Empty<_>>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 4 arguments [INFO] [stdout] 117 | Direction::C2S, [INFO] [stdout] | -------------- [INFO] [stdout] 118 | PacketType::Command, [INFO] [stdout] | ------------------- [INFO] [stdout] 119 | "clientdisconnect", [INFO] [stdout] | ------------------ [INFO] [stdout] 120 | / vec![ [INFO] [stdout] 121 | | // Reason: Disconnect [INFO] [stdout] 122 | | ("reasonid", "8"), [INFO] [stdout] 123 | | ("reasonmsg", "Bye"), [INFO] [stdout] 124 | | ] [INFO] [stdout] 125 | | .into_iter(), [INFO] [stdout] | |____________________- [INFO] [stdout] 126 | std::iter::empty(), [INFO] [stdout] | ------------------ supplied 5 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tsproto-packets-0.1.0/src/packets.rs:987:9 [INFO] [stdout] | [INFO] [stdout] 987 | pub fn new(dir: Direction, flags: Flags, p_type: PacketType, name: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/utils/mod.rs:102:18 [INFO] [stdout] | [INFO] [stdout] 102 | con.send_packet(packet)?; [INFO] [stdout] | ^^^^^^ expected struct `OutPacket`, found struct `tsproto_packets::packets::OutCommand` [INFO] [stdout] | [INFO] [stdout] note: return type inferred to be `OutPacket` here [INFO] [stdout] --> benches/utils/mod.rs:57:2 [INFO] [stdout] | [INFO] [stdout] 57 | con.connect().await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this associated function takes 0 generic arguments but 7 generic arguments were supplied [INFO] [stdout] --> benches/utils/mod.rs:116:27 [INFO] [stdout] | [INFO] [stdout] 116 | let packet = OutCommand::new::<_, _, String, String, _, _, std::iter::Empty<_>>( [INFO] [stdout] | ^^^--------------------------------------------------- help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here, with 0 generic parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tsproto-packets-0.1.0/src/packets.rs:987:9 [INFO] [stdout] | [INFO] [stdout] 987 | pub fn new(dir: Direction, flags: Flags, p_type: PacketType, name: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 5 arguments were supplied [INFO] [stdout] --> benches/utils/mod.rs:116:15 [INFO] [stdout] | [INFO] [stdout] 116 | let packet = OutCommand::new::<_, _, String, String, _, _, std::iter::Empty<_>>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 4 arguments [INFO] [stdout] 117 | Direction::C2S, [INFO] [stdout] | -------------- [INFO] [stdout] 118 | PacketType::Command, [INFO] [stdout] | ------------------- [INFO] [stdout] 119 | "clientdisconnect", [INFO] [stdout] | ------------------ [INFO] [stdout] 120 | / vec![ [INFO] [stdout] 121 | | // Reason: Disconnect [INFO] [stdout] 122 | | ("reasonid", "8"), [INFO] [stdout] 123 | | ("reasonmsg", "Bye"), [INFO] [stdout] 124 | | ] [INFO] [stdout] 125 | | .into_iter(), [INFO] [stdout] | |____________________- [INFO] [stdout] 126 | std::iter::empty(), [INFO] [stdout] | ------------------ supplied 5 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tsproto-packets-0.1.0/src/packets.rs:987:9 [INFO] [stdout] | [INFO] [stdout] 987 | pub fn new(dir: Direction, flags: Flags, p_type: PacketType, name: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/utils/mod.rs:129:18 [INFO] [stdout] | [INFO] [stdout] 129 | con.send_packet(packet)?; [INFO] [stdout] | ^^^^^^ expected struct `OutPacket`, found struct `tsproto_packets::packets::OutCommand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/utils/mod.rs:129:18 [INFO] [stdout] | [INFO] [stdout] 129 | con.send_packet(packet)?; [INFO] [stdout] | ^^^^^^ expected struct `OutPacket`, found struct `tsproto_packets::packets::OutCommand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this associated function takes 0 generic arguments but 7 generic arguments were supplied [INFO] [stdout] --> benches/message.rs:31:28 [INFO] [stdout] | [INFO] [stdout] 31 | let packet = OutCommand::new::<_, _, String, String, _, _, std::iter::Empty<_>>( [INFO] [stdout] | ^^^--------------------------------------------------- help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here, with 0 generic parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tsproto-packets-0.1.0/src/packets.rs:987:9 [INFO] [stdout] | [INFO] [stdout] 987 | pub fn new(dir: Direction, flags: Flags, p_type: PacketType, name: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 5 arguments were supplied [INFO] [stdout] --> benches/message.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | let packet = OutCommand::new::<_, _, String, String, _, _, std::iter::Empty<_>>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 4 arguments [INFO] [stdout] 32 | Direction::C2S, [INFO] [stdout] | -------------- [INFO] [stdout] 33 | PacketType::Command, [INFO] [stdout] | ------------------- [INFO] [stdout] 34 | "sendtextmessage", [INFO] [stdout] | ----------------- [INFO] [stdout] 35 | vec![("targetmode", "3"), ("msg", &text)].into_iter(), [INFO] [stdout] | ----------------------------------------------------- [INFO] [stdout] 36 | std::iter::empty(), [INFO] [stdout] | ------------------ supplied 5 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tsproto-packets-0.1.0/src/packets.rs:987:9 [INFO] [stdout] | [INFO] [stdout] 987 | pub fn new(dir: Direction, flags: Flags, p_type: PacketType, name: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `criterion::Criterion::::bench`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/connect.rs:71:4 [INFO] [stdout] | [INFO] [stdout] 71 | c.bench("connect", Benchmark::new("connect", one_connect).sample_size(20)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0107, E0308, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/message.rs:42:35 [INFO] [stdout] | [INFO] [stdout] 42 | last_id = Some(con.send_packet(packet).unwrap()); [INFO] [stdout] | ^^^^^^ expected struct `OutPacket`, found struct `tsproto_packets::packets::OutCommand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `Pin<&mut _>` in the current scope [INFO] [stdout] --> benches/message.rs:51:3 [INFO] [stdout] | [INFO] [stdout] 51 | / tokio::select! { [INFO] [stdout] 52 | | _ = tokio::time::delay_for(tokio::time::Duration::from_millis(50)) => { [INFO] [stdout] 53 | | } [INFO] [stdout] 54 | | _ = con.wait_disconnect() => { [INFO] [stdout] 55 | | anyhow::bail!("Disconnected"); [INFO] [stdout] 56 | | } [INFO] [stdout] 57 | | }; [INFO] [stdout] | |__________^ method not found in `Pin<&mut _>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] = note: this error originates in the macro `$crate::select` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `Pin<_>` in the current scope [INFO] [stdout] --> benches/message.rs:51:3 [INFO] [stdout] | [INFO] [stdout] 51 | / tokio::select! { [INFO] [stdout] 52 | | _ = tokio::time::delay_for(tokio::time::Duration::from_millis(50)) => { [INFO] [stdout] 53 | | } [INFO] [stdout] 54 | | _ = con.wait_disconnect() => { [INFO] [stdout] 55 | | anyhow::bail!("Disconnected"); [INFO] [stdout] 56 | | } [INFO] [stdout] 57 | | }; [INFO] [stdout] | |__________^ method not found in `Pin<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] = note: this error originates in the macro `$crate::select` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `criterion::Criterion::::bench`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/message.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | c.bench("message", Benchmark::new("message", send_messages).sample_size(200)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0107, E0308, E0425, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "f87ecb27eca4f2610f158f4c3c6eb742e4784bd53c867e6579b08f38ff4f81d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f87ecb27eca4f2610f158f4c3c6eb742e4784bd53c867e6579b08f38ff4f81d0", kill_on_drop: false }` [INFO] [stdout] f87ecb27eca4f2610f158f4c3c6eb742e4784bd53c867e6579b08f38ff4f81d0