[INFO] fetching crate codas 0.4.0...
[INFO] checking codas-0.4.0 against try#31561a63598a0f21fc74c024747ef1310fdd2eb2 for pr-133536
[INFO] extracting crate codas 0.4.0 into /workspace/builds/worker-4-tc2/source
[INFO] validating manifest of crates.io crate codas 0.4.0 on toolchain 31561a63598a0f21fc74c024747ef1310fdd2eb2
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate codas 0.4.0
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate codas 0.4.0
[INFO] tweaked toml for crates.io crate codas 0.4.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 71 packages to latest compatible versions
[INFO] [stderr]       Adding base64 v0.21.7 (available: v0.22.1)
[INFO] [stderr]       Adding logos v0.13.0 (available: v0.14.2)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ba280075a90812116c6edd0a6142ab428c9d314ec435ea8a587cb7599b16d765
[INFO] running `Command { std: "docker" "start" "-a" "ba280075a90812116c6edd0a6142ab428c9d314ec435ea8a587cb7599b16d765", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ba280075a90812116c6edd0a6142ab428c9d314ec435ea8a587cb7599b16d765", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ba280075a90812116c6edd0a6142ab428c9d314ec435ea8a587cb7599b16d765", kill_on_drop: false }`
[INFO] [stdout] ba280075a90812116c6edd0a6142ab428c9d314ec435ea8a587cb7599b16d765
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c5e05d9aa82c06b45276c17b2344e73604788eb885849fdca88670b623fa42a5
[INFO] running `Command { std: "docker" "start" "-a" "c5e05d9aa82c06b45276c17b2344e73604788eb885849fdca88670b623fa42a5", kill_on_drop: false }`
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]     Checking signature v2.2.0
[INFO] [stderr]     Checking zeroize v1.8.1
[INFO] [stderr]     Checking arrayvec v0.7.6
[INFO] [stderr]    Compiling blake3 v1.5.5
[INFO] [stderr]     Checking arrayref v0.3.9
[INFO] [stderr]     Checking constant_time_eq v0.3.1
[INFO] [stderr]     Checking yansi v1.0.1
[INFO] [stderr]     Checking diff v0.1.13
[INFO] [stderr]     Checking base64 v0.21.7
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]    Compiling syn v2.0.90
[INFO] [stderr]     Checking ed25519 v2.2.3
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling curve25519-dalek v4.1.3
[INFO] [stderr]     Checking pretty_assertions v1.4.1
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]    Compiling curve25519-dalek-derive v0.1.1
[INFO] [stderr]    Compiling snafu-derive v0.8.5
[INFO] [stderr]     Checking snafu v0.8.5
[INFO] [stderr]     Checking ed25519-dalek v2.1.1
[INFO] [stderr]     Checking codas v0.4.0 (/opt/rustwide/workdir)
[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 undeclared crate or module `indoc`
[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 undeclared crate or module `indoc`
[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 undeclared crate or module `logos`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `logos`
[INFO] [stdout]  --> src/parse/token.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use logos::{Logos, Span};
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `logos`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `logos` in this scope
[INFO] [stdout]   --> src/parse/token.rs:12:3
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[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:13:3
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[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:14:3
[INFO] [stdout]    |
[INFO] [stdout] 14 | #[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:15:3
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[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:16:3
[INFO] [stdout]    |
[INFO] [stdout] 16 | #[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:17:3
[INFO] [stdout]    |
[INFO] [stdout] 17 | #[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:24:7
[INFO] [stdout]    |
[INFO] [stdout] 24 |     #[regex(r"[\r\n|\r|\n]*#(?&space)`(?&coda_id)`(?&space)(?i)(coda)", |lex| {
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `regex` in this scope
[INFO] [stdout]   --> src/parse/token.rs:46:7
[INFO] [stdout]    |
[INFO] [stdout] 46 |     #[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:76:7
[INFO] [stdout]    |
[INFO] [stdout] 76 |     #[regex(r"(?&linebreak)\+(?&space)`(?&field_id)`(?&space)(?i)(optional |list of )*(?&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:109:7
[INFO] [stdout]     |
[INFO] [stdout] 109 |     #[regex(r"(?&linebreak)\+(?&space)`(?&field_id)`(?&space)(?i)(optional |list of )*\[`(?&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:156:7
[INFO] [stdout]     |
[INFO] [stdout] 156 |     #[regex(r"(?&linebreak)(?&to_end_of_line)", |lex| {
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::ops::Range`
[INFO] [stdout]  --> src/parse/token.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use core::ops::Range;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[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:60:46
[INFO] [stdout]    |
[INFO] [stdout] 60 |                 Err(type_name) => match coda.type_from_name(&type_name) {
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^^ method not found in `Coda`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/types.rs:96:1
[INFO] [stdout]    |
[INFO] [stdout] 96 | 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:94:27
[INFO] [stdout]    |
[INFO] [stdout] 94 |             lexer: Token::lexer(text).peekable(),
[INFO] [stdout]    |                           ^^^^^ variant or associated item not found in `Token<'_>`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/parse/token.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub enum Token<'a> {
[INFO] [stdout]    | ------------------ variant or associated item `lexer` not found for this enum
[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:179:44
[INFO] [stdout]     |
[INFO] [stdout] 179 |             field.typing = Coda::default().type_from_name(&typing).ok_or(typing);
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^ method not found in `Coda`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/types.rs:96:1
[INFO] [stdout]     |
[INFO] [stdout] 96  | pub struct Coda {
[INFO] [stdout]     | --------------- method `type_from_name` not found for this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `usize` cannot be dereferenced
[INFO] [stdout]    --> src/parse.rs:206:46
[INFO] [stdout]     |
[INFO] [stdout] 206 |                         leading_whitespace = *line_whitespace;
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: can't compare `str` with `&str`
[INFO] [stdout]    --> src/parse.rs:212:29
[INFO] [stdout]     |
[INFO] [stdout] 212 |                     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] 212 -                     if line == &"\n" || line == &"\r" || *line_whitespace >= leading_whitespace {
[INFO] [stdout] 212 +                     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:212:58
[INFO] [stdout]     |
[INFO] [stdout] 212 |                     if line == &"\n" || line == &"\r" || *line_whitespace >= leading_whitespace {
[INFO] [stdout]     |                                                          ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: can't compare `str` with `&str`
[INFO] [stdout]    --> src/parse.rs:212:46
[INFO] [stdout]     |
[INFO] [stdout] 212 |                     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] 212 -                     if line == &"\n" || line == &"\r" || *line_whitespace >= leading_whitespace {
[INFO] [stdout] 212 +                     if line == &"\n" || line == "\r" || *line_whitespace >= leading_whitespace {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `TcpStream: ReadsDecodable` is not satisfied
[INFO] [stdout]   --> tests/codec.rs:42:57
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let mut request_data = TestMessage::decode_from(&mut socket)?;
[INFO] [stdout]    |                                ------------------------ ^^^^^^^^^^^ the trait `Reads` is not implemented for `TcpStream`
[INFO] [stdout]    |                                |
[INFO] [stdout]    |                                required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Reads` is implemented for `&[u8]`
[INFO] [stdout]    = note: required for `TcpStream` to implement `ReadsDecodable`
[INFO] [stdout] note: required by a bound in `decode_from`
[INFO] [stdout]   --> /opt/rustwide/workdir/src/codec/decode.rs:35:39
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn decode_from(reader: &mut (impl ReadsDecodable + ?Sized)) -> Result<Self, CodecError>
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^ required by this bound in `Decodable::decode_from`
[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[E0277]: the trait bound `TcpStream: ReadsDecodable` is not satisfied
[INFO] [stdout]   --> tests/codec.rs:61:50
[INFO] [stdout]    |
[INFO] [stdout] 61 |     let response_data = TestMessage::decode_from(&mut client)?;
[INFO] [stdout]    |                         ------------------------ ^^^^^^^^^^^ the trait `Reads` is not implemented for `TcpStream`
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Reads` is implemented for `&[u8]`
[INFO] [stdout]    = note: required for `TcpStream` to implement `ReadsDecodable`
[INFO] [stdout] note: required by a bound in `decode_from`
[INFO] [stdout]   --> /opt/rustwide/workdir/src/codec/decode.rs:35:39
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn decode_from(reader: &mut (impl ReadsDecodable + ?Sized)) -> Result<Self, CodecError>
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^ required by this bound in `Decodable::decode_from`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[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] Some errors have detailed explanations: E0277, 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 22 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "c5e05d9aa82c06b45276c17b2344e73604788eb885849fdca88670b623fa42a5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c5e05d9aa82c06b45276c17b2344e73604788eb885849fdca88670b623fa42a5", kill_on_drop: false }`
[INFO] [stdout] c5e05d9aa82c06b45276c17b2344e73604788eb885849fdca88670b623fa42a5
