[INFO] fetching crate nmea_codec 0.1.0...
[INFO] testing nmea_codec-0.1.0 against 1.100.0-beta.13+cargoflags=--release for beta-release-1.101-2
[INFO] extracting crate nmea_codec 0.1.0 into /workspace/builds/worker-0-tc1/source
[INFO] started tweaking crates.io crate nmea_codec 0.1.0
[INFO] removed 0 missing examples
[INFO] finished tweaking crates.io crate nmea_codec 0.1.0
[INFO] tweaked toml for crates.io crate nmea_codec 0.1.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate nmea_codec 0.1.0 on toolchain 1.100.0-beta.13
[INFO] running `"cargo" "+1.100.0-beta.13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate crates.io crate nmea_codec 0.1.0 already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.100.0-beta.13" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded show-option v0.2.0
[INFO] [stderr]   Downloaded lazy_format v2.0.3
[INFO] [stderr]   Downloaded ais_types v0.2.0
[INFO] [stderr]   Downloaded ais_sixbit v0.2.0
[INFO] [stderr]   Downloaded ais_message v0.2.0
[INFO] [stderr]   Downloaded ais_asm v0.2.0
[INFO] [stderr]   Downloaded deku_derive v0.20.3
[INFO] [stderr]   Downloaded uom v0.38.0
[INFO] [stderr]   Downloaded no_std_io2 v0.9.4
[INFO] [stderr]   Downloaded deku v0.20.3
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] 54d3ee89fa40453b66a2b133dfe2ab02033f96b89539c142ac53d9abff1bd06f
[INFO] running `"docker" "start" "54d3ee89fa40453b66a2b133dfe2ab02033f96b89539c142ac53d9abff1bd06f"`
[INFO] running `"docker" "inspect" "54d3ee89fa40453b66a2b133dfe2ab02033f96b89539c142ac53d9abff1bd06f"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "54d3ee89fa40453b66a2b133dfe2ab02033f96b89539c142ac53d9abff1bd06f" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "54d3ee89fa40453b66a2b133dfe2ab02033f96b89539c142ac53d9abff1bd06f"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "54d3ee89fa40453b66a2b133dfe2ab02033f96b89539c142ac53d9abff1bd06f" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling syn v2.0.119
[INFO] [stderr]    Compiling winnow v1.0.4
[INFO] [stderr]    Compiling futures-sink v0.3.34
[INFO] [stderr]    Compiling radium v0.7.0
[INFO] [stderr]    Compiling toml_datetime v1.1.1+spec-1.1.0
[INFO] [stderr]    Compiling indexmap v2.14.0
[INFO] [stderr]    Compiling futures-macro v0.3.34
[INFO] [stderr]    Compiling tap v1.0.1
[INFO] [stderr]    Compiling funty v2.0.0
[INFO] [stderr]    Compiling no_std_io2 v0.9.4
[INFO] [stderr]    Compiling tokio v1.53.1
[INFO] [stderr]    Compiling lazy_format v2.0.3
[INFO] [stderr]    Compiling uom v0.38.0
[INFO] [stderr]    Compiling chrono v0.4.45
[INFO] [stderr]    Compiling wyz v0.5.1
[INFO] [stderr]    Compiling show-option v0.2.0
[INFO] [stderr]    Compiling futures-channel v0.3.34
[INFO] [stderr]    Compiling bitvec v1.1.1
[INFO] [stderr]    Compiling futures-util v0.3.34
[INFO] [stderr]    Compiling tokio-util v0.7.19
[INFO] [stderr]    Compiling toml_parser v1.1.3+spec-1.1.0
[INFO] [stderr]    Compiling toml_edit v0.25.13+spec-1.1.0
[INFO] [stderr]    Compiling proc-macro-crate v3.5.0
[INFO] [stderr]    Compiling darling_core v0.21.3
[INFO] [stderr]    Compiling futures-executor v0.3.34
[INFO] [stderr]    Compiling futures v0.3.34
[INFO] [stderr]    Compiling darling_macro v0.21.3
[INFO] [stderr]    Compiling darling v0.21.3
[INFO] [stderr]    Compiling deku_derive v0.20.3
[INFO] [stderr]    Compiling deku v0.20.3
[INFO] [stderr]    Compiling nmea_codec v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unused dependency `deku`
[INFO] [stderr]   --> Cargo.toml:22:15
[INFO] [stderr]    |
[INFO] [stderr] 22 | [dependencies.deku]
[INFO] [stderr]    |               ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `deku`
[INFO] [stderr] warning: unused dependency `futures`
[INFO] [stderr]   --> Cargo.toml:25:15
[INFO] [stderr]    |
[INFO] [stderr] 25 | [dependencies.futures]
[INFO] [stderr]    |               ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `futures`
[INFO] [stderr] warning: `nmea_codec` (manifest) generated 2 warnings
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 39.18s
[INFO] running `"docker" "inspect" "54d3ee89fa40453b66a2b133dfe2ab02033f96b89539c142ac53d9abff1bd06f"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "54d3ee89fa40453b66a2b133dfe2ab02033f96b89539c142ac53d9abff1bd06f" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "test" "--frozen" "--no-run" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling syn v2.0.119
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling socket2 v0.6.5
[INFO] [stderr]    Compiling mio v1.2.2
[INFO] [stderr]    Compiling tokio-macros v2.7.2
[INFO] [stderr]    Compiling log v0.4.34
[INFO] [stderr]    Compiling thread_local v1.1.10
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling tracing-subscriber v0.3.23
[INFO] [stderr]    Compiling tokio v1.53.1
[INFO] [stderr]    Compiling darling_core v0.21.3
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling darling_macro v0.21.3
[INFO] [stderr]    Compiling darling v0.21.3
[INFO] [stderr]    Compiling deku_derive v0.20.3
[INFO] [stderr]    Compiling tokio-util v0.7.19
[INFO] [stderr]    Compiling deku v0.20.3
[INFO] [stderr]    Compiling nmea_codec v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unused dependency `deku`
[INFO] [stderr]   --> Cargo.toml:22:15
[INFO] [stderr]    |
[INFO] [stderr] 22 | [dependencies.deku]
[INFO] [stderr]    |               ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `deku`
[INFO] [stderr] warning: unused dependency `futures`
[INFO] [stderr]   --> Cargo.toml:25:15
[INFO] [stderr]    |
[INFO] [stderr] 25 | [dependencies.futures]
[INFO] [stderr]    |               ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `futures`
[INFO] [stderr] help: to still use for development builds, move to `dev-dependencies`
[INFO] [stderr] warning: `nmea_codec` (manifest) generated 2 warnings
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 25.03s
[INFO] running `"docker" "inspect" "54d3ee89fa40453b66a2b133dfe2ab02033f96b89539c142ac53d9abff1bd06f"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "54d3ee89fa40453b66a2b133dfe2ab02033f96b89539c142ac53d9abff1bd06f" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "test" "--frozen" "--release"`
[INFO] [stderr] warning: unused dependency `deku`
[INFO] [stderr]   --> Cargo.toml:22:15
[INFO] [stderr]    |
[INFO] [stderr] 22 | [dependencies.deku]
[INFO] [stderr]    |               ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `deku`
[INFO] [stderr] warning: unused dependency `futures`
[INFO] [stderr]   --> Cargo.toml:25:15
[INFO] [stderr]    |
[INFO] [stderr] 25 | [dependencies.futures]
[INFO] [stderr]    |               ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `futures`
[INFO] [stderr] help: to still use for development builds, move to `dev-dependencies`
[INFO] [stderr] warning: `nmea_codec` (manifest) generated 2 warnings
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.11s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/release/build/nmea_codec/ce0bb400cf9e13c6/out/nmea_codec-ce0bb400cf9e13c6)
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test tests::proprietary ... ok
[INFO] [stdout] test tests::decoder ... ok
[INFO] [stdout] test tests::encoder ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests nmea_codec
[INFO] [stdout] 
[INFO] [stdout] running 6 tests
[INFO] [stdout] test src/lib.rs - NmeaCodec (line 120) ... FAILED
[INFO] [stdout] test src/lib.rs - NmeaCodec (line 109) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 22) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 37) ... FAILED
[INFO] [stdout] test src/lib.rs - NmeaCodec (line 99) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 27) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - NmeaCodec (line 120) stdout ----
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PositionReport` in this scope
[INFO] [stdout]    --> src/lib.rs:121:39
[INFO] [stdout]     |
[INFO] [stdout] 121 | let ais_msg = ScheduledPositionReport(PositionReport {
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Encapsulation` in this scope
[INFO] [stdout]    --> src/lib.rs:127:25
[INFO] [stdout]     |
[INFO] [stdout] 127 |     let encapsulation = Encapsulation {
[INFO] [stdout]     |                         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `encoder` in this scope
[INFO] [stdout]    --> src/lib.rs:133:5
[INFO] [stdout]     |
[INFO] [stdout] 133 |     encoder.encode(encapsulation, &mut buf)?;
[INFO] [stdout]     |     ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `buf` in this scope
[INFO] [stdout]    --> src/lib.rs:133:40
[INFO] [stdout]     |
[INFO] [stdout] 133 |     encoder.encode(encapsulation, &mut buf)?;
[INFO] [stdout]     |                                        ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RepeatCount` in this scope
[INFO] [stdout]    --> src/lib.rs:122:17
[INFO] [stdout]     |
[INFO] [stdout] 122 |         repeat: RepeatCount::Twice,
[INFO] [stdout]     |                 ^^^^^^^^^^^ use of undeclared type `RepeatCount`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MMSI` in this scope
[INFO] [stdout]    --> src/lib.rs:123:17
[INFO] [stdout]     |
[INFO] [stdout] 123 |         source: MMSI::new(127)?,
[INFO] [stdout]     |                 ^^^^ use of undeclared type `MMSI`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `NavigationalStatus` in this scope
[INFO] [stdout]    --> src/lib.rs:124:17
[INFO] [stdout]     |
[INFO] [stdout] 124 |         status: NavigationalStatus::UnderWay,
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^ use of undeclared type `NavigationalStatus`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ScheduledPositionReport` in this scope
[INFO] [stdout]    --> src/lib.rs:121:15
[INFO] [stdout]     |
[INFO] [stdout] 121 | let ais_msg = ScheduledPositionReport(PositionReport {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Talker` in this scope
[INFO] [stdout]    --> src/lib.rs:128:17
[INFO] [stdout]     |
[INFO] [stdout] 128 |         talker: Talker::AIS,
[INFO] [stdout]     |                 ^^^^^^ use of undeclared type `Talker`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `AisChannel` in this scope
[INFO] [stdout]    --> src/lib.rs:130:45
[INFO] [stdout]     |
[INFO] [stdout] 130 |         fields: Fields::VDM { channel: Some(AisChannel::A) },
[INFO] [stdout]     |                                             ^^^^^^^^^^ use of undeclared type `AisChannel`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Fields` in this scope
[INFO] [stdout]    --> src/lib.rs:130:17
[INFO] [stdout]     |
[INFO] [stdout] 130 |         fields: Fields::VDM { channel: Some(AisChannel::A) },
[INFO] [stdout]     |                 ^^^^^^ use of undeclared type `Fields`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 11 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - NmeaCodec (line 109) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `encoder` in this scope
[INFO] [stdout]    --> src/lib.rs:116:5
[INFO] [stdout]     |
[INFO] [stdout] 116 |     encoder.encode(Message{tag_block, sentence}, &mut buf)?;
[INFO] [stdout]     |     ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Message` in this scope
[INFO] [stdout]    --> src/lib.rs:116:20
[INFO] [stdout]     |
[INFO] [stdout] 116 |     encoder.encode(Message{tag_block, sentence}, &mut buf)?;
[INFO] [stdout]     |                    ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `buf` in this scope
[INFO] [stdout]    --> src/lib.rs:116:55
[INFO] [stdout]     |
[INFO] [stdout] 116 |     encoder.encode(Message{tag_block, sentence}, &mut buf)?;
[INFO] [stdout]     |                                                       ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Talker` in this scope
[INFO] [stdout]    --> src/lib.rs:112:17
[INFO] [stdout]     |
[INFO] [stdout] 112 |         talker: Talker::GNSS,
[INFO] [stdout]     |                 ^^^^^^ use of undeclared type `Talker`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `trunc_subsecs` found for struct `DateTime<Tz>` in the current scope
[INFO] [stdout]    --> src/lib.rs:113:46
[INFO] [stdout]     |
[INFO] [stdout] 113 |         time_of_fix: Some(chrono::Utc::now().trunc_subsecs(2)),
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/chrono-0.4.45/src/round.rs:49:8
[INFO] [stdout]     |
[INFO] [stdout]  49 |     fn trunc_subsecs(self, digits: u16) -> Self;
[INFO] [stdout]     |        ------------- the method is available for `DateTime<Utc>` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `SubsecRound` which provides `trunc_subsecs` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 109 + use chrono::SubsecRound;
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `round_subsecs` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 113 -         time_of_fix: Some(chrono::Utc::now().trunc_subsecs(2)),
[INFO] [stdout] 113 +         time_of_fix: Some(chrono::Utc::now().round_subsecs(2)),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Sentence` in this scope
[INFO] [stdout]    --> src/lib.rs:111:20
[INFO] [stdout]     |
[INFO] [stdout] 111 |     let sentence = Sentence::RMC {
[INFO] [stdout]     |                    ^^^^^^^^ use of undeclared type `Sentence`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 22) stdout ----
[INFO] [stdout] error[E0433]: cannot find type `NmeaCodec` in this scope
[INFO] [stdout]   --> src/lib.rs:23:19
[INFO] [stdout]    |
[INFO] [stdout] 23 | let mut encoder = NmeaCodec::new();
[INFO] [stdout]    |                   ^^^^^^^^^ use of undeclared type `NmeaCodec`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `BytesMut` in this scope
[INFO] [stdout]   --> src/lib.rs:24:19
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let mut buf = BytesMut::with_capacity(1024);
[INFO] [stdout]    |                   ^^^^^^^^ use of undeclared type `BytesMut`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 37) stdout ----
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PositionReport` in this scope
[INFO] [stdout]   --> src/lib.rs:38:39
[INFO] [stdout]    |
[INFO] [stdout] 38 | let ais_msg = ScheduledPositionReport(PositionReport {
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Encapsulation` in this scope
[INFO] [stdout]   --> src/lib.rs:44:25
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let encapsulation = Encapsulation {
[INFO] [stdout]    |                         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `encoder` in this scope
[INFO] [stdout]   --> src/lib.rs:50:5
[INFO] [stdout]    |
[INFO] [stdout] 50 |     encoder.encode(encapsulation, &mut buf)?;
[INFO] [stdout]    |     ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `buf` in this scope
[INFO] [stdout]   --> src/lib.rs:50:40
[INFO] [stdout]    |
[INFO] [stdout] 50 |     encoder.encode(encapsulation, &mut buf)?;
[INFO] [stdout]    |                                        ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RepeatCount` in this scope
[INFO] [stdout]   --> src/lib.rs:39:17
[INFO] [stdout]    |
[INFO] [stdout] 39 |         repeat: RepeatCount::Twice,
[INFO] [stdout]    |                 ^^^^^^^^^^^ use of undeclared type `RepeatCount`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MMSI` in this scope
[INFO] [stdout]   --> src/lib.rs:40:17
[INFO] [stdout]    |
[INFO] [stdout] 40 |         source: MMSI::new(127)?,
[INFO] [stdout]    |                 ^^^^ use of undeclared type `MMSI`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `NavigationalStatus` in this scope
[INFO] [stdout]   --> src/lib.rs:41:17
[INFO] [stdout]    |
[INFO] [stdout] 41 |         status: NavigationalStatus::UnderWay,
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^ use of undeclared type `NavigationalStatus`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ScheduledPositionReport` in this scope
[INFO] [stdout]   --> src/lib.rs:38:15
[INFO] [stdout]    |
[INFO] [stdout] 38 | let ais_msg = ScheduledPositionReport(PositionReport {
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Talker` in this scope
[INFO] [stdout]   --> src/lib.rs:45:17
[INFO] [stdout]    |
[INFO] [stdout] 45 |         talker: Talker::AIS,
[INFO] [stdout]    |                 ^^^^^^ use of undeclared type `Talker`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `AisChannel` in this scope
[INFO] [stdout]   --> src/lib.rs:47:45
[INFO] [stdout]    |
[INFO] [stdout] 47 |         fields: Fields::VDM { channel: Some(AisChannel::A) },
[INFO] [stdout]    |                                             ^^^^^^^^^^ use of undeclared type `AisChannel`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Fields` in this scope
[INFO] [stdout]   --> src/lib.rs:47:17
[INFO] [stdout]    |
[INFO] [stdout] 47 |         fields: Fields::VDM { channel: Some(AisChannel::A) },
[INFO] [stdout]    |                 ^^^^^^ use of undeclared type `Fields`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 11 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - NmeaCodec (line 99) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `encoder` in this scope
[INFO] [stdout]    --> src/lib.rs:105:5
[INFO] [stdout]     |
[INFO] [stdout] 105 |     encoder.encode(sentence, &mut buf)?;
[INFO] [stdout]     |     ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `buf` in this scope
[INFO] [stdout]    --> src/lib.rs:105:35
[INFO] [stdout]     |
[INFO] [stdout] 105 |     encoder.encode(sentence, &mut buf)?;
[INFO] [stdout]     |                                   ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Talker` in this scope
[INFO] [stdout]    --> src/lib.rs:101:17
[INFO] [stdout]     |
[INFO] [stdout] 101 |         talker: Talker::GNSS,
[INFO] [stdout]     |                 ^^^^^^ use of undeclared type `Talker`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `trunc_subsecs` found for struct `DateTime<Tz>` in the current scope
[INFO] [stdout]    --> src/lib.rs:102:46
[INFO] [stdout]     |
[INFO] [stdout] 102 |         time_of_fix: Some(chrono::Utc::now().trunc_subsecs(2)),
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/chrono-0.4.45/src/round.rs:49:8
[INFO] [stdout]     |
[INFO] [stdout]  49 |     fn trunc_subsecs(self, digits: u16) -> Self;
[INFO] [stdout]     |        ------------- the method is available for `DateTime<Utc>` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `SubsecRound` which provides `trunc_subsecs` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]  99 + use chrono::SubsecRound;
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `round_subsecs` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 102 -         time_of_fix: Some(chrono::Utc::now().trunc_subsecs(2)),
[INFO] [stdout] 102 +         time_of_fix: Some(chrono::Utc::now().round_subsecs(2)),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Sentence` in this scope
[INFO] [stdout]    --> src/lib.rs:100:16
[INFO] [stdout]     |
[INFO] [stdout] 100 | let sentence = Sentence::RMC {
[INFO] [stdout]     |                ^^^^^^^^ use of undeclared type `Sentence`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 27) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `encoder` in this scope
[INFO] [stdout]   --> src/lib.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 |     encoder.encode(sentence, &mut buf)?;
[INFO] [stdout]    |     ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `buf` in this scope
[INFO] [stdout]   --> src/lib.rs:33:35
[INFO] [stdout]    |
[INFO] [stdout] 33 |     encoder.encode(sentence, &mut buf)?;
[INFO] [stdout]    |                                   ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Talker` in this scope
[INFO] [stdout]   --> src/lib.rs:29:17
[INFO] [stdout]    |
[INFO] [stdout] 29 |         talker: Talker::GNSS,
[INFO] [stdout]    |                 ^^^^^^ use of undeclared type `Talker`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `trunc_subsecs` found for struct `DateTime<Tz>` in the current scope
[INFO] [stdout]   --> src/lib.rs:30:46
[INFO] [stdout]    |
[INFO] [stdout] 30 |         time_of_fix: Some(chrono::Utc::now().trunc_subsecs(2)),
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/chrono-0.4.45/src/round.rs:49:8
[INFO] [stdout]    |
[INFO] [stdout] 49 |     fn trunc_subsecs(self, digits: u16) -> Self;
[INFO] [stdout]    |        ------------- the method is available for `DateTime<Utc>` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `SubsecRound` which provides `trunc_subsecs` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 27 + use chrono::SubsecRound;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `round_subsecs` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 30 -         time_of_fix: Some(chrono::Utc::now().trunc_subsecs(2)),
[INFO] [stdout] 30 +         time_of_fix: Some(chrono::Utc::now().round_subsecs(2)),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Sentence` in this scope
[INFO] [stdout]   --> src/lib.rs:28:16
[INFO] [stdout]    |
[INFO] [stdout] 28 | let sentence = Sentence::RMC {
[INFO] [stdout]    |                ^^^^^^^^ use of undeclared type `Sentence`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 22)
[INFO] [stdout]     src/lib.rs - (line 27)
[INFO] [stdout]     src/lib.rs - (line 37)
[INFO] [stdout]     src/lib.rs - NmeaCodec (line 109)
[INFO] [stdout]     src/lib.rs - NmeaCodec (line 120)
[INFO] [stdout]     src/lib.rs - NmeaCodec (line 99)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.50s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 1.15s; merged doctests compilation took 0.65s
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `"docker" "inspect" "54d3ee89fa40453b66a2b133dfe2ab02033f96b89539c142ac53d9abff1bd06f"`
[INFO] running `"docker" "rm" "-f" "54d3ee89fa40453b66a2b133dfe2ab02033f96b89539c142ac53d9abff1bd06f"`
[INFO] [stdout] 54d3ee89fa40453b66a2b133dfe2ab02033f96b89539c142ac53d9abff1bd06f
