[INFO] fetching crate codas 0.5.1... [INFO] checking codas-0.5.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate codas 0.5.1 into /workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate codas 0.5.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded logos-codegen v0.13.0 [INFO] [stderr] Downloaded logos-derive v0.13.0 [INFO] [stderr] Downloaded logos v0.13.0 [INFO] [stderr] Downloaded prost-derive v0.13.4 [INFO] [stderr] Downloaded prost v0.13.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fb450e59beb2223a91cfed1983a2b70256fa81efb2d82a2c5f20ce05cdbb1248 [INFO] running `Command { std: "docker" "start" "-a" "fb450e59beb2223a91cfed1983a2b70256fa81efb2d82a2c5f20ce05cdbb1248", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fb450e59beb2223a91cfed1983a2b70256fa81efb2d82a2c5f20ce05cdbb1248", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb450e59beb2223a91cfed1983a2b70256fa81efb2d82a2c5f20ce05cdbb1248", kill_on_drop: false }` [INFO] [stdout] fb450e59beb2223a91cfed1983a2b70256fa81efb2d82a2c5f20ce05cdbb1248 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab0ab685d5cef14d14cbfd21a910fb8bd0db64024cafae332cce3bb0bb4b3f6f [INFO] running `Command { std: "docker" "start" "-a" "ab0ab685d5cef14d14cbfd21a910fb8bd0db64024cafae332cce3bb0bb4b3f6f", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling semver v1.0.25 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling cc v1.2.12 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Checking miniz_oxide v0.8.3 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking ryu v1.0.19 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking chacha20 v0.9.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Compiling blake3 v1.5.5 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking poly1305 v0.8.0 [INFO] [stderr] Checking clap_builder v4.5.27 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking constant_time_eq v0.3.1 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking clap v4.5.28 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking chacha20poly1305 v0.10.1 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking tokio v1.45.0 [INFO] [stderr] Checking is-terminal v0.4.15 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking bytes v1.10.0 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking 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] Checking prost v0.13.4 [INFO] [stderr] Checking snafu v0.8.5 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Checking 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stdout] error[E0432]: unresolved import `codas_macros` [INFO] [stdout] --> benches/codecs.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use codas_macros::export_coda; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `codas_macros` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `codas_macros`, use `cargo add codas_macros` to add it to your `Cargo.toml` [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: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[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] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Boat` in this scope [INFO] [stdout] --> benches/codecs.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | let codas_boat = Boat { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::prost_boat::Boat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Sail` in this scope [INFO] [stdout] --> benches/codecs.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | sail: Sail { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::prost_boat::Sail; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Hull` in this scope [INFO] [stdout] --> benches/codecs.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | hull: Hull { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::prost_boat::Hull; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Boat` [INFO] [stdout] --> benches/codecs.rs:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | let mut boat = Boat::default(); [INFO] [stdout] | ^^^^ use of undeclared type `Boat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::prost_boat::Boat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `codas` (test "codec") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] Some errors have detailed explanations: E0422, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [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] [stderr] error: could not compile `codas` (bench "codecs") due to 5 previous errors [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] 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] [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] [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" "ab0ab685d5cef14d14cbfd21a910fb8bd0db64024cafae332cce3bb0bb4b3f6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab0ab685d5cef14d14cbfd21a910fb8bd0db64024cafae332cce3bb0bb4b3f6f", kill_on_drop: false }` [INFO] [stdout] ab0ab685d5cef14d14cbfd21a910fb8bd0db64024cafae332cce3bb0bb4b3f6f