[INFO] fetching crate codas 0.5.1... [INFO] testing codas-0.5.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate codas 0.5.1 into /workspace/builds/worker-5-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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate codas 0.5.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded logos-derive v0.13.0 [INFO] [stderr] Downloaded logos v0.13.0 [INFO] [stderr] Downloaded logos-codegen v0.13.0 [INFO] [stderr] Downloaded clap v4.5.28 [INFO] [stderr] Downloaded cc v1.2.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 24067e5ca8acdc7808f8183de0bb5fd9dc12b9ce60e7d09797d722f11dd60e73 [INFO] running `Command { std: "docker" "start" "-a" "24067e5ca8acdc7808f8183de0bb5fd9dc12b9ce60e7d09797d722f11dd60e73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "24067e5ca8acdc7808f8183de0bb5fd9dc12b9ce60e7d09797d722f11dd60e73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24067e5ca8acdc7808f8183de0bb5fd9dc12b9ce60e7d09797d722f11dd60e73", kill_on_drop: false }` [INFO] [stdout] 24067e5ca8acdc7808f8183de0bb5fd9dc12b9ce60e7d09797d722f11dd60e73 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 9b7cf60730f9e44e57d838b486cfdaccabd67d04eb0ec0a4ceed5670075b0e8b [INFO] running `Command { std: "docker" "start" "-a" "9b7cf60730f9e44e57d838b486cfdaccabd67d04eb0ec0a4ceed5670075b0e8b", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [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 base64ct v1.6.0 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling blake3 v1.5.5 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling poly1305 v0.8.0 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling chacha20 v0.9.1 [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.91s [INFO] running `Command { std: "docker" "inspect" "9b7cf60730f9e44e57d838b486cfdaccabd67d04eb0ec0a4ceed5670075b0e8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b7cf60730f9e44e57d838b486cfdaccabd67d04eb0ec0a4ceed5670075b0e8b", kill_on_drop: false }` [INFO] [stdout] 9b7cf60730f9e44e57d838b486cfdaccabd67d04eb0ec0a4ceed5670075b0e8b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] b9baef786ea30761a92c4904a853f180be4b6adf4ac54294266156290a6fa32c [INFO] running `Command { std: "docker" "start" "-a" "b9baef786ea30761a92c4904a853f180be4b6adf4ac54294266156290a6fa32c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling miniz_oxide v0.8.3 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling clap_builder v4.5.27 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling regex-automata v0.4.9 [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 poly1305 v0.8.0 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling chacha20 v0.9.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling blake2 v0.10.6 [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 futures-channel v0.3.31 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling argon2 v0.5.3 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling backtrace v0.3.74 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling clap v4.5.28 [INFO] [stderr] Compiling chacha20poly1305 v0.10.1 [INFO] [stderr] Compiling is-terminal v0.4.15 [INFO] [stderr] Compiling tokio v1.45.0 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling bytes v1.10.0 [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] [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[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[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 `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: 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] [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: 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] 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` 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` 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" "b9baef786ea30761a92c4904a853f180be4b6adf4ac54294266156290a6fa32c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9baef786ea30761a92c4904a853f180be4b6adf4ac54294266156290a6fa32c", kill_on_drop: false }` [INFO] [stdout] b9baef786ea30761a92c4904a853f180be4b6adf4ac54294266156290a6fa32c