[INFO] fetching crate cs_serde_cbor 0.12.0...
[INFO] testing cs_serde_cbor-0.12.0 against master#b70888601af92f6cdc0364abab3446e418b91d36 for pr-86479
[INFO] extracting crate cs_serde_cbor 0.12.0 into /workspace/builds/worker-14/source
[INFO] validating manifest of crates.io crate cs_serde_cbor 0.12.0 on toolchain b70888601af92f6cdc0364abab3446e418b91d36
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "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-14/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: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2be54f35812edfba13e6aed0bc2677f6ddc2cc1de69fac143be453e4cce43f8c
[INFO] running `Command { std: "docker" "start" "-a" "2be54f35812edfba13e6aed0bc2677f6ddc2cc1de69fac143be453e4cce43f8c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2be54f35812edfba13e6aed0bc2677f6ddc2cc1de69fac143be453e4cce43f8c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2be54f35812edfba13e6aed0bc2677f6ddc2cc1de69fac143be453e4cce43f8c", kill_on_drop: false }`
[INFO] [stdout] 2be54f35812edfba13e6aed0bc2677f6ddc2cc1de69fac143be453e4cce43f8c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4187b80ea5806d2e70ba9d01c852015cc4ac5a1f632a640b98491594c5979568
[INFO] running `Command { std: "docker" "start" "-a" "4187b80ea5806d2e70ba9d01c852015cc4ac5a1f632a640b98491594c5979568", kill_on_drop: false }`
[INFO] [stderr] Compiling serde v1.0.117
[INFO] [stderr] Compiling half v1.6.0
[INFO] [stderr] Compiling cs_serde_cbor v0.12.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variant is never constructed: `InvalidUtf8`
[INFO] [stdout] --> src/error.rs:280:5
[INFO] [stdout] |
[INFO] [stdout] 280 | InvalidUtf8,
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.12s
[INFO] running `Command { std: "docker" "inspect" "4187b80ea5806d2e70ba9d01c852015cc4ac5a1f632a640b98491594c5979568", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4187b80ea5806d2e70ba9d01c852015cc4ac5a1f632a640b98491594c5979568", kill_on_drop: false }`
[INFO] [stdout] 4187b80ea5806d2e70ba9d01c852015cc4ac5a1f632a640b98491594c5979568
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bdfecd4a1d6b81e61a6d460175f9988729d828ab65881ba39a536ae2c8dbabc7
[INFO] running `Command { std: "docker" "start" "-a" "bdfecd4a1d6b81e61a6d460175f9988729d828ab65881ba39a536ae2c8dbabc7", kill_on_drop: false }`
[INFO] [stderr] Compiling proc-macro2 v1.0.24
[INFO] [stderr] Compiling unicode-xid v0.2.1
[INFO] [stderr] Compiling syn v1.0.48
[INFO] [stderr] Compiling serde_derive v1.0.117
[INFO] [stdout] warning: variant is never constructed: `InvalidUtf8`
[INFO] [stdout] --> src/error.rs:280:5
[INFO] [stdout] |
[INFO] [stdout] 280 | InvalidUtf8,
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Compiling quote v1.0.7
[INFO] [stderr] Compiling cs_serde_cbor v0.12.0 (/opt/rustwide/workdir)
[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]
[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]
[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]
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_cbor`
[INFO] [stdout] --> tests/canonical.rs:3:9
[INFO] [stdout] |
[INFO] [stdout] 3 | use serde_cbor::value::Value;
[INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_cbor`
[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]
[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]
[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]
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SliceWrite`
[INFO] [stdout] --> tests/ser.rs:35:18
[INFO] [stdout] |
[INFO] [stdout] 35 | let writer = SliceWrite::new(&mut slice);
[INFO] [stdout] | ^^^^^^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout] |
[INFO] [stdout] 1 | 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[E0433]: failed to resolve: use of undeclared type `Serializer`
[INFO] [stdout] --> tests/ser.rs:36:26
[INFO] [stdout] |
[INFO] [stdout] 36 | let mut serializer = Serializer::new(writer);
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-1.0.117/src/ser/mod.rs:216:1
[INFO] [stdout] |
[INFO] [stdout] 216 | pub trait Serialize {
[INFO] [stdout] | ------------------- similarly named trait `Serialize` defined here
[INFO] [stdout] |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout] |
[INFO] [stdout] 36 | let mut serializer = Serialize::new(writer);
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout] |
[INFO] [stdout] 1 | use crate::std_tests::Serializer;
[INFO] [stdout] |
[INFO] [stdout] 1 | use cs_serde_cbor::Serializer;
[INFO] [stdout] |
[INFO] [stdout] 1 | use serde::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/ser.rs:205:21
[INFO] [stdout] |
[INFO] [stdout] 205 | serde_cbor::Serializer::new(&mut short_s)
[INFO] [stdout] | ^^^^^^^^^^ not found in `serde_cbor`
[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]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_cbor`
[INFO] [stdout] --> tests/de.rs:51:9
[INFO] [stdout] |
[INFO] [stdout] 51 | use serde_cbor::value::Value;
[INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_cbor`
[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:21
[INFO] [stdout] |
[INFO] [stdout] 215 | serde_cbor::Serializer::new(&mut medium_s)
[INFO] [stdout] | ^^^^^^^^^^ not found in `serde_cbor`
[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]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_cbor`
[INFO] [stdout] --> tests/ser.rs:229:21
[INFO] [stdout] |
[INFO] [stdout] 229 | serde_cbor::Serializer::new(&mut long_s)
[INFO] [stdout] | ^^^^^^^^^^ not found in `serde_cbor`
[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]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_cbor`
[INFO] [stdout] --> tests/ser.rs:238:21
[INFO] [stdout] |
[INFO] [stdout] 238 | serde_cbor::Serializer::new(&mut very_long_s)
[INFO] [stdout] | ^^^^^^^^^^ not found in `serde_cbor`
[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]
[INFO] [stdout]
[INFO] [stdout] error[E0432]: unresolved import `serde_cbor`
[INFO] [stdout] --> tests/de.rs:4:5
[INFO] [stdout] |
[INFO] [stdout] 4 | 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/de.rs:723:9
[INFO] [stdout] |
[INFO] [stdout] 723 | use serde_cbor::{de::from_slice, ser::to_vec_packed};
[INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_cbor`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0432]: unresolved import `serde_cbor`
[INFO] [stdout] --> tests/de.rs:52:9
[INFO] [stdout] |
[INFO] [stdout] 52 | use serde_cbor::{de, error, to_vec, Deserializer};
[INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_cbor`
[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]
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SliceWrite`
[INFO] [stdout] --> tests/bennofs.rs:51:18
[INFO] [stdout] |
[INFO] [stdout] 51 | let writer = SliceWrite::new(&mut slice);
[INFO] [stdout] | ^^^^^^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout] |
[INFO] [stdout] 4 | use cs_serde_cbor::ser::SliceWrite;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Serializer`
[INFO] [stdout] --> tests/bennofs.rs:52:26
[INFO] [stdout] |
[INFO] [stdout] 52 | let mut serializer = Serializer::new(writer).packed_format();
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-1.0.117/src/ser/mod.rs:216:1
[INFO] [stdout] |
[INFO] [stdout] 216 | pub trait Serialize {
[INFO] [stdout] | ------------------- similarly named trait `Serialize` defined here
[INFO] [stdout] |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout] |
[INFO] [stdout] 52 | let mut serializer = Serialize::new(writer).packed_format();
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout] |
[INFO] [stdout] 4 | use cs_serde_cbor::Serializer;
[INFO] [stdout] |
[INFO] [stdout] 4 | use serde::Serializer;
[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]
[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]
[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]
[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]
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `de`
[INFO] [stdout] --> tests/de.rs:10:9
[INFO] [stdout] |
[INFO] [stdout] 10 | de::from_slice_with_scratch(&[0x66, 0x66, 0x6f, 0x6f, 0x62, 0x61, 0x72], &mut []).unwrap();
[INFO] [stdout] | ^^ use of undeclared crate or module `de`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `de`
[INFO] [stdout] --> tests/de.rs:17:9
[INFO] [stdout] |
[INFO] [stdout] 17 | de::from_slice_with_scratch(&[0x46, 0x66, 0x6f, 0x6f, 0x62, 0x61, 0x72], &mut []).unwrap();
[INFO] [stdout] | ^^ use of undeclared crate or module `de`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `de`
[INFO] [stdout] --> tests/de.rs:23:20
[INFO] [stdout] |
[INFO] [stdout] 23 | let num: i64 = de::from_slice_with_scratch(&[0x39, 0x07, 0xde], &mut []).unwrap();
[INFO] [stdout] | ^^ use of undeclared crate or module `de`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `de`
[INFO] [stdout] --> tests/de.rs:29:22
[INFO] [stdout] |
[INFO] [stdout] 29 | let float: f64 = de::from_slice_with_scratch(b"\xfa\x47\xc3\x50\x00", &mut []).unwrap();
[INFO] [stdout] | ^^ use of undeclared crate or module `de`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `de`
[INFO] [stdout] --> tests/de.rs:42:9
[INFO] [stdout] |
[INFO] [stdout] 42 | de::from_slice_with_scratch(b"\xbfaa\x01ab\x9f\x02\x03\xff\xff", &mut []).unwrap();
[INFO] [stdout] | ^^ use of undeclared crate or module `de`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value`
[INFO] [stdout] --> tests/canonical.rs:63:68
[INFO] [stdout] |
[INFO] [stdout] 63 | let expected = vec![Value::Bool(false), Value::Bool(true), Value::Null];
[INFO] [stdout] | ^^^^^ use of undeclared type `Value`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value`
[INFO] [stdout] --> tests/canonical.rs:78:13
[INFO] [stdout] |
[INFO] [stdout] 78 | Value::Null,
[INFO] [stdout] | ^^^^^ use of undeclared type `Value`
[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]
[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]
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value`
[INFO] [stdout] --> tests/canonical.rs:26:18
[INFO] [stdout] |
[INFO] [stdout] 26 | .map(|i| Value::Integer(*i))
[INFO] [stdout] | ^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout] |
[INFO] [stdout] 3 | use cs_serde_cbor::Value;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value`
[INFO] [stdout] --> tests/canonical.rs:39:22
[INFO] [stdout] |
[INFO] [stdout] 39 | .map(|s| Value::Text(s.to_string()))
[INFO] [stdout] | ^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout] |
[INFO] [stdout] 3 | use cs_serde_cbor::Value;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value`
[INFO] [stdout] --> tests/canonical.rs:52:22
[INFO] [stdout] |
[INFO] [stdout] 52 | .map(|v| Value::Bytes(v))
[INFO] [stdout] | ^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout] |
[INFO] [stdout] 3 | use cs_serde_cbor::Value;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value`
[INFO] [stdout] --> tests/canonical.rs:63:29
[INFO] [stdout] |
[INFO] [stdout] 63 | let expected = vec![Value::Bool(false), Value::Bool(true), Value::Null];
[INFO] [stdout] | ^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout] |
[INFO] [stdout] 3 | use cs_serde_cbor::Value;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value`
[INFO] [stdout] --> tests/canonical.rs:63:49
[INFO] [stdout] |
[INFO] [stdout] 63 | let expected = vec![Value::Bool(false), Value::Bool(true), Value::Null];
[INFO] [stdout] | ^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout] |
[INFO] [stdout] 3 | use cs_serde_cbor::Value;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value`
[INFO] [stdout] --> tests/canonical.rs:74:13
[INFO] [stdout] |
[INFO] [stdout] 74 | Value::Integer(0),
[INFO] [stdout] | ^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout] |
[INFO] [stdout] 3 | use cs_serde_cbor::Value;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value`
[INFO] [stdout] --> tests/canonical.rs:75:13
[INFO] [stdout] |
[INFO] [stdout] 75 | Value::Integer(-1),
[INFO] [stdout] | ^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout] |
[INFO] [stdout] 3 | use cs_serde_cbor::Value;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value`
[INFO] [stdout] --> tests/canonical.rs:76:13
[INFO] [stdout] |
[INFO] [stdout] 76 | Value::Bytes(vec![]),
[INFO] [stdout] | ^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout] |
[INFO] [stdout] 3 | use cs_serde_cbor::Value;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value`
[INFO] [stdout] --> tests/canonical.rs:77:13
[INFO] [stdout] |
[INFO] [stdout] 77 | Value::Text("".to_string()),
[INFO] [stdout] | ^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout] |
[INFO] [stdout] 3 | use cs_serde_cbor::Value;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value`
[INFO] [stdout] --> tests/canonical.rs:91:13
[INFO] [stdout] |
[INFO] [stdout] 91 | Value::Integer(10),
[INFO] [stdout] | ^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout] |
[INFO] [stdout] 3 | use cs_serde_cbor::Value;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value`
[INFO] [stdout] --> tests/canonical.rs:92:13
[INFO] [stdout] |
[INFO] [stdout] 92 | Value::Integer(100),
[INFO] [stdout] | ^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout] |
[INFO] [stdout] 3 | use cs_serde_cbor::Value;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value`
[INFO] [stdout] --> tests/canonical.rs:93:13
[INFO] [stdout] |
[INFO] [stdout] 93 | Value::Integer(-1),
[INFO] [stdout] | ^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout] |
[INFO] [stdout] 3 | use cs_serde_cbor::Value;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value`
[INFO] [stdout] --> tests/canonical.rs:94:13
[INFO] [stdout] |
[INFO] [stdout] 94 | Value::Text("z".to_owned()),
[INFO] [stdout] | ^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout] |
[INFO] [stdout] 3 | use cs_serde_cbor::Value;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value`
[INFO] [stdout] --> tests/canonical.rs:95:13
[INFO] [stdout] |
[INFO] [stdout] 95 | Value::Text("aa".to_owned()),
[INFO] [stdout] | ^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout] |
[INFO] [stdout] 3 | use cs_serde_cbor::Value;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value`
[INFO] [stdout] --> tests/canonical.rs:96:13
[INFO] [stdout] |
[INFO] [stdout] 96 | Value::Array(vec![Value::Integer(100)]),
[INFO] [stdout] | ^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout] |
[INFO] [stdout] 3 | use cs_serde_cbor::Value;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value`
[INFO] [stdout] --> tests/canonical.rs:96:31
[INFO] [stdout] |
[INFO] [stdout] 96 | Value::Array(vec![Value::Integer(100)]),
[INFO] [stdout] | ^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout] |
[INFO] [stdout] 3 | use cs_serde_cbor::Value;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value`
[INFO] [stdout] --> tests/canonical.rs:97:13
[INFO] [stdout] |
[INFO] [stdout] 97 | Value::Array(vec![Value::Integer(-1)]),
[INFO] [stdout] | ^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout] |
[INFO] [stdout] 3 | use cs_serde_cbor::Value;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value`
[INFO] [stdout] --> tests/canonical.rs:97:31
[INFO] [stdout] |
[INFO] [stdout] 97 | Value::Array(vec![Value::Integer(-1)]),
[INFO] [stdout] | ^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout] |
[INFO] [stdout] 3 | use cs_serde_cbor::Value;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value`
[INFO] [stdout] --> tests/canonical.rs:98:13
[INFO] [stdout] |
[INFO] [stdout] 98 | Value::Bool(false),
[INFO] [stdout] | ^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout] |
[INFO] [stdout] 3 | use cs_serde_cbor::Value;
[INFO] [stdout] |
[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] --> 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]
[INFO] [stdout] error[E0425]: cannot find function `to_vec` in this scope
[INFO] [stdout] --> tests/std_types.rs:56:21
[INFO] [stdout] |
[INFO] [stdout] 56 | to_vec(&expr).expect("ser1 works"),
[INFO] [stdout] | ^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 82 | testcase!(test_bool_false, bool, false, "f4");
[INFO] [stdout] | ---------------------------------------------- in this macro invocation
[INFO] [stdout] |
[INFO] [stdout] = note: this error originates in the macro `testcase` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing this function
[INFO] [stdout] |
[INFO] [stdout] 6 | use cs_serde_cbor::to_vec;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function `to_vec_packed` in this scope
[INFO] [stdout] --> tests/std_types.rs:62:31
[INFO] [stdout] |
[INFO] [stdout] 62 | let packed = &to_vec_packed(&expr).expect("serializing packed")[..];
[INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 82 | testcase!(test_bool_false, bool, false, "f4");
[INFO] [stdout] | ---------------------------------------------- in this macro invocation
[INFO] [stdout] |
[INFO] [stdout] = note: this error originates in the macro `testcase` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing this function
[INFO] [stdout] |
[INFO] [stdout] 6 | use cs_serde_cbor::ser::to_vec_packed;
[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]
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value`
[INFO] [stdout] --> tests/de.rs:229:20
[INFO] [stdout] |
[INFO] [stdout] 229 | if let Value::Tag(_, inner) = x {
[INFO] [stdout] | ^^^^^ use of undeclared type `Value`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function `to_vec_packed` in this scope
[INFO] [stdout] --> tests/std_types.rs:68:34
[INFO] [stdout] |
[INFO] [stdout] 68 | let mut packed = to_vec_packed(&expr).expect("serializing packed");
[INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 82 | testcase!(test_bool_false, bool, false, "f4");
[INFO] [stdout] | ---------------------------------------------- in this macro invocation
[INFO] [stdout] |
[INFO] [stdout] = note: this error originates in the macro `testcase` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing this function
[INFO] [stdout] |
[INFO] [stdout] 6 | use cs_serde_cbor::ser::to_vec_packed;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value`
[INFO] [stdout] --> tests/de.rs:261:17
[INFO] [stdout] |
[INFO] [stdout] 261 | Value::Null,
[INFO] [stdout] | ^^^^^ use of undeclared type `Value`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function `from_mut_slice` in this scope
[INFO] [stdout] --> tests/std_types.rs:73:35
[INFO] [stdout] |
[INFO] [stdout] 73 | let parsed: $ty = from_mut_slice(&mut serialized[..]).unwrap();
[INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 82 | testcase!(test_bool_false, bool, false, "f4");
[INFO] [stdout] | ---------------------------------------------- in this macro invocation
[INFO] [stdout] |
[INFO] [stdout] = note: this error originates in the macro `testcase` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing this function
[INFO] [stdout] |
[INFO] [stdout] 6 | use cs_serde_cbor::de::from_mut_slice;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function `from_mut_slice` in this scope
[INFO] [stdout] --> tests/std_types.rs:76:21
[INFO] [stdout] |
[INFO] [stdout] 76 | from_mut_slice(&mut packed[..]).expect("parsing packed");
[INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 82 | testcase!(test_bool_false, bool, false, "f4");
[INFO] [stdout] | ---------------------------------------------- in this macro invocation
[INFO] [stdout] |
[INFO] [stdout] = note: this error originates in the macro `testcase` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing this function
[INFO] [stdout] |
[INFO] [stdout] 6 | use cs_serde_cbor::de::from_mut_slice;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function `to_vec` in this scope
[INFO] [stdout] --> tests/std_types.rs:56:21
[INFO] [stdout] |
[INFO] [stdout] 56 | to_vec(&expr).expect("ser1 works"),
[INFO] [stdout] | ^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 83 | testcase!(test_bool_true, bool, true, "f5");
[INFO] [stdout] | -------------------------------------------- in this macro invocation
[INFO] [stdout] |
[INFO] [stdout] = note: this error originates in the macro `testcase` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing this function
[INFO] [stdout] |
[INFO] [stdout] 6 | use cs_serde_cbor::to_vec;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function `to_vec_packed` in this scope
[INFO] [stdout] --> tests/std_types.rs:62:31
[INFO] [stdout] |
[INFO] [stdout] 62 | let packed = &to_vec_packed(&expr).expect("serializing packed")[..];
[INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 83 | testcase!(test_bool_true, bool, true, "f5");
[INFO] [stdout] | -------------------------------------------- in this macro invocation
[INFO] [stdout] |
[INFO] [stdout] = note: this error originates in the macro `testcase` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing this function
[INFO] [stdout] |
[INFO] [stdout] 6 | use cs_serde_cbor::ser::to_vec_packed;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function `to_vec_packed` in this scope
[INFO] [stdout] --> tests/std_types.rs:68:34
[INFO] [stdout] |
[INFO] [stdout] 68 | let mut packed = to_vec_packed(&expr).expect("serializing packed");
[INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 83 | testcase!(test_bool_true, bool, true, "f5");
[INFO] [stdout] | -------------------------------------------- in this macro invocation
[INFO] [stdout] |
[INFO] [stdout] = note: this error originates in the macro `testcase` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing this function
[INFO] [stdout] |
[INFO] [stdout] 6 | use cs_serde_cbor::ser::to_vec_packed;
[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]
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value`
[INFO] [stdout] --> tests/de.rs:262:17
[INFO] [stdout] |
[INFO] [stdout] 262 | Value::Null,
[INFO] [stdout] | ^^^^^ use of undeclared type `Value`
[INFO] [stdout]
[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] error[E0433]: failed to resolve: use of undeclared crate or module `serde_cbor`
[INFO] [stdout] --> tests/de.rs:295:44
[INFO] [stdout] |
[INFO] [stdout] 295 | let obj2: Result