[INFO] fetching crate cs_serde_cbor 0.12.0... [INFO] checking cs_serde_cbor-0.12.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate cs_serde_cbor 0.12.0 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate cs_serde_cbor 0.12.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cs_serde_cbor 0.12.0 [INFO] finished tweaking crates.io crate cs_serde_cbor 0.12.0 [INFO] tweaked toml for crates.io crate cs_serde_cbor 0.12.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate crates.io crate cs_serde_cbor 0.12.0 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a558b0df29512950cf53662ffb1e202de0a00dd5c6cdd2796473738a96ce858 [INFO] running `Command { std: "docker" "start" "-a" "9a558b0df29512950cf53662ffb1e202de0a00dd5c6cdd2796473738a96ce858", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a558b0df29512950cf53662ffb1e202de0a00dd5c6cdd2796473738a96ce858", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a558b0df29512950cf53662ffb1e202de0a00dd5c6cdd2796473738a96ce858", kill_on_drop: false }` [INFO] [stdout] 9a558b0df29512950cf53662ffb1e202de0a00dd5c6cdd2796473738a96ce858 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4317f2c7dd230ff5e3d06f47c816569ab789cdeb2796a1c8ac108103f5c0ca83 [INFO] running `Command { std: "docker" "start" "-a" "4317f2c7dd230ff5e3d06f47c816569ab789cdeb2796a1c8ac108103f5c0ca83", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Checking half v1.6.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking cs_serde_cbor v0.12.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `InvalidUtf8` is never constructed [INFO] [stdout] --> src/error.rs:280:5 [INFO] [stdout] | [INFO] [stdout] 265 | pub(crate) enum ErrorCode { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 280 | InvalidUtf8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorCode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_cbor` [INFO] [stdout] --> tests/ser.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_cbor::ser::{Serializer, SliceWrite}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_cbor` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 2 | use cs_serde_cbor::ser::{Serializer, SliceWrite}; [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_cbor` [INFO] [stdout] --> examples/tags.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_cbor::tags::Tagged; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_cbor` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 | use cs_serde_cbor::tags::Tagged; [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_cbor` [INFO] [stdout] --> examples/tags.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_cbor::Value; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_cbor` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 4 | use cs_serde_cbor::Value; [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_cbor` [INFO] [stdout] --> tests/ser.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | use serde_cbor::ser; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_cbor` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 47 | use cs_serde_cbor::ser; [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_cbor` [INFO] [stdout] --> tests/ser.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | use serde_cbor::{from_slice, to_vec}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_cbor` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 48 | use cs_serde_cbor::{from_slice, to_vec}; [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_cbor` [INFO] [stdout] --> tests/bennofs.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_cbor::ser::SliceWrite; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_cbor` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 | use cs_serde_cbor::ser::SliceWrite; [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_cbor` [INFO] [stdout] --> tests/bennofs.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_cbor::{self, Serializer}; [INFO] [stdout] | ^^^^ no external crate `serde_cbor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_cbor` [INFO] [stdout] --> tests/value.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_cbor; [INFO] [stdout] | ^^^^^^^^^^ no external crate `serde_cbor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_cbor` [INFO] [stdout] --> tests/std_types.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | use serde_cbor::de::from_mut_slice; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_cbor` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 8 | use cs_serde_cbor::de::from_mut_slice; [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_cbor` [INFO] [stdout] --> tests/std_types.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | use serde_cbor::ser::{to_vec, to_vec_packed}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_cbor` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 9 | use cs_serde_cbor::ser::{to_vec, to_vec_packed}; [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_cbor` [INFO] [stdout] --> tests/std_types.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | use serde_cbor::{from_reader, from_slice}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_cbor` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 10 | use cs_serde_cbor::{from_reader, from_slice}; [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_cbor` [INFO] [stdout] --> tests/ser.rs:85:27 [INFO] [stdout] | [INFO] [stdout] 85 | let vec = to_vec(&serde_cbor::value::to_value(object.clone()).unwrap()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_cbor` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 85 | let vec = to_vec(&cs_serde_cbor::value::to_value(object.clone()).unwrap()).unwrap(); [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 46 + use cs_serde_cbor::value; [INFO] [stdout] | [INFO] [stdout] help: if you import `value`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 85 - let vec = to_vec(&serde_cbor::value::to_value(object.clone()).unwrap()).unwrap(); [INFO] [stdout] 85 + let vec = to_vec(&value::to_value(object.clone()).unwrap()).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_cbor` [INFO] [stdout] --> tests/ser.rs:115:27 [INFO] [stdout] | [INFO] [stdout] 115 | let vec = to_vec(&serde_cbor::value::to_value(object.clone()).unwrap()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_cbor` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 115 | let vec = to_vec(&cs_serde_cbor::value::to_value(object.clone()).unwrap()).unwrap(); [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 46 + use cs_serde_cbor::value; [INFO] [stdout] | [INFO] [stdout] help: if you import `value`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 115 - let vec = to_vec(&serde_cbor::value::to_value(object.clone()).unwrap()).unwrap(); [INFO] [stdout] 115 + let vec = to_vec(&value::to_value(object.clone()).unwrap()).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_cbor` [INFO] [stdout] --> tests/ser.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | serde_cbor::Serializer::new(&mut short_s) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_cbor` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 205 | cs_serde_cbor::Serializer::new(&mut short_s) [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 46 + use crate::std_tests::Serializer; [INFO] [stdout] | [INFO] [stdout] 46 + use cs_serde_cbor::Serializer; [INFO] [stdout] | [INFO] [stdout] 46 + use serde::Serializer; [INFO] [stdout] | [INFO] [stdout] help: if you import `Serializer`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 205 - serde_cbor::Serializer::new(&mut short_s) [INFO] [stdout] 205 + Serializer::new(&mut short_s) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_cbor` [INFO] [stdout] --> tests/ser.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 215 | serde_cbor::Serializer::new(&mut medium_s) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_cbor` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 215 | cs_serde_cbor::Serializer::new(&mut medium_s) [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 46 + use crate::std_tests::Serializer; [INFO] [stdout] | [INFO] [stdout] 46 + use cs_serde_cbor::Serializer; [INFO] [stdout] | [INFO] [stdout] 46 + use serde::Serializer; [INFO] [stdout] | [INFO] [stdout] help: if you import `Serializer`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 215 - serde_cbor::Serializer::new(&mut medium_s) [INFO] [stdout] 215 + Serializer::new(&mut medium_s) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_cbor` [INFO] [stdout] --> tests/ser.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | serde_cbor::Serializer::new(&mut long_s) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_cbor` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 229 | cs_serde_cbor::Serializer::new(&mut long_s) [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 46 + use crate::std_tests::Serializer; [INFO] [stdout] | [INFO] [stdout] 46 + use cs_serde_cbor::Serializer; [INFO] [stdout] | [INFO] [stdout] 46 + use serde::Serializer; [INFO] [stdout] | [INFO] [stdout] help: if you import `Serializer`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 229 - serde_cbor::Serializer::new(&mut long_s) [INFO] [stdout] 229 + Serializer::new(&mut long_s) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_cbor` [INFO] [stdout] --> tests/ser.rs:238:9 [INFO] [stdout] | [INFO] [stdout] 238 | serde_cbor::Serializer::new(&mut very_long_s) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_cbor` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 238 | cs_serde_cbor::Serializer::new(&mut very_long_s) [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 46 + use crate::std_tests::Serializer; [INFO] [stdout] | [INFO] [stdout] 46 + use cs_serde_cbor::Serializer; [INFO] [stdout] | [INFO] [stdout] 46 + use serde::Serializer; [INFO] [stdout] | [INFO] [stdout] help: if you import `Serializer`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 238 - serde_cbor::Serializer::new(&mut very_long_s) [INFO] [stdout] 238 + Serializer::new(&mut very_long_s) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_cbor` [INFO] [stdout] --> tests/enum.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | use serde_cbor::ser::{IoWrite, Serializer}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_cbor` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 34 | use cs_serde_cbor::ser::{IoWrite, Serializer}; [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_cbor` [INFO] [stdout] --> tests/enum.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | use serde_cbor::value::Value; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_cbor` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 35 | use cs_serde_cbor::value::Value; [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_cbor` [INFO] [stdout] --> tests/enum.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_cbor; [INFO] [stdout] | ^^^^^^^^^^ no external crate `serde_cbor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_cbor` [INFO] [stdout] --> tests/enum.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | use serde_cbor::{from_slice, to_vec}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_cbor` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 36 | use cs_serde_cbor::{from_slice, to_vec}; [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_cbor` [INFO] [stdout] --> examples/readme.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | serde_cbor::to_writer(ferris_file, &ferris)?; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_cbor` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 27 | cs_serde_cbor::to_writer(ferris_file, &ferris)?; [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_cbor` [INFO] [stdout] --> examples/readme.rs:33:23 [INFO] [stdout] | [INFO] [stdout] 33 | let tux: Mascot = serde_cbor::from_reader(tux_file)?; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_cbor` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 33 | let tux: Mascot = cs_serde_cbor::from_reader(tux_file)?; [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_cbor` [INFO] [stdout] --> examples/tags.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | let bytes1 = serde_cbor::to_vec(&bookmark)?; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_cbor` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 63 | let bytes1 = cs_serde_cbor::to_vec(&bookmark)?; [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_cbor` [INFO] [stdout] --> examples/tags.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | let value1: Value = serde_cbor::from_slice(&bytes1)?; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_cbor` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 65 | let value1: Value = cs_serde_cbor::from_slice(&bytes1)?; [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_cbor` [INFO] [stdout] --> examples/tags.rs:68:18 [INFO] [stdout] | [INFO] [stdout] 68 | let bytes2 = serde_cbor::to_vec(&value1)?; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_cbor` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 68 | let bytes2 = cs_serde_cbor::to_vec(&value1)?; [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_cbor` [INFO] [stdout] --> examples/tags.rs:70:25 [INFO] [stdout] | [INFO] [stdout] 70 | let value2: Value = serde_cbor::from_slice(&bytes2)?; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_cbor` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 70 | let value2: Value = cs_serde_cbor::from_slice(&bytes2)?; [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_cbor` [INFO] [stdout] --> examples/tags.rs:73:28 [INFO] [stdout] | [INFO] [stdout] 73 | let result: Bookmark = serde_cbor::from_slice(&bytes2)?; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_cbor` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 73 | let result: Bookmark = cs_serde_cbor::from_slice(&bytes2)?; [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Serializer` [INFO] [stdout] --> tests/ser.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | use serde::Serializer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cs_serde_cbor` (example "readme") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `cs_serde_cbor` (example "tags") due to 8 previous errors [INFO] [stderr] error: could not compile `cs_serde_cbor` (test "ser") due to 10 previous errors; 1 warning emitted [INFO] [stderr] error: could not compile `cs_serde_cbor` (test "bennofs") due to 3 previous errors [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cs_serde_cbor` (test "value") due to 2 previous errors [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cs_serde_cbor` (test "std_types") due to 4 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_cbor` [INFO] [stdout] --> tests/enum.rs:38:43 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn to_vec_legacy(value: &T) -> serde_cbor::Result> [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_cbor` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 38 | pub fn to_vec_legacy(value: &T) -> cs_serde_cbor::Result> [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cs_serde_cbor` (test "enum") due to 6 previous errors [INFO] [stdout] warning: variant `InvalidUtf8` is never constructed [INFO] [stdout] --> src/error.rs:280:5 [INFO] [stdout] | [INFO] [stdout] 265 | pub(crate) enum ErrorCode { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 280 | InvalidUtf8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorCode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4317f2c7dd230ff5e3d06f47c816569ab789cdeb2796a1c8ac108103f5c0ca83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4317f2c7dd230ff5e3d06f47c816569ab789cdeb2796a1c8ac108103f5c0ca83", kill_on_drop: false }` [INFO] [stdout] 4317f2c7dd230ff5e3d06f47c816569ab789cdeb2796a1c8ac108103f5c0ca83