[INFO] fetching crate streamson-lib 7.1.0... [INFO] checking streamson-lib-7.1.0 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate streamson-lib 7.1.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate streamson-lib 7.1.0 [INFO] finished tweaking crates.io crate streamson-lib 7.1.0 [INFO] tweaked toml for crates.io crate streamson-lib 7.1.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate streamson-lib 7.1.0 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 98 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.3.6 (available: v0.6.0) [INFO] [stderr] Adding rstest v0.6.4 (available: v0.25.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sedregex v0.2.5 [INFO] [stderr] Downloaded rstest v0.6.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b9b66a5cf5754e963b254535577667f2b6dac6fc2a262a0ac2699184e0cb7962 [INFO] running `Command { std: "docker" "start" "-a" "b9b66a5cf5754e963b254535577667f2b6dac6fc2a262a0ac2699184e0cb7962", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b9b66a5cf5754e963b254535577667f2b6dac6fc2a262a0ac2699184e0cb7962", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9b66a5cf5754e963b254535577667f2b6dac6fc2a262a0ac2699184e0cb7962", kill_on_drop: false }` [INFO] [stdout] b9b66a5cf5754e963b254535577667f2b6dac6fc2a262a0ac2699184e0cb7962 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ad86ca4824eaf34146d304142bcb18638895c57bb79d99a68e852ef5c350c94 [INFO] running `Command { std: "docker" "start" "-a" "0ad86ca4824eaf34146d304142bcb18638895c57bb79d99a68e852ef5c350c94", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking csv-core v0.1.12 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Compiling rstest v0.6.4 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking criterion-plot v0.4.5 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking sedregex v0.2.5 [INFO] [stderr] Checking criterion v0.3.6 [INFO] [stderr] Checking streamson-lib v7.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `idx` is never read [INFO] [stdout] --> src/strategy/trigger.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 23 | struct StackItem { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 24 | /// Total index [INFO] [stdout] 25 | idx: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StackItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/streamer.rs:169:16 [INFO] [stdout] | [INFO] [stdout] 169 | fn advance(&mut self) -> Drain { [INFO] [stdout] | ^^^^^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 169 | fn advance(&mut self) -> Drain<'_, u8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `process` found for struct `Extract` in the current scope [INFO] [stdout] --> benches/extract.rs:40:25 [INFO] [stdout] | [INFO] [stdout] 40 | extract.process(black_box(data)).unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `Extract` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/strategy.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | fn process(&mut self, input: &[u8]) -> Result, error::General>; [INFO] [stdout] | ------- the method is available for `Extract` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Strategy` which provides `process` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use streamson_lib::strategy::Strategy; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `process` found for struct `Convert` in the current scope [INFO] [stdout] --> benches/convert.rs:41:25 [INFO] [stdout] | [INFO] [stdout] 41 | convert.process(black_box(data)).unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `Convert` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/strategy.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | fn process(&mut self, input: &[u8]) -> Result, error::General>; [INFO] [stdout] | ------- the method is available for `Convert` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Strategy` which provides `process` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use streamson_lib::strategy::Strategy; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `process` found for struct `Trigger` in the current scope [INFO] [stdout] --> benches/trigger.rs:43:25 [INFO] [stdout] | [INFO] [stdout] 43 | trigger.process(black_box(data)).unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `Trigger` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/strategy.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | fn process(&mut self, input: &[u8]) -> Result, error::General>; [INFO] [stdout] | ------- the method is available for `Trigger` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Strategy` which provides `process` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use streamson_lib::strategy::Strategy; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `process` found for struct `streamson_lib::strategy::Filter` in the current scope [INFO] [stdout] --> benches/filter.rs:40:24 [INFO] [stdout] | [INFO] [stdout] 40 | filter.process(black_box(data)).unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `streamson_lib::strategy::Filter` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/strategy.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | fn process(&mut self, input: &[u8]) -> Result, error::General>; [INFO] [stdout] | ------- the method is available for `streamson_lib::strategy::Filter` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Strategy` which provides `process` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use streamson_lib::strategy::Strategy; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> benches/filter.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | filter.add_matcher(Box::new(first_combo.clone())); [INFO] [stdout] | ^^^^^^^^^^^------------------------------- argument #2 of type `Option>>` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/strategy/filter.rs:202:12 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn add_matcher( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 54 | filter.add_matcher(Box::new(first_combo.clone()), /* Option>> */); [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> benches/extract.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | extract.add_matcher(Box::new(first_combo.clone())); [INFO] [stdout] | ^^^^^^^^^^^------------------------------- argument #2 of type `Option>>` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/strategy/extract.rs:177:12 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn add_matcher( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 54 | extract.add_matcher(Box::new(first_combo.clone()), /* Option>> */); [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> benches/filter.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | filter.add_matcher(Box::new(second_combo.clone())); [INFO] [stdout] | ^^^^^^^^^^^-------------------------------- argument #2 of type `Option>>` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/strategy/filter.rs:202:12 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn add_matcher( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 55 | filter.add_matcher(Box::new(second_combo.clone()), /* Option>> */); [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> benches/extract.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | extract.add_matcher(Box::new(second_combo.clone())); [INFO] [stdout] | ^^^^^^^^^^^-------------------------------- argument #2 of type `Option>>` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/strategy/extract.rs:177:12 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn add_matcher( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 55 | extract.add_matcher(Box::new(second_combo.clone()), /* Option>> */); [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/convert.rs:58:56 [INFO] [stdout] | [INFO] [stdout] 58 | convert.add_matcher(Box::new(first_combo.clone()), vec![replace_handler.clone()]); [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Arc>`, found `Vec>>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc>` [INFO] [stdout] found struct `Vec>>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/strategy/convert.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn add_matcher(&mut self, matcher: Box, handler: Arc>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> benches/filter.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | filter.add_matcher(Box::new(first_combo)); [INFO] [stdout] | ^^^^^^^^^^^----------------------- argument #2 of type `Option>>` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/strategy/filter.rs:202:12 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn add_matcher( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 65 | filter.add_matcher(Box::new(first_combo), /* Option>> */); [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/trigger.rs:63:58 [INFO] [stdout] | [INFO] [stdout] 63 | trigger.add_matcher(Box::new(first_matcher.clone()), &[handler.clone()]); [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^ expected `Arc>`, found `&[Arc>; 1]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc>` [INFO] [stdout] found reference `&[Arc>; 1]` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/strategy/trigger.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn add_matcher(&mut self, matcher: Box, handler: Arc>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> benches/extract.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | extract.add_matcher(Box::new(first_combo)); [INFO] [stdout] | ^^^^^^^^^^^----------------------- argument #2 of type `Option>>` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/strategy/extract.rs:177:12 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn add_matcher( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 65 | extract.add_matcher(Box::new(first_combo), /* Option>> */); [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> benches/filter.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | filter.add_matcher(Box::new(second_combo)); [INFO] [stdout] | ^^^^^^^^^^^------------------------ argument #2 of type `Option>>` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/strategy/filter.rs:202:12 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn add_matcher( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 66 | filter.add_matcher(Box::new(second_combo), /* Option>> */); [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/convert.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 59 | convert.add_matcher( [INFO] [stdout] | ----------- arguments to this method are incorrect [INFO] [stdout] 60 | Box::new(second_combo.clone()), [INFO] [stdout] 61 | vec![replace_handler.clone()], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Arc>`, found `Vec>>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc>` [INFO] [stdout] found struct `Vec>>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/strategy/convert.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn add_matcher(&mut self, matcher: Box, handler: Arc>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/trigger.rs:64:59 [INFO] [stdout] | [INFO] [stdout] 64 | trigger.add_matcher(Box::new(second_matcher.clone()), &[handler.clone()]); [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^ expected `Arc>`, found `&[Arc>; 1]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc>` [INFO] [stdout] found reference `&[Arc>; 1]` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/strategy/trigger.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn add_matcher(&mut self, matcher: Box, handler: Arc>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> benches/extract.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | extract.add_matcher(Box::new(second_combo)); [INFO] [stdout] | ^^^^^^^^^^^------------------------ argument #2 of type `Option>>` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/strategy/extract.rs:177:12 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn add_matcher( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 66 | extract.add_matcher(Box::new(second_combo), /* Option>> */); [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/convert.rs:72:48 [INFO] [stdout] | [INFO] [stdout] 72 | convert.add_matcher(Box::new(first_combo), vec![replace_handler.clone()]); [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Arc>`, found `Vec>>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc>` [INFO] [stdout] found struct `Vec>>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/strategy/convert.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn add_matcher(&mut self, matcher: Box, handler: Arc>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/trigger.rs:80:50 [INFO] [stdout] | [INFO] [stdout] 80 | trigger.add_matcher(Box::new(first_matcher), &[handler.clone()]); [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^ expected `Arc>`, found `&[Arc>; 1]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc>` [INFO] [stdout] found reference `&[Arc>; 1]` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/strategy/trigger.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn add_matcher(&mut self, matcher: Box, handler: Arc>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, 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/trigger.rs:81:51 [INFO] [stdout] | [INFO] [stdout] 81 | trigger.add_matcher(Box::new(second_matcher), &[handler.clone()]); [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^ expected `Arc>`, found `&[Arc>; 1]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc>` [INFO] [stdout] found reference `&[Arc>; 1]` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/strategy/trigger.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn add_matcher(&mut self, matcher: Box, handler: Arc>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/convert.rs:73:49 [INFO] [stdout] | [INFO] [stdout] 73 | convert.add_matcher(Box::new(second_combo), vec![replace_handler.clone()]); [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Arc>`, found `Vec>>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc>` [INFO] [stdout] found struct `Vec>>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/strategy/convert.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn add_matcher(&mut self, matcher: Box, handler: Arc>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `streamson-lib` (bench "extract") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `streamson-lib` (bench "filter") due to 5 previous errors [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/trigger.rs:94:50 [INFO] [stdout] | [INFO] [stdout] 94 | trigger.add_matcher(Box::new(first_matcher), &[handler.clone()]); [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^ expected `Arc>`, found `&[Arc>; 1]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc>` [INFO] [stdout] found reference `&[Arc>; 1]` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/strategy/trigger.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn add_matcher(&mut self, matcher: Box, handler: Arc>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `streamson-lib` (bench "convert") due to 5 previous errors [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/trigger.rs:95:51 [INFO] [stdout] | [INFO] [stdout] 95 | trigger.add_matcher(Box::new(second_matcher), &[handler.clone()]); [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^ expected `Arc>`, found `&[Arc>; 1]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc>` [INFO] [stdout] found reference `&[Arc>; 1]` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/strategy/trigger.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn add_matcher(&mut self, matcher: Box, handler: Arc>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/trigger.rs:108:58 [INFO] [stdout] | [INFO] [stdout] 108 | trigger.add_matcher(Box::new(first_matcher.clone()), &[handler.clone()]); [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^ expected `Arc>`, found `&[Arc>; 1]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc>` [INFO] [stdout] found reference `&[Arc>; 1]` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/strategy/trigger.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn add_matcher(&mut self, matcher: Box, handler: Arc>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/trigger.rs:109:59 [INFO] [stdout] | [INFO] [stdout] 109 | trigger.add_matcher(Box::new(second_matcher.clone()), &[handler.clone()]); [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^ expected `Arc>`, found `&[Arc>; 1]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc>` [INFO] [stdout] found reference `&[Arc>; 1]` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/strategy/trigger.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn add_matcher(&mut self, matcher: Box, handler: Arc>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/trigger.rs:122:50 [INFO] [stdout] | [INFO] [stdout] 122 | trigger.add_matcher(Box::new(first_matcher), &[handler.clone()]); [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^ expected `Arc>`, found `&[Arc>; 1]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc>` [INFO] [stdout] found reference `&[Arc>; 1]` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/strategy/trigger.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn add_matcher(&mut self, matcher: Box, handler: Arc>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/trigger.rs:123:51 [INFO] [stdout] | [INFO] [stdout] 123 | trigger.add_matcher(Box::new(second_matcher), &[handler.clone()]); [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^ expected `Arc>`, found `&[Arc>; 1]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc>` [INFO] [stdout] found reference `&[Arc>; 1]` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/strategy/trigger.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn add_matcher(&mut self, matcher: Box, handler: Arc>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/trigger.rs:136:50 [INFO] [stdout] | [INFO] [stdout] 136 | trigger.add_matcher(Box::new(first_matcher), &[handler.clone()]); [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^ expected `Arc>`, found `&[Arc>; 1]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc>` [INFO] [stdout] found reference `&[Arc>; 1]` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/strategy/trigger.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn add_matcher(&mut self, matcher: Box, handler: Arc>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/trigger.rs:137:51 [INFO] [stdout] | [INFO] [stdout] 137 | trigger.add_matcher(Box::new(second_matcher), &[handler.clone()]); [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^ expected `Arc>`, found `&[Arc>; 1]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc>` [INFO] [stdout] found reference `&[Arc>; 1]` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/strategy/trigger.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn add_matcher(&mut self, matcher: Box, handler: Arc>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/trigger.rs:152:56 [INFO] [stdout] | [INFO] [stdout] 152 | trigger.add_matcher(Box::new(first_combo.clone()), &[handler.clone()]); [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^ expected `Arc>`, found `&[Arc>; 1]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc>` [INFO] [stdout] found reference `&[Arc>; 1]` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/strategy/trigger.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn add_matcher(&mut self, matcher: Box, handler: Arc>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/trigger.rs:153:57 [INFO] [stdout] | [INFO] [stdout] 153 | trigger.add_matcher(Box::new(second_combo.clone()), &[handler.clone()]); [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^ expected `Arc>`, found `&[Arc>; 1]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc>` [INFO] [stdout] found reference `&[Arc>; 1]` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/strategy/trigger.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn add_matcher(&mut self, matcher: Box, handler: Arc>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/trigger.rs:166:48 [INFO] [stdout] | [INFO] [stdout] 166 | trigger.add_matcher(Box::new(first_combo), &[handler.clone()]); [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^ expected `Arc>`, found `&[Arc>; 1]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc>` [INFO] [stdout] found reference `&[Arc>; 1]` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/strategy/trigger.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn add_matcher(&mut self, matcher: Box, handler: Arc>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/trigger.rs:167:49 [INFO] [stdout] | [INFO] [stdout] 167 | trigger.add_matcher(Box::new(second_combo), &[handler.clone()]); [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^ expected `Arc>`, found `&[Arc>; 1]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc>` [INFO] [stdout] found reference `&[Arc>; 1]` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/strategy/trigger.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn add_matcher(&mut self, matcher: Box, handler: Arc>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/trigger.rs:182:48 [INFO] [stdout] | [INFO] [stdout] 182 | trigger.add_matcher(Box::new(first_combo), &[handler.clone()]); [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^ expected `Arc>`, found `&[Arc>; 1]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc>` [INFO] [stdout] found reference `&[Arc>; 1]` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/strategy/trigger.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn add_matcher(&mut self, matcher: Box, handler: Arc>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/trigger.rs:183:49 [INFO] [stdout] | [INFO] [stdout] 183 | trigger.add_matcher(Box::new(second_combo), &[handler.clone()]); [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^ expected `Arc>`, found `&[Arc>; 1]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc>` [INFO] [stdout] found reference `&[Arc>; 1]` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/strategy/trigger.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn add_matcher(&mut self, matcher: Box, handler: Arc>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `streamson-lib` (bench "trigger") due to 19 previous errors [INFO] [stdout] warning: field `idx` is never read [INFO] [stdout] --> src/strategy/trigger.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 23 | struct StackItem { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 24 | /// Total index [INFO] [stdout] 25 | idx: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StackItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/streamer.rs:169:16 [INFO] [stdout] | [INFO] [stdout] 169 | fn advance(&mut self) -> Drain { [INFO] [stdout] | ^^^^^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 169 | fn advance(&mut self) -> Drain<'_, u8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0ad86ca4824eaf34146d304142bcb18638895c57bb79d99a68e852ef5c350c94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ad86ca4824eaf34146d304142bcb18638895c57bb79d99a68e852ef5c350c94", kill_on_drop: false }` [INFO] [stdout] 0ad86ca4824eaf34146d304142bcb18638895c57bb79d99a68e852ef5c350c94