[INFO] cloning repository https://github.com/hyst329/tspr [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hyst329/tspr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhyst329%2Ftspr", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhyst329%2Ftspr'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 269517abb0871f992319fd20968e954a01e5d48f [INFO] testing hyst329/tspr against 1.55.0 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhyst329%2Ftspr" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hyst329/tspr on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hyst329/tspr [INFO] finished tweaking git repo https://github.com/hyst329/tspr [INFO] tweaked toml for git repo https://github.com/hyst329/tspr written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/hyst329/tspr already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "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] 9985482295bc90f0c312bf63b37b73c82379557b7556e89dfb707bd65d03fdfd [INFO] running `Command { std: "docker" "start" "-a" "9985482295bc90f0c312bf63b37b73c82379557b7556e89dfb707bd65d03fdfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9985482295bc90f0c312bf63b37b73c82379557b7556e89dfb707bd65d03fdfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9985482295bc90f0c312bf63b37b73c82379557b7556e89dfb707bd65d03fdfd", kill_on_drop: false }` [INFO] [stdout] 9985482295bc90f0c312bf63b37b73c82379557b7556e89dfb707bd65d03fdfd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee5497b980f1c98c3502374b0869388479c4731e8110728ace56fdbfd0bdcf3c [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" "ee5497b980f1c98c3502374b0869388479c4731e8110728ace56fdbfd0bdcf3c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling ucd-trie v0.1.1 [INFO] [stderr] Compiling maplit v1.0.1 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling socket2 v0.3.8 [INFO] [stderr] Compiling syn v0.15.28 [INFO] [stderr] Compiling hmac v0.5.0 [INFO] [stderr] Compiling pest v2.1.0 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling postgres-protocol v0.3.2 [INFO] [stderr] Compiling pest_meta v2.1.0 [INFO] [stderr] Compiling postgres-shared v0.4.2 [INFO] [stderr] Compiling pest_generator v2.1.0 [INFO] [stderr] Compiling postgres v0.15.2 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling tspr v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/pattern.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | f: Box Result>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Event) -> Result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/pattern.rs:93:20 [INFO] [stdout] | [INFO] [stdout] 93 | extractor: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn IdxExtractor` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/pattern.rs:134:20 [INFO] [stdout] | [INFO] [stdout] 134 | extractor: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn IdxExtractor` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/pattern.rs:144:20 [INFO] [stdout] | [INFO] [stdout] 144 | extractor: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn IdxExtractor` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/pattern.rs:145:26 [INFO] [stdout] | [INFO] [stdout] 145 | field_extractor: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FieldExtractor` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/pattern.rs:161:15 [INFO] [stdout] | [INFO] [stdout] 161 | left: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Pattern` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/pattern.rs:162:16 [INFO] [stdout] | [INFO] [stdout] 162 | right: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Pattern` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/pattern.rs:163:15 [INFO] [stdout] | [INFO] [stdout] 163 | func: Box, &Result) -> Result>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Result, &Result) -> Result` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/pattern.rs:186:15 [INFO] [stdout] | [INFO] [stdout] 186 | func: Box, &Result) -> Result>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Result, &Result) -> Result` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/pattern.rs:217:15 [INFO] [stdout] | [INFO] [stdout] 217 | func: Box, &Result) -> Result>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Result, &Result) -> Result` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_state` [INFO] [stdout] --> src/core/pattern.rs:239:22 [INFO] [stdout] | [INFO] [stdout] 239 | fn apply(&self, old_state: CouplePatternState, events: Vec) -> CouplePatternState src/core/pattern.rs:239:81 [INFO] [stdout] | [INFO] [stdout] 239 | ...State1, State2, T1, T2, T3>, events: Vec) -> CouplePatternState { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_events` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `AggregateFunction` [INFO] [stdout] --> src/dsl/ast.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | enum AggregateFunction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `AST` [INFO] [stdout] --> src/dsl/ast.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | enum AST { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `TimeInterval` [INFO] [stdout] --> src/core/time.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct TimeInterval(u64, u64); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `RangeInterval` [INFO] [stdout] --> src/core/time.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct RangeInterval(u64, u64); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Interval` [INFO] [stdout] --> src/core/time.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Interval { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Window` [INFO] [stdout] --> src/core/time.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Window(u64); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/core/pattern.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn new(index: Idx, start: Idx, end: Idx, value: Result) -> IdxValue { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Success` [INFO] [stdout] --> src/core/pattern.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | Success(T), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Failure` [INFO] [stdout] --> src/core/pattern.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | Failure, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `constant` [INFO] [stdout] --> src/core/pattern.rs:132:4 [INFO] [stdout] | [INFO] [stdout] 132 | fn constant( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `field` [INFO] [stdout] --> src/core/pattern.rs:142:4 [INFO] [stdout] | [INFO] [stdout] 142 | fn field( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `func` [INFO] [stdout] --> src/core/pattern.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | func: Box, &Result) -> Result>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `couple_inner` [INFO] [stdout] --> src/core/pattern.rs:182:4 [INFO] [stdout] | [INFO] [stdout] 182 | fn couple_inner( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `couple_process_queues` [INFO] [stdout] --> src/core/pattern.rs:213:4 [INFO] [stdout] | [INFO] [stdout] 213 | fn couple_process_queues( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 28.50s [INFO] running `Command { std: "docker" "inspect" "ee5497b980f1c98c3502374b0869388479c4731e8110728ace56fdbfd0bdcf3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee5497b980f1c98c3502374b0869388479c4731e8110728ace56fdbfd0bdcf3c", kill_on_drop: false }` [INFO] [stdout] ee5497b980f1c98c3502374b0869388479c4731e8110728ace56fdbfd0bdcf3c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 592336c67812c3056314a71d0e533e3c03c985a5f112f45d6836d7ae0f5a13a6 [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" "592336c67812c3056314a71d0e533e3c03c985a5f112f45d6836d7ae0f5a13a6", kill_on_drop: false }` [INFO] [stderr] Compiling tspr v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/pattern.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | f: Box Result>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Event) -> Result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/pattern.rs:93:20 [INFO] [stdout] | [INFO] [stdout] 93 | extractor: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn IdxExtractor` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/pattern.rs:134:20 [INFO] [stdout] | [INFO] [stdout] 134 | extractor: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn IdxExtractor` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/pattern.rs:144:20 [INFO] [stdout] | [INFO] [stdout] 144 | extractor: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn IdxExtractor` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/pattern.rs:145:26 [INFO] [stdout] | [INFO] [stdout] 145 | field_extractor: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FieldExtractor` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/pattern.rs:161:15 [INFO] [stdout] | [INFO] [stdout] 161 | left: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Pattern` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/pattern.rs:162:16 [INFO] [stdout] | [INFO] [stdout] 162 | right: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Pattern` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/pattern.rs:163:15 [INFO] [stdout] | [INFO] [stdout] 163 | func: Box, &Result) -> Result>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Result, &Result) -> Result` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/pattern.rs:186:15 [INFO] [stdout] | [INFO] [stdout] 186 | func: Box, &Result) -> Result>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Result, &Result) -> Result` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/pattern.rs:217:15 [INFO] [stdout] | [INFO] [stdout] 217 | func: Box, &Result) -> Result>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Result, &Result) -> Result` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_state` [INFO] [stdout] --> src/core/pattern.rs:239:22 [INFO] [stdout] | [INFO] [stdout] 239 | fn apply(&self, old_state: CouplePatternState, events: Vec) -> CouplePatternState src/core/pattern.rs:239:81 [INFO] [stdout] | [INFO] [stdout] 239 | ...State1, State2, T1, T2, T3>, events: Vec) -> CouplePatternState { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_events` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `AggregateFunction` [INFO] [stdout] --> src/dsl/ast.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | enum AggregateFunction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `AST` [INFO] [stdout] --> src/dsl/ast.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | enum AST { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `TimeInterval` [INFO] [stdout] --> src/core/time.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct TimeInterval(u64, u64); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `RangeInterval` [INFO] [stdout] --> src/core/time.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct RangeInterval(u64, u64); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Interval` [INFO] [stdout] --> src/core/time.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Interval { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Window` [INFO] [stdout] --> src/core/time.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Window(u64); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/core/pattern.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn new(index: Idx, start: Idx, end: Idx, value: Result) -> IdxValue { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Success` [INFO] [stdout] --> src/core/pattern.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | Success(T), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Failure` [INFO] [stdout] --> src/core/pattern.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | Failure, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `constant` [INFO] [stdout] --> src/core/pattern.rs:132:4 [INFO] [stdout] | [INFO] [stdout] 132 | fn constant( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `field` [INFO] [stdout] --> src/core/pattern.rs:142:4 [INFO] [stdout] | [INFO] [stdout] 142 | fn field( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `func` [INFO] [stdout] --> src/core/pattern.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | func: Box, &Result) -> Result>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `couple_inner` [INFO] [stdout] --> src/core/pattern.rs:182:4 [INFO] [stdout] | [INFO] [stdout] 182 | fn couple_inner( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `couple_process_queues` [INFO] [stdout] --> src/core/pattern.rs:213:4 [INFO] [stdout] | [INFO] [stdout] 213 | fn couple_process_queues( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.02s [INFO] running `Command { std: "docker" "inspect" "592336c67812c3056314a71d0e533e3c03c985a5f112f45d6836d7ae0f5a13a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "592336c67812c3056314a71d0e533e3c03c985a5f112f45d6836d7ae0f5a13a6", kill_on_drop: false }` [INFO] [stdout] 592336c67812c3056314a71d0e533e3c03c985a5f112f45d6836d7ae0f5a13a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f9210fd1751d0c42490fe9c6a382d29b3f51292780702faed33eb2570c14384b [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" "f9210fd1751d0c42490fe9c6a382d29b3f51292780702faed33eb2570c14384b", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/core/pattern.rs:92:12 [INFO] [stderr] | [INFO] [stderr] 92 | f: Box Result>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Event) -> Result` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/core/pattern.rs:93:20 [INFO] [stderr] | [INFO] [stderr] 93 | extractor: Box>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn IdxExtractor` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/core/pattern.rs:134:20 [INFO] [stderr] | [INFO] [stderr] 134 | extractor: Box>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn IdxExtractor` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/core/pattern.rs:144:20 [INFO] [stderr] | [INFO] [stderr] 144 | extractor: Box>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn IdxExtractor` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/core/pattern.rs:145:26 [INFO] [stderr] | [INFO] [stderr] 145 | field_extractor: Box>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FieldExtractor` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/core/pattern.rs:161:15 [INFO] [stderr] | [INFO] [stderr] 161 | left: Box>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Pattern` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/core/pattern.rs:162:16 [INFO] [stderr] | [INFO] [stderr] 162 | right: Box>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Pattern` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/core/pattern.rs:163:15 [INFO] [stderr] | [INFO] [stderr] 163 | func: Box, &Result) -> Result>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Result, &Result) -> Result` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/core/pattern.rs:186:15 [INFO] [stderr] | [INFO] [stderr] 186 | func: Box, &Result) -> Result>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Result, &Result) -> Result` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/core/pattern.rs:217:15 [INFO] [stderr] | [INFO] [stderr] 217 | func: Box, &Result) -> Result>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Result, &Result) -> Result` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: unused variable: `old_state` [INFO] [stderr] --> src/core/pattern.rs:239:22 [INFO] [stderr] | [INFO] [stderr] 239 | fn apply(&self, old_state: CouplePatternState, events: Vec) -> CouplePatternState src/core/pattern.rs:239:81 [INFO] [stderr] | [INFO] [stderr] 239 | ...State1, State2, T1, T2, T3>, events: Vec) -> CouplePatternState { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_events` [INFO] [stderr] [INFO] [stderr] warning: enum is never used: `AggregateFunction` [INFO] [stderr] --> src/dsl/ast.rs:5:6 [INFO] [stderr] | [INFO] [stderr] 5 | enum AggregateFunction { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: enum is never used: `AST` [INFO] [stderr] --> src/dsl/ast.rs:12:6 [INFO] [stderr] | [INFO] [stderr] 12 | enum AST { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `TimeInterval` [INFO] [stderr] --> src/core/time.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | pub struct TimeInterval(u64, u64); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `RangeInterval` [INFO] [stderr] --> src/core/time.rs:2:12 [INFO] [stderr] | [INFO] [stderr] 2 | pub struct RangeInterval(u64, u64); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum is never used: `Interval` [INFO] [stderr] --> src/core/time.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | pub enum Interval { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Window` [INFO] [stderr] --> src/core/time.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct Window(u64); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/core/pattern.rs:48:8 [INFO] [stderr] | [INFO] [stderr] 48 | fn new(index: Idx, start: Idx, end: Idx, value: Result) -> IdxValue { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Success` [INFO] [stderr] --> src/core/pattern.rs:70:5 [INFO] [stderr] | [INFO] [stderr] 70 | Success(T), [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Failure` [INFO] [stderr] --> src/core/pattern.rs:71:5 [INFO] [stderr] | [INFO] [stderr] 71 | Failure, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `constant` [INFO] [stderr] --> src/core/pattern.rs:132:4 [INFO] [stderr] | [INFO] [stderr] 132 | fn constant( [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `field` [INFO] [stderr] --> src/core/pattern.rs:142:4 [INFO] [stderr] | [INFO] [stderr] 142 | fn field( [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `func` [INFO] [stderr] --> src/core/pattern.rs:163:5 [INFO] [stderr] | [INFO] [stderr] 163 | func: Box, &Result) -> Result>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `couple_inner` [INFO] [stderr] --> src/core/pattern.rs:182:4 [INFO] [stderr] | [INFO] [stderr] 182 | fn couple_inner( [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `couple_process_queues` [INFO] [stderr] --> src/core/pattern.rs:213:4 [INFO] [stderr] | [INFO] [stderr] 213 | fn couple_process_queues( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `tspr` (bin "tspr" test) generated 26 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/tspr-6d1be976c09a9acd) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test dsl::tests::tests::test_pattern_parser ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f9210fd1751d0c42490fe9c6a382d29b3f51292780702faed33eb2570c14384b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9210fd1751d0c42490fe9c6a382d29b3f51292780702faed33eb2570c14384b", kill_on_drop: false }` [INFO] [stdout] f9210fd1751d0c42490fe9c6a382d29b3f51292780702faed33eb2570c14384b