[INFO] fetching crate codas 0.5.1... [INFO] testing codas-0.5.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate codas 0.5.1 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate codas 0.5.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate codas 0.5.1 [INFO] tweaked toml for crates.io crate codas 0.5.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate codas 0.5.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate codas 0.5.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3dde138c7de4e115a8ada269fdb89e3f6e00d50ac736aa7b66d95f31e2916f6b [INFO] running `Command { std: "docker" "start" "-a" "3dde138c7de4e115a8ada269fdb89e3f6e00d50ac736aa7b66d95f31e2916f6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3dde138c7de4e115a8ada269fdb89e3f6e00d50ac736aa7b66d95f31e2916f6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3dde138c7de4e115a8ada269fdb89e3f6e00d50ac736aa7b66d95f31e2916f6b", kill_on_drop: false }` [INFO] [stdout] 3dde138c7de4e115a8ada269fdb89e3f6e00d50ac736aa7b66d95f31e2916f6b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bd40eec4ba382052640f8ff0a2cd5a372815cb324c13e1bd02f2b60c28080f49 [INFO] running `Command { std: "docker" "start" "-a" "bd40eec4ba382052640f8ff0a2cd5a372815cb324c13e1bd02f2b60c28080f49", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling semver v1.0.25 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling cc v1.2.12 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling blake3 v1.5.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling poly1305 v0.8.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling chacha20 v0.9.1 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling chacha20poly1305 v0.10.1 [INFO] [stderr] Compiling argon2 v0.5.3 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling snafu-derive v0.8.5 [INFO] [stderr] Compiling snafu v0.8.5 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling codas v0.5.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `FmtWriter` is never constructed [INFO] [stdout] --> src/stream.rs:130:19 [INFO] [stdout] | [INFO] [stdout] 130 | pub(crate) struct FmtWriter<'w, W: Writes> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.35s [INFO] running `Command { std: "docker" "inspect" "bd40eec4ba382052640f8ff0a2cd5a372815cb324c13e1bd02f2b60c28080f49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd40eec4ba382052640f8ff0a2cd5a372815cb324c13e1bd02f2b60c28080f49", kill_on_drop: false }` [INFO] [stdout] bd40eec4ba382052640f8ff0a2cd5a372815cb324c13e1bd02f2b60c28080f49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b0ddf66d6b7365124899e0cf4596e143d9de5287f85c456781b0fa24e5134da6 [INFO] running `Command { std: "docker" "start" "-a" "b0ddf66d6b7365124899e0cf4596e143d9de5287f85c456781b0fa24e5134da6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling miniz_oxide v0.8.3 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling clap_builder v4.5.27 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling poly1305 v0.8.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling chacha20 v0.9.1 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling argon2 v0.5.3 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling chacha20poly1305 v0.10.1 [INFO] [stderr] Compiling clap v4.5.28 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling backtrace v0.3.74 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling is-terminal v0.4.15 [INFO] [stderr] Compiling tokio v1.45.0 [INFO] [stderr] Compiling oorandom v11.1.4 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling bytes v1.10.0 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling snafu-derive v0.8.5 [INFO] [stderr] Compiling prost-derive v0.13.4 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling prost v0.13.4 [INFO] [stderr] Compiling snafu v0.8.5 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling codas v0.5.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `FmtWriter` is never constructed [INFO] [stdout] --> src/stream.rs:130:19 [INFO] [stdout] | [INFO] [stdout] 130 | pub(crate) struct FmtWriter<'w, W: Writes> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stdout] error[E0599]: the method `read_data` exists for struct `TcpStream`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/codec.rs:42:39 [INFO] [stdout] | [INFO] [stdout] 42 | let mut request_data = socket.read_data()?; [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `TcpStream` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `TcpStream: Reads` [INFO] [stdout] which is required by `TcpStream: ReadsDecodable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `indoc` [INFO] [stdout] --> src/langs/open_api.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use indoc::writedoc; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `indoc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `indoc`, use `cargo add indoc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `indoc` [INFO] [stdout] --> src/langs/python.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use indoc::writedoc; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `indoc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `indoc`, use `cargo add indoc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `indoc` [INFO] [stdout] --> src/langs/typescript.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use indoc::writedoc; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `indoc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `indoc`, use `cargo add indoc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `logos` [INFO] [stdout] --> src/parse.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use logos::{Lexer, Logos}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `logos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `logos`, use `cargo add logos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `logos` [INFO] [stdout] --> src/parse/token.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use logos::{Logos, Span}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `logos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `logos`, use `cargo add logos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `write_data` exists for struct `TcpStream`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/codec.rs:50:16 [INFO] [stdout] | [INFO] [stdout] 50 | socket.write_data(&request_data)?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `TcpStream: Writes` [INFO] [stdout] which is required by `TcpStream: WritesEncodable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `write_data` exists for struct `TcpStream`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/codec.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | client.write_data(&request_data)?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `TcpStream: Writes` [INFO] [stdout] which is required by `TcpStream: WritesEncodable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `read_data` exists for struct `TcpStream`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/codec.rs:61:32 [INFO] [stdout] | [INFO] [stdout] 61 | let response_data = client.read_data()?; [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `TcpStream` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `TcpStream: Reads` [INFO] [stdout] which is required by `TcpStream: ReadsDecodable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `logos` in this scope [INFO] [stdout] --> src/parse/token.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | #[logos(subpattern space = r"[^\S\r\n]")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `logos` in this scope [INFO] [stdout] --> src/parse/token.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 15 | #[logos(subpattern linebreak = r"[\r\n|\r|\n]+")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `logos` in this scope [INFO] [stdout] --> src/parse/token.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[logos(subpattern to_end_of_line = r"[^\r\n]*")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `logos` in this scope [INFO] [stdout] --> src/parse/token.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 17 | #[logos(subpattern coda_id = r"[/:.a-zA-Z0-9_-]+")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `logos` in this scope [INFO] [stdout] --> src/parse/token.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 18 | #[logos(subpattern data_id = r"[a-zA-Z0-9_-]+")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `logos` in this scope [INFO] [stdout] --> src/parse/token.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 19 | #[logos(subpattern field_id = r"[a-zA-Z0-9_-]+")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `regex` in this scope [INFO] [stdout] --> src/parse/token.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | #[regex(r"[\r\n|\r|\n]*#(?&space)`(?&coda_id)`(?i)((?&space)coda)?", |lex| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `codas` (test "codec") due to 4 previous errors [INFO] [stdout] error: cannot find attribute `regex` in this scope [INFO] [stdout] --> src/parse/token.rs:86:7 [INFO] [stdout] | [INFO] [stdout] 86 | #[regex(r"(?&linebreak)##(?&space)`(?&data_id)`(?&space)(?i)(data)", |lex| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: cannot find attribute `regex` in this scope [INFO] [stdout] --> src/parse/token.rs:119:7 [INFO] [stdout] | [INFO] [stdout] 119 | #[regex(r"(?&linebreak)\+(?&space)`(?&field_id)`(?&space)(?&to_end_of_line)", |lex| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `regex` in this scope [INFO] [stdout] --> src/parse/token.rs:126:7 [INFO] [stdout] | [INFO] [stdout] 126 | #[regex(r"(?&linebreak)(?&to_end_of_line)", |lex| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `logos` in this scope [INFO] [stdout] --> src/parse/token.rs:153:3 [INFO] [stdout] | [INFO] [stdout] 153 | #[logos(subpattern space = r"[^\S\r\n]")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `logos` in this scope [INFO] [stdout] --> src/parse/token.rs:154:3 [INFO] [stdout] | [INFO] [stdout] 154 | #[logos(subpattern linebreak = r"[\r\n|\r|\n]+")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `logos` in this scope [INFO] [stdout] --> src/parse/token.rs:155:3 [INFO] [stdout] | [INFO] [stdout] 155 | #[logos(subpattern data_id = r"[a-zA-Z0-9_-]+")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `logos` in this scope [INFO] [stdout] --> src/parse/token.rs:156:3 [INFO] [stdout] | [INFO] [stdout] 156 | #[logos(subpattern field_id = r"[a-zA-Z0-9_-]+")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `regex` in this scope [INFO] [stdout] --> src/parse/token.rs:160:7 [INFO] [stdout] | [INFO] [stdout] 160 | #[regex(r"(?&linebreak)\+(?&space)`(?&field_id)`(?&space)", |lex| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `regex` in this scope [INFO] [stdout] --> src/parse/token.rs:176:7 [INFO] [stdout] | [INFO] [stdout] 176 | #[regex(r"(?i)optional(?&space)")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `regex` in this scope [INFO] [stdout] --> src/parse/token.rs:181:7 [INFO] [stdout] | [INFO] [stdout] 181 | #[regex(r"(?i)flattened(?&space)")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `regex` in this scope [INFO] [stdout] --> src/parse/token.rs:190:7 [INFO] [stdout] | [INFO] [stdout] 190 | #[regex(r"(?i)([0-9]+d(?&space))?list(?&space)of(?&space)", |lex| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `regex` in this scope [INFO] [stdout] --> src/parse/token.rs:213:7 [INFO] [stdout] | [INFO] [stdout] 213 | #[regex(r"(?i)map(?&space)of(?&space)")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `regex` in this scope [INFO] [stdout] --> src/parse/token.rs:218:7 [INFO] [stdout] | [INFO] [stdout] 218 | #[regex(r"(?i)(to(?&space))?\[`(?&data_id)`\]\([^)]*\)", |lex| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `regex` in this scope [INFO] [stdout] --> src/parse/token.rs:232:7 [INFO] [stdout] | [INFO] [stdout] 232 | #[regex(r"(?i)(to(?&space))?(?&data_id)", |lex| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(): decode::Decodable` is not satisfied [INFO] [stdout] --> src/codec/decode.rs:183:53 [INFO] [stdout] | [INFO] [stdout] 183 | assert_eq!(TestData::default().num_a, bytes.read_data()?); [INFO] [stdout] | ^^^^^^^^^ the trait `decode::Decodable` is not implemented for `()` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `decode::Decodable`: [INFO] [stdout] BTreeMap [INFO] [stdout] CryptoCert [INFO] [stdout] DynamicMapValue [INFO] [stdout] HashBytes [INFO] [stdout] NestedTestData [INFO] [stdout] Option [INFO] [stdout] PrivateKeyBytes [INFO] [stdout] PublicKeyBytes [INFO] [stdout] and 29 others [INFO] [stdout] note: required by a bound in `decode::ReadsDecodable::read_data` [INFO] [stdout] --> src/codec/decode.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | fn read_data(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `ReadsDecodable::read_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(): decode::Decodable` is not satisfied [INFO] [stdout] --> src/codec/decode.rs:184:53 [INFO] [stdout] | [INFO] [stdout] 184 | assert_eq!(TestData::default().num_b, bytes.read_data()?); [INFO] [stdout] | ^^^^^^^^^ the trait `decode::Decodable` is not implemented for `()` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `decode::Decodable`: [INFO] [stdout] BTreeMap [INFO] [stdout] CryptoCert [INFO] [stdout] DynamicMapValue [INFO] [stdout] HashBytes [INFO] [stdout] NestedTestData [INFO] [stdout] Option [INFO] [stdout] PrivateKeyBytes [INFO] [stdout] PublicKeyBytes [INFO] [stdout] and 29 others [INFO] [stdout] note: required by a bound in `decode::ReadsDecodable::read_data` [INFO] [stdout] --> src/codec/decode.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | fn read_data(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `ReadsDecodable::read_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `i32` with `()` [INFO] [stdout] --> src/codec/decode.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | assert_eq!(TestData::default().num_a, bytes.read_data()?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `i32 == ()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq<()>` is not implemented for `i32` [INFO] [stdout] = help: the following other types implement trait `PartialEq`: [INFO] [stdout] `i32` implements `PartialEq` [INFO] [stdout] `i32` implements `PartialEq` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `u64` with `()` [INFO] [stdout] --> src/codec/decode.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 184 | assert_eq!(TestData::default().num_b, bytes.read_data()?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `u64 == ()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq<()>` is not implemented for `u64` [INFO] [stdout] = help: the following other types implement trait `PartialEq`: [INFO] [stdout] `u64` implements `PartialEq` [INFO] [stdout] `u64` implements `PartialEq` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `lexer` found for enum `DataFieldToken<'a>` in the current scope [INFO] [stdout] --> src/parse/token.rs:244:33 [INFO] [stdout] | [INFO] [stdout] 157 | pub enum DataFieldToken<'a> { [INFO] [stdout] | --------------------------- variant or associated item `lexer` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 244 | let lexer = DataFieldToken::lexer(slice); [INFO] [stdout] | ^^^^^ variant or associated item not found in `DataFieldToken<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `type_from_name` found for struct `types::Coda` in the current scope [INFO] [stdout] --> src/parse.rs:58:60 [INFO] [stdout] | [INFO] [stdout] 58 | let resolve_typing = |typing: Text| match coda.type_from_name(&typing) { [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `types::Coda` [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:131:1 [INFO] [stdout] | [INFO] [stdout] 131 | pub struct Coda { [INFO] [stdout] | --------------- method `type_from_name` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `lexer` found for enum `Token<'a>` in the current scope [INFO] [stdout] --> src/parse.rs:103:27 [INFO] [stdout] | [INFO] [stdout] 103 | lexer: Token::lexer(text).peekable(), [INFO] [stdout] | ^^^^^ variant or associated item not found in `Token<'_>` [INFO] [stdout] | [INFO] [stdout] ::: src/parse/token.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum Token<'a> { [INFO] [stdout] | ------------------ variant or associated item `lexer` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `usize` cannot be dereferenced [INFO] [stdout] --> src/parse.rs:211:46 [INFO] [stdout] | [INFO] [stdout] 211 | leading_whitespace = *line_whitespace; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `str` with `&str` [INFO] [stdout] --> src/parse.rs:217:29 [INFO] [stdout] | [INFO] [stdout] 217 | if line == &"\n" || line == &"\r" || *line_whitespace >= leading_whitespace { [INFO] [stdout] | ^^ no implementation for `str == &str` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq<&str>` is not implemented for `str` [INFO] [stdout] = note: required for `&str` to implement `PartialEq<&&str>` [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 217 - if line == &"\n" || line == &"\r" || *line_whitespace >= leading_whitespace { [INFO] [stdout] 217 + if line == "\n" || line == &"\r" || *line_whitespace >= leading_whitespace { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `usize` cannot be dereferenced [INFO] [stdout] --> src/parse.rs:217:58 [INFO] [stdout] | [INFO] [stdout] 217 | if line == &"\n" || line == &"\r" || *line_whitespace >= leading_whitespace { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `str` with `&str` [INFO] [stdout] --> src/parse.rs:217:46 [INFO] [stdout] | [INFO] [stdout] 217 | if line == &"\n" || line == &"\r" || *line_whitespace >= leading_whitespace { [INFO] [stdout] | ^^ no implementation for `str == &str` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq<&str>` is not implemented for `str` [INFO] [stdout] = note: required for `&str` to implement `PartialEq<&&str>` [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 217 - if line == &"\n" || line == &"\r" || *line_whitespace >= leading_whitespace { [INFO] [stdout] 217 + if line == &"\n" || line == "\r" || *line_whitespace >= leading_whitespace { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/types/number.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | let decoded = encoded.as_slice().read_data().expect("decoded"); [INFO] [stdout] | ^^^^^^^ --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: decode::Decodable` [INFO] [stdout] = help: the following types implement trait `decode::Decodable`: [INFO] [stdout] BTreeMap [INFO] [stdout] CryptoCert [INFO] [stdout] DynamicMapValue [INFO] [stdout] HashBytes [INFO] [stdout] NestedTestData [INFO] [stdout] Option [INFO] [stdout] PrivateKeyBytes [INFO] [stdout] PublicKeyBytes [INFO] [stdout] and 29 others [INFO] [stdout] note: required by a bound in `decode::ReadsDecodable::read_data` [INFO] [stdout] --> src/codec/decode.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | fn read_data(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `ReadsDecodable::read_data` [INFO] [stdout] help: consider giving `decoded` an explicit type [INFO] [stdout] | [INFO] [stdout] 99 | let decoded: /* Type */ = encoded.as_slice().read_data().expect("decoded"); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/types/number.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | let decoded = encoded.as_slice().read_data().expect("decoded"); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 100 | assert_eq!(value, decoded); [INFO] [stdout] | -------------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `u8: PartialEq<_>` found in the following crates: `core`, `serde_json`: [INFO] [stdout] - impl PartialEq for u8; [INFO] [stdout] - impl PartialEq for u8; [INFO] [stdout] help: consider giving `decoded` an explicit type [INFO] [stdout] | [INFO] [stdout] 99 | let decoded: /* Type */ = encoded.as_slice().read_data().expect("decoded"); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/types/number.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | let decoded = encoded.as_slice().read_data().expect("decoded"); [INFO] [stdout] | ^^^^^^^ --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: decode::Decodable` [INFO] [stdout] = help: the following types implement trait `decode::Decodable`: [INFO] [stdout] BTreeMap [INFO] [stdout] CryptoCert [INFO] [stdout] DynamicMapValue [INFO] [stdout] HashBytes [INFO] [stdout] NestedTestData [INFO] [stdout] Option [INFO] [stdout] PrivateKeyBytes [INFO] [stdout] PublicKeyBytes [INFO] [stdout] and 29 others [INFO] [stdout] note: required by a bound in `decode::ReadsDecodable::read_data` [INFO] [stdout] --> src/codec/decode.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | fn read_data(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `ReadsDecodable::read_data` [INFO] [stdout] help: consider giving `decoded` an explicit type [INFO] [stdout] | [INFO] [stdout] 108 | let decoded: /* Type */ = encoded.as_slice().read_data().expect("decoded"); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/types/number.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | let decoded = encoded.as_slice().read_data().expect("decoded"); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 109 | assert_eq!(value, decoded); [INFO] [stdout] | -------------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `u16: PartialEq<_>` found in the following crates: `core`, `serde_json`: [INFO] [stdout] - impl PartialEq for u16; [INFO] [stdout] - impl PartialEq for u16; [INFO] [stdout] help: consider giving `decoded` an explicit type [INFO] [stdout] | [INFO] [stdout] 108 | let decoded: /* Type */ = encoded.as_slice().read_data().expect("decoded"); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/types/number.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | let decoded = encoded.as_slice().read_data().expect("decoded"); [INFO] [stdout] | ^^^^^^^ --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: decode::Decodable` [INFO] [stdout] = help: the following types implement trait `decode::Decodable`: [INFO] [stdout] BTreeMap [INFO] [stdout] CryptoCert [INFO] [stdout] DynamicMapValue [INFO] [stdout] HashBytes [INFO] [stdout] NestedTestData [INFO] [stdout] Option [INFO] [stdout] PrivateKeyBytes [INFO] [stdout] PublicKeyBytes [INFO] [stdout] and 29 others [INFO] [stdout] note: required by a bound in `decode::ReadsDecodable::read_data` [INFO] [stdout] --> src/codec/decode.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | fn read_data(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `ReadsDecodable::read_data` [INFO] [stdout] help: consider giving `decoded` an explicit type [INFO] [stdout] | [INFO] [stdout] 117 | let decoded: /* Type */ = encoded.as_slice().read_data().expect("decoded"); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/types/number.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | let decoded = encoded.as_slice().read_data().expect("decoded"); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 118 | assert_eq!(value, decoded); [INFO] [stdout] | -------------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `u32: PartialEq<_>` found in the following crates: `core`, `serde_json`: [INFO] [stdout] - impl PartialEq for u32; [INFO] [stdout] - impl PartialEq for u32; [INFO] [stdout] help: consider giving `decoded` an explicit type [INFO] [stdout] | [INFO] [stdout] 117 | let decoded: /* Type */ = encoded.as_slice().read_data().expect("decoded"); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/types/number.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | let decoded = encoded.as_slice().read_data().expect("decoded"); [INFO] [stdout] | ^^^^^^^ --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: decode::Decodable` [INFO] [stdout] = help: the following types implement trait `decode::Decodable`: [INFO] [stdout] BTreeMap [INFO] [stdout] CryptoCert [INFO] [stdout] DynamicMapValue [INFO] [stdout] HashBytes [INFO] [stdout] NestedTestData [INFO] [stdout] Option [INFO] [stdout] PrivateKeyBytes [INFO] [stdout] PublicKeyBytes [INFO] [stdout] and 29 others [INFO] [stdout] note: required by a bound in `decode::ReadsDecodable::read_data` [INFO] [stdout] --> src/codec/decode.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | fn read_data(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `ReadsDecodable::read_data` [INFO] [stdout] help: consider giving `decoded` an explicit type [INFO] [stdout] | [INFO] [stdout] 126 | let decoded: /* Type */ = encoded.as_slice().read_data().expect("decoded"); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/types/number.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | let decoded = encoded.as_slice().read_data().expect("decoded"); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 127 | assert_eq!(value, decoded); [INFO] [stdout] | -------------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `u64: PartialEq<_>` found in the following crates: `core`, `serde_json`: [INFO] [stdout] - impl PartialEq for u64; [INFO] [stdout] - impl PartialEq for u64; [INFO] [stdout] help: consider giving `decoded` an explicit type [INFO] [stdout] | [INFO] [stdout] 126 | let decoded: /* Type */ = encoded.as_slice().read_data().expect("decoded"); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/types/number.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | let decoded = encoded.as_slice().read_data().expect("decoded"); [INFO] [stdout] | ^^^^^^^ --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: decode::Decodable` [INFO] [stdout] = help: the following types implement trait `decode::Decodable`: [INFO] [stdout] BTreeMap [INFO] [stdout] CryptoCert [INFO] [stdout] DynamicMapValue [INFO] [stdout] HashBytes [INFO] [stdout] NestedTestData [INFO] [stdout] Option [INFO] [stdout] PrivateKeyBytes [INFO] [stdout] PublicKeyBytes [INFO] [stdout] and 29 others [INFO] [stdout] note: required by a bound in `decode::ReadsDecodable::read_data` [INFO] [stdout] --> src/codec/decode.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | fn read_data(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `ReadsDecodable::read_data` [INFO] [stdout] help: consider giving `decoded` an explicit type [INFO] [stdout] | [INFO] [stdout] 135 | let decoded: /* Type */ = encoded.as_slice().read_data().expect("decoded"); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/types/number.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | let decoded = encoded.as_slice().read_data().expect("decoded"); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 136 | assert_eq!(value, decoded); [INFO] [stdout] | -------------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `i8: PartialEq<_>` found in the following crates: `core`, `serde_json`: [INFO] [stdout] - impl PartialEq for i8; [INFO] [stdout] - impl PartialEq for i8; [INFO] [stdout] help: consider giving `decoded` an explicit type [INFO] [stdout] | [INFO] [stdout] 135 | let decoded: /* Type */ = encoded.as_slice().read_data().expect("decoded"); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/types/number.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | let decoded = encoded.as_slice().read_data().expect("decoded"); [INFO] [stdout] | ^^^^^^^ --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: decode::Decodable` [INFO] [stdout] = help: the following types implement trait `decode::Decodable`: [INFO] [stdout] BTreeMap [INFO] [stdout] CryptoCert [INFO] [stdout] DynamicMapValue [INFO] [stdout] HashBytes [INFO] [stdout] NestedTestData [INFO] [stdout] Option [INFO] [stdout] PrivateKeyBytes [INFO] [stdout] PublicKeyBytes [INFO] [stdout] and 29 others [INFO] [stdout] note: required by a bound in `decode::ReadsDecodable::read_data` [INFO] [stdout] --> src/codec/decode.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | fn read_data(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `ReadsDecodable::read_data` [INFO] [stdout] help: consider giving `decoded` an explicit type [INFO] [stdout] | [INFO] [stdout] 144 | let decoded: /* Type */ = encoded.as_slice().read_data().expect("decoded"); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/types/number.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | let decoded = encoded.as_slice().read_data().expect("decoded"); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 145 | assert_eq!(value, decoded); [INFO] [stdout] | -------------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `i16: PartialEq<_>` found in the following crates: `core`, `serde_json`: [INFO] [stdout] - impl PartialEq for i16; [INFO] [stdout] - impl PartialEq for i16; [INFO] [stdout] help: consider giving `decoded` an explicit type [INFO] [stdout] | [INFO] [stdout] 144 | let decoded: /* Type */ = encoded.as_slice().read_data().expect("decoded"); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/types/number.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | let decoded = encoded.as_slice().read_data().expect("decoded"); [INFO] [stdout] | ^^^^^^^ --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: decode::Decodable` [INFO] [stdout] = help: the following types implement trait `decode::Decodable`: [INFO] [stdout] BTreeMap [INFO] [stdout] CryptoCert [INFO] [stdout] DynamicMapValue [INFO] [stdout] HashBytes [INFO] [stdout] NestedTestData [INFO] [stdout] Option [INFO] [stdout] PrivateKeyBytes [INFO] [stdout] PublicKeyBytes [INFO] [stdout] and 29 others [INFO] [stdout] note: required by a bound in `decode::ReadsDecodable::read_data` [INFO] [stdout] --> src/codec/decode.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | fn read_data(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `ReadsDecodable::read_data` [INFO] [stdout] help: consider giving `decoded` an explicit type [INFO] [stdout] | [INFO] [stdout] 153 | let decoded: /* Type */ = encoded.as_slice().read_data().expect("decoded"); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/types/number.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | let decoded = encoded.as_slice().read_data().expect("decoded"); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 154 | assert_eq!(value, decoded); [INFO] [stdout] | -------------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `i32: PartialEq<_>` found in the following crates: `core`, `serde_json`: [INFO] [stdout] - impl PartialEq for i32; [INFO] [stdout] - impl PartialEq for i32; [INFO] [stdout] help: consider giving `decoded` an explicit type [INFO] [stdout] | [INFO] [stdout] 153 | let decoded: /* Type */ = encoded.as_slice().read_data().expect("decoded"); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/types/number.rs:162:13 [INFO] [stdout] | [INFO] [stdout] 162 | let decoded = encoded.as_slice().read_data().expect("decoded"); [INFO] [stdout] | ^^^^^^^ --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: decode::Decodable` [INFO] [stdout] = help: the following types implement trait `decode::Decodable`: [INFO] [stdout] BTreeMap [INFO] [stdout] CryptoCert [INFO] [stdout] DynamicMapValue [INFO] [stdout] HashBytes [INFO] [stdout] NestedTestData [INFO] [stdout] Option [INFO] [stdout] PrivateKeyBytes [INFO] [stdout] PublicKeyBytes [INFO] [stdout] and 29 others [INFO] [stdout] note: required by a bound in `decode::ReadsDecodable::read_data` [INFO] [stdout] --> src/codec/decode.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | fn read_data(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `ReadsDecodable::read_data` [INFO] [stdout] help: consider giving `decoded` an explicit type [INFO] [stdout] | [INFO] [stdout] 162 | let decoded: /* Type */ = encoded.as_slice().read_data().expect("decoded"); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/types/number.rs:162:13 [INFO] [stdout] | [INFO] [stdout] 162 | let decoded = encoded.as_slice().read_data().expect("decoded"); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 163 | assert_eq!(value, decoded); [INFO] [stdout] | -------------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `i64: PartialEq<_>` found in the following crates: `core`, `serde_json`: [INFO] [stdout] - impl PartialEq for i64; [INFO] [stdout] - impl PartialEq for i64; [INFO] [stdout] help: consider giving `decoded` an explicit type [INFO] [stdout] | [INFO] [stdout] 162 | let decoded: /* Type */ = encoded.as_slice().read_data().expect("decoded"); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/types/number.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | let decoded = encoded.as_slice().read_data().expect("decoded"); [INFO] [stdout] | ^^^^^^^ --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: decode::Decodable` [INFO] [stdout] = help: the following types implement trait `decode::Decodable`: [INFO] [stdout] BTreeMap [INFO] [stdout] CryptoCert [INFO] [stdout] DynamicMapValue [INFO] [stdout] HashBytes [INFO] [stdout] NestedTestData [INFO] [stdout] Option [INFO] [stdout] PrivateKeyBytes [INFO] [stdout] PublicKeyBytes [INFO] [stdout] and 29 others [INFO] [stdout] note: required by a bound in `decode::ReadsDecodable::read_data` [INFO] [stdout] --> src/codec/decode.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | fn read_data(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `ReadsDecodable::read_data` [INFO] [stdout] help: consider giving `decoded` an explicit type [INFO] [stdout] | [INFO] [stdout] 171 | let decoded: /* Type */ = encoded.as_slice().read_data().expect("decoded"); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/types/number.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | let decoded = encoded.as_slice().read_data().expect("decoded"); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 172 | assert_eq!(value, decoded); [INFO] [stdout] | -------------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `f32: PartialEq<_>` found in the following crates: `core`, `serde_json`: [INFO] [stdout] - impl PartialEq for f32; [INFO] [stdout] - impl PartialEq for f32; [INFO] [stdout] help: consider giving `decoded` an explicit type [INFO] [stdout] | [INFO] [stdout] 171 | let decoded: /* Type */ = encoded.as_slice().read_data().expect("decoded"); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/types/number.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 180 | let decoded = encoded.as_slice().read_data().expect("decoded"); [INFO] [stdout] | ^^^^^^^ --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: decode::Decodable` [INFO] [stdout] = help: the following types implement trait `decode::Decodable`: [INFO] [stdout] BTreeMap [INFO] [stdout] CryptoCert [INFO] [stdout] DynamicMapValue [INFO] [stdout] HashBytes [INFO] [stdout] NestedTestData [INFO] [stdout] Option [INFO] [stdout] PrivateKeyBytes [INFO] [stdout] PublicKeyBytes [INFO] [stdout] and 29 others [INFO] [stdout] note: required by a bound in `decode::ReadsDecodable::read_data` [INFO] [stdout] --> src/codec/decode.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | fn read_data(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `ReadsDecodable::read_data` [INFO] [stdout] help: consider giving `decoded` an explicit type [INFO] [stdout] | [INFO] [stdout] 180 | let decoded: /* Type */ = encoded.as_slice().read_data().expect("decoded"); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/types/number.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 180 | let decoded = encoded.as_slice().read_data().expect("decoded"); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 181 | assert_eq!(value, decoded); [INFO] [stdout] | -------------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `f64: PartialEq<_>` found in the following crates: `core`, `serde_json`: [INFO] [stdout] - impl PartialEq for f64; [INFO] [stdout] - impl PartialEq for f64; [INFO] [stdout] help: consider giving `decoded` an explicit type [INFO] [stdout] | [INFO] [stdout] 180 | let decoded: /* Type */ = encoded.as_slice().read_data().expect("decoded"); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/types/number.rs:189:13 [INFO] [stdout] | [INFO] [stdout] 189 | let decoded = encoded.as_slice().read_data().expect("decoded"); [INFO] [stdout] | ^^^^^^^ --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: decode::Decodable` [INFO] [stdout] = help: the following types implement trait `decode::Decodable`: [INFO] [stdout] BTreeMap [INFO] [stdout] CryptoCert [INFO] [stdout] DynamicMapValue [INFO] [stdout] HashBytes [INFO] [stdout] NestedTestData [INFO] [stdout] Option [INFO] [stdout] PrivateKeyBytes [INFO] [stdout] PublicKeyBytes [INFO] [stdout] and 29 others [INFO] [stdout] note: required by a bound in `decode::ReadsDecodable::read_data` [INFO] [stdout] --> src/codec/decode.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | fn read_data(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `ReadsDecodable::read_data` [INFO] [stdout] help: consider giving `decoded` an explicit type [INFO] [stdout] | [INFO] [stdout] 189 | let decoded: /* Type */ = encoded.as_slice().read_data().expect("decoded"); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/types/number.rs:189:13 [INFO] [stdout] | [INFO] [stdout] 189 | let decoded = encoded.as_slice().read_data().expect("decoded"); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 190 | assert_eq!(value, decoded); [INFO] [stdout] | -------------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `bool: PartialEq<_>` found in the following crates: `core`, `serde_json`: [INFO] [stdout] - impl PartialEq for bool; [INFO] [stdout] - impl PartialEq for bool; [INFO] [stdout] help: consider giving `decoded` an explicit type [INFO] [stdout] | [INFO] [stdout] 189 | let decoded: /* Type */ = encoded.as_slice().read_data().expect("decoded"); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/types/number.rs:195:13 [INFO] [stdout] | [INFO] [stdout] 195 | let decoded = encoded.as_slice().read_data().expect("decoded"); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 196 | assert_eq!(value, decoded); [INFO] [stdout] | -------------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `bool: PartialEq<_>` found in the following crates: `core`, `serde_json`: [INFO] [stdout] - impl PartialEq for bool; [INFO] [stdout] - impl PartialEq for bool; [INFO] [stdout] help: consider giving `decoded` an explicit type [INFO] [stdout] | [INFO] [stdout] 195 | let decoded: /* Type */ = encoded.as_slice().read_data().expect("decoded"); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0283, E0432, E0599, E0614. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `codas` (lib test) due to 60 previous errors [INFO] running `Command { std: "docker" "inspect" "b0ddf66d6b7365124899e0cf4596e143d9de5287f85c456781b0fa24e5134da6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0ddf66d6b7365124899e0cf4596e143d9de5287f85c456781b0fa24e5134da6", kill_on_drop: false }` [INFO] [stdout] b0ddf66d6b7365124899e0cf4596e143d9de5287f85c456781b0fa24e5134da6