[INFO] fetching crate sane 0.2.1... [INFO] testing sane-0.2.1 against 1.60.0 for beta-1.61-1 [INFO] extracting crate sane 0.2.1 into /workspace/builds/worker-49/source [INFO] validating manifest of crates.io crate sane 0.2.1 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sane 0.2.1 [INFO] finished tweaking crates.io crate sane 0.2.1 [INFO] tweaked toml for crates.io crate sane 0.2.1 written to /workspace/builds/worker-49/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-49/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-49/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] da928813719a63a760b17ac40ce502939ec7e43e250c78645a8dd9c55b1dd4a5 [INFO] running `Command { std: "docker" "start" "-a" "da928813719a63a760b17ac40ce502939ec7e43e250c78645a8dd9c55b1dd4a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "da928813719a63a760b17ac40ce502939ec7e43e250c78645a8dd9c55b1dd4a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da928813719a63a760b17ac40ce502939ec7e43e250c78645a8dd9c55b1dd4a5", kill_on_drop: false }` [INFO] [stdout] da928813719a63a760b17ac40ce502939ec7e43e250c78645a8dd9c55b1dd4a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-49/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-49/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8fc1871d22b97468f8d329382b9f051009ef635fc9bcf1dbd7ae702497bd355c [INFO] running `Command { std: "docker" "start" "-a" "8fc1871d22b97468f8d329382b9f051009ef635fc9bcf1dbd7ae702497bd355c", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling sane v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/datetime.rs:210:29 [INFO] [stdout] | [INFO] [stdout] 210 | b'0'...b'9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ser.rs:482:20 [INFO] [stdout] | [INFO] [stdout] 482 | (Some(0...1), _) | (_, &None) => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ser.rs:520:16 [INFO] [stdout] | [INFO] [stdout] 520 | 'a'...'z' | 'A'...'Z' | '0'...'9' | '-' | '_' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ser.rs:520:28 [INFO] [stdout] | [INFO] [stdout] 520 | 'a'...'z' | 'A'...'Z' | '0'...'9' | '-' | '_' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ser.rs:520:40 [INFO] [stdout] | [INFO] [stdout] 520 | 'a'...'z' | 'A'...'Z' | '0'...'9' | '-' | '_' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ser.rs:1000:24 [INFO] [stdout] | [INFO] [stdout] 1000 | (Some(0...1), _) | (_, &None) => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tokens.rs:297:22 [INFO] [stdout] | [INFO] [stdout] 297 | new_ch: &mut FnMut( [INFO] [stdout] | ______________________^ [INFO] [stdout] 298 | | &mut Tokenizer, [INFO] [stdout] 299 | | &mut MaybeString, [INFO] [stdout] 300 | | bool, [INFO] [stdout] 301 | | usize, [INFO] [stdout] 302 | | char, [INFO] [stdout] 303 | | ) -> Result<(), Error>, [INFO] [stdout] | |______________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 297 ~ new_ch: &mut dyn FnMut( [INFO] [stdout] 298 | &mut Tokenizer, [INFO] [stdout] 299 | &mut MaybeString, [INFO] [stdout] 300 | bool, [INFO] [stdout] 301 | usize, [INFO] [stdout] 302 | char, [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 15.15s [INFO] running `Command { std: "docker" "inspect" "8fc1871d22b97468f8d329382b9f051009ef635fc9bcf1dbd7ae702497bd355c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fc1871d22b97468f8d329382b9f051009ef635fc9bcf1dbd7ae702497bd355c", kill_on_drop: false }` [INFO] [stdout] 8fc1871d22b97468f8d329382b9f051009ef635fc9bcf1dbd7ae702497bd355c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-49/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-49/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7181fdb60547613d2dab8c37c19632aac862e3ccfd3b831c9dc2782660534511 [INFO] running `Command { std: "docker" "start" "-a" "7181fdb60547613d2dab8c37c19632aac862e3ccfd3b831c9dc2782660534511", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/datetime.rs:210:29 [INFO] [stdout] | [INFO] [stdout] 210 | b'0'...b'9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ser.rs:482:20 [INFO] [stdout] | [INFO] [stdout] 482 | (Some(0...1), _) | (_, &None) => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ser.rs:520:16 [INFO] [stdout] | [INFO] [stdout] 520 | 'a'...'z' | 'A'...'Z' | '0'...'9' | '-' | '_' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ser.rs:520:28 [INFO] [stdout] | [INFO] [stdout] 520 | 'a'...'z' | 'A'...'Z' | '0'...'9' | '-' | '_' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ser.rs:520:40 [INFO] [stdout] | [INFO] [stdout] 520 | 'a'...'z' | 'A'...'Z' | '0'...'9' | '-' | '_' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ser.rs:1000:24 [INFO] [stdout] | [INFO] [stdout] 1000 | (Some(0...1), _) | (_, &None) => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sane v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tokens.rs:297:22 [INFO] [stdout] | [INFO] [stdout] 297 | new_ch: &mut FnMut( [INFO] [stdout] | ______________________^ [INFO] [stdout] 298 | | &mut Tokenizer, [INFO] [stdout] 299 | | &mut MaybeString, [INFO] [stdout] 300 | | bool, [INFO] [stdout] 301 | | usize, [INFO] [stdout] 302 | | char, [INFO] [stdout] 303 | | ) -> Result<(), Error>, [INFO] [stdout] | |______________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 297 ~ new_ch: &mut dyn FnMut( [INFO] [stdout] 298 | &mut Tokenizer, [INFO] [stdout] 299 | &mut MaybeString, [INFO] [stdout] 300 | bool, [INFO] [stdout] 301 | usize, [INFO] [stdout] 302 | char, [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `global_string` [INFO] [stdout] --> examples/decode.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | global_string: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> examples/decode.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(dead_code)]` implied by `#[warn(warnings)]` [INFO] [stdout] note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> examples/decode.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `global_integer` [INFO] [stdout] --> examples/decode.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | global_integer: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> examples/decode.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `server` [INFO] [stdout] --> examples/decode.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | server: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> examples/decode.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `peers` [INFO] [stdout] --> examples/decode.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | peers: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> examples/decode.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ip` [INFO] [stdout] --> examples/decode.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | ip: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ServerConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> examples/decode.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `port` [INFO] [stdout] --> examples/decode.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | port: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ServerConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> examples/decode.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ip` [INFO] [stdout] --> examples/decode.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | ip: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PeerConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> examples/decode.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `port` [INFO] [stdout] --> examples/decode.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | port: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PeerConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> examples/decode.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/datetime.rs:210:29 [INFO] [stdout] | [INFO] [stdout] 210 | b'0'...b'9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ser.rs:482:20 [INFO] [stdout] | [INFO] [stdout] 482 | (Some(0...1), _) | (_, &None) => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ser.rs:520:16 [INFO] [stdout] | [INFO] [stdout] 520 | 'a'...'z' | 'A'...'Z' | '0'...'9' | '-' | '_' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ser.rs:520:28 [INFO] [stdout] | [INFO] [stdout] 520 | 'a'...'z' | 'A'...'Z' | '0'...'9' | '-' | '_' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ser.rs:520:40 [INFO] [stdout] | [INFO] [stdout] 520 | 'a'...'z' | 'A'...'Z' | '0'...'9' | '-' | '_' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ser.rs:1000:24 [INFO] [stdout] | [INFO] [stdout] 1000 | (Some(0...1), _) | (_, &None) => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tokens.rs:297:22 [INFO] [stdout] | [INFO] [stdout] 297 | new_ch: &mut FnMut( [INFO] [stdout] | ______________________^ [INFO] [stdout] 298 | | &mut Tokenizer, [INFO] [stdout] 299 | | &mut MaybeString, [INFO] [stdout] 300 | | bool, [INFO] [stdout] 301 | | usize, [INFO] [stdout] 302 | | char, [INFO] [stdout] 303 | | ) -> Result<(), Error>, [INFO] [stdout] | |______________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 297 ~ new_ch: &mut dyn FnMut( [INFO] [stdout] 298 | &mut Tokenizer, [INFO] [stdout] 299 | &mut MaybeString, [INFO] [stdout] 300 | bool, [INFO] [stdout] 301 | usize, [INFO] [stdout] 302 | char, [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.43s [INFO] running `Command { std: "docker" "inspect" "7181fdb60547613d2dab8c37c19632aac862e3ccfd3b831c9dc2782660534511", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7181fdb60547613d2dab8c37c19632aac862e3ccfd3b831c9dc2782660534511", kill_on_drop: false }` [INFO] [stdout] 7181fdb60547613d2dab8c37c19632aac862e3ccfd3b831c9dc2782660534511 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-49/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-49/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 102eea69a03315b2f488531e3cfaac86f8e6c13eb671da1f8a0ab7555a890ef0 [INFO] running `Command { std: "docker" "start" "-a" "102eea69a03315b2f488531e3cfaac86f8e6c13eb671da1f8a0ab7555a890ef0", kill_on_drop: false }` [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/datetime.rs:210:29 [INFO] [stderr] | [INFO] [stderr] 210 | b'0'...b'9' => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/ser.rs:482:20 [INFO] [stderr] | [INFO] [stderr] 482 | (Some(0...1), _) | (_, &None) => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/ser.rs:520:16 [INFO] [stderr] | [INFO] [stderr] 520 | 'a'...'z' | 'A'...'Z' | '0'...'9' | '-' | '_' => true, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/ser.rs:520:28 [INFO] [stderr] | [INFO] [stderr] 520 | 'a'...'z' | 'A'...'Z' | '0'...'9' | '-' | '_' => true, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/ser.rs:520:40 [INFO] [stderr] | [INFO] [stderr] 520 | 'a'...'z' | 'A'...'Z' | '0'...'9' | '-' | '_' => true, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/ser.rs:1000:24 [INFO] [stderr] | [INFO] [stderr] 1000 | (Some(0...1), _) | (_, &None) => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/tokens.rs:297:22 [INFO] [stderr] | [INFO] [stderr] 297 | new_ch: &mut FnMut( [INFO] [stderr] | ______________________^ [INFO] [stderr] 298 | | &mut Tokenizer, [INFO] [stderr] 299 | | &mut MaybeString, [INFO] [stderr] 300 | | bool, [INFO] [stderr] 301 | | usize, [INFO] [stderr] 302 | | char, [INFO] [stderr] 303 | | ) -> Result<(), Error>, [INFO] [stderr] | |______________________________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 297 ~ new_ch: &mut dyn FnMut( [INFO] [stderr] 298 | &mut Tokenizer, [INFO] [stderr] 299 | &mut MaybeString, [INFO] [stderr] 300 | bool, [INFO] [stderr] 301 | usize, [INFO] [stderr] 302 | char, [INFO] [stderr] ... [INFO] [stderr] [INFO] [stderr] warning: `sane` (lib) generated 7 warnings [INFO] [stderr] warning: `sane` (lib test) generated 7 warnings (7 duplicates) [INFO] [stderr] warning: field is never read: `global_string` [INFO] [stderr] --> examples/decode.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | global_string: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> examples/decode.rs:4:9 [INFO] [stderr] | [INFO] [stderr] 4 | #![deny(warnings)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: `#[warn(dead_code)]` implied by `#[warn(warnings)]` [INFO] [stderr] note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> examples/decode.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `global_integer` [INFO] [stderr] --> examples/decode.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | global_integer: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> examples/decode.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `server` [INFO] [stderr] --> examples/decode.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | server: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> examples/decode.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `peers` [INFO] [stderr] --> examples/decode.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | peers: Option>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> examples/decode.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `ip` [INFO] [stderr] --> examples/decode.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | ip: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ServerConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> examples/decode.rs:23:10 [INFO] [stderr] | [INFO] [stderr] 23 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `port` [INFO] [stderr] --> examples/decode.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | port: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ServerConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> examples/decode.rs:23:10 [INFO] [stderr] | [INFO] [stderr] 23 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `ip` [INFO] [stderr] --> examples/decode.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | ip: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PeerConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> examples/decode.rs:29:10 [INFO] [stderr] | [INFO] [stderr] 29 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `port` [INFO] [stderr] --> examples/decode.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 32 | port: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PeerConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> examples/decode.rs:29:10 [INFO] [stderr] | [INFO] [stderr] 29 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `sane` (example "decode") generated 8 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/sane-02e2db558610cba1) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test tokens::tests::all ... ok [INFO] [stdout] test tokens::tests::bare_cr_bad ... ok [INFO] [stdout] test tokens::tests::basic_strings ... ok [INFO] [stdout] test tokens::tests::bad_comment ... ok [INFO] [stdout] test tokens::tests::keylike ... ok [INFO] [stdout] test tokens::tests::literal_strings ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests sane [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/workdir/src/datetime.rs:210:29 [INFO] [stderr] | [INFO] [stderr] 210 | b'0'...b'9' => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/workdir/src/ser.rs:482:20 [INFO] [stderr] | [INFO] [stderr] 482 | (Some(0...1), _) | (_, &None) => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/workdir/src/ser.rs:520:16 [INFO] [stderr] | [INFO] [stderr] 520 | 'a'...'z' | 'A'...'Z' | '0'...'9' | '-' | '_' => true, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/workdir/src/ser.rs:520:28 [INFO] [stderr] | [INFO] [stderr] 520 | 'a'...'z' | 'A'...'Z' | '0'...'9' | '-' | '_' => true, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/workdir/src/ser.rs:520:40 [INFO] [stderr] | [INFO] [stderr] 520 | 'a'...'z' | 'A'...'Z' | '0'...'9' | '-' | '_' => true, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/workdir/src/ser.rs:1000:24 [INFO] [stderr] | [INFO] [stderr] 1000 | (Some(0...1), _) | (_, &None) => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: 6 warnings emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test src/lib.rs - (line 13) ... ignored [INFO] [stdout] test src/ser.rs - ser::tables_last (line 1586) ... FAILED [INFO] [stdout] test src/ser.rs - ser (line 14) ... FAILED [INFO] [stdout] test src/lib.rs - (line 97) ... FAILED [INFO] [stdout] test src/de.rs - de::from_str (line 43) ... FAILED [INFO] [stdout] test src/macros.rs - macros::sane (line 9) ... FAILED [INFO] [stdout] test src/lib.rs - (line 61) ... FAILED [INFO] [stdout] test src/spanned.rs - spanned (line 1) ... FAILED [INFO] [stdout] test src/ser.rs - ser::to_string (line 58) ... FAILED [INFO] [stdout] test src/lib.rs - (line 30) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/ser.rs - ser::tables_last (line 1586) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `serde_derive` [INFO] [stdout] --> src/ser.rs:1587:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate serde_derive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/ser.rs:1590:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] serde::Serialize [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/ser.rs:1593:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[serde(serialize_with = "sane::ser::tables_last")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/ser.rs - ser (line 14) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `serde_derive` [INFO] [stdout] --> src/ser.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate serde_derive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/ser.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] serde::Serialize [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/ser.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[serde(serialize_with = "sane::ser::tables_last")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 97) stdout ---- [INFO] [stdout] error[E0254]: the name `sane` is defined multiple times [INFO] [stdout] --> src/lib.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate r#sane; [INFO] [stdout] | -------------------- previous import of the extern crate `sane` here [INFO] [stdout] 3 | use serde::{Serialize}; [INFO] [stdout] 4 | use sane; [INFO] [stdout] | ^^^^ `sane` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `sane` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0254`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/de.rs - de::from_str (line 43) stdout ---- [INFO] [stdout] error[E0254]: the name `sane` is defined multiple times [INFO] [stdout] --> src/de.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate r#sane; [INFO] [stdout] | -------------------- previous import of the extern crate `sane` here [INFO] [stdout] 3 | use serde::{Deserialize}; [INFO] [stdout] 4 | use sane; [INFO] [stdout] | ^^^^ `sane` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `sane` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0254`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/macros.rs - macros::sane (line 9) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `insert_sane` in `$crate::macros` [INFO] [stdout] --> src/macros.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 6 | let cargo_sane = sane! { [INFO] [stdout] | ______________________^ [INFO] [stdout] 7 | | [package] [INFO] [stdout] 8 | | name = "sane" [INFO] [stdout] 9 | | version = "0.4.5" [INFO] [stdout] ... | [INFO] [stdout] 20 | | serde_json = "1.0" [INFO] [stdout] 21 | | }; [INFO] [stdout] | |_____^ not found in `$crate::macros` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `sane_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `insert_sane` in `$crate::macros` [INFO] [stdout] --> src/macros.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 6 | let cargo_sane = sane! { [INFO] [stdout] | ______________________^ [INFO] [stdout] 7 | | [package] [INFO] [stdout] 8 | | name = "sane" [INFO] [stdout] 9 | | version = "0.4.5" [INFO] [stdout] ... | [INFO] [stdout] 20 | | serde_json = "1.0" [INFO] [stdout] 21 | | }; [INFO] [stdout] | |_____^ not found in `$crate::macros` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `sane_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `insert_sane` in `$crate::macros` [INFO] [stdout] --> src/macros.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 6 | let cargo_sane = sane! { [INFO] [stdout] | ______________________^ [INFO] [stdout] 7 | | [package] [INFO] [stdout] 8 | | name = "sane" [INFO] [stdout] 9 | | version = "0.4.5" [INFO] [stdout] ... | [INFO] [stdout] 20 | | serde_json = "1.0" [INFO] [stdout] 21 | | }; [INFO] [stdout] | |_____^ not found in `$crate::macros` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `sane_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `insert_sane` in `$crate::macros` [INFO] [stdout] --> src/macros.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 6 | let cargo_sane = sane! { [INFO] [stdout] | ______________________^ [INFO] [stdout] 7 | | [package] [INFO] [stdout] 8 | | name = "sane" [INFO] [stdout] 9 | | version = "0.4.5" [INFO] [stdout] ... | [INFO] [stdout] 20 | | serde_json = "1.0" [INFO] [stdout] 21 | | }; [INFO] [stdout] | |_____^ not found in `$crate::macros` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `sane_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `insert_sane` in `$crate::macros` [INFO] [stdout] --> src/macros.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 6 | let cargo_sane = sane! { [INFO] [stdout] | ______________________^ [INFO] [stdout] 7 | | [package] [INFO] [stdout] 8 | | name = "sane" [INFO] [stdout] 9 | | version = "0.4.5" [INFO] [stdout] ... | [INFO] [stdout] 20 | | serde_json = "1.0" [INFO] [stdout] 21 | | }; [INFO] [stdout] | |_____^ not found in `$crate::macros` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `sane_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `insert_sane` in `$crate::macros` [INFO] [stdout] --> src/macros.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 6 | let cargo_sane = sane! { [INFO] [stdout] | ______________________^ [INFO] [stdout] 7 | | [package] [INFO] [stdout] 8 | | name = "sane" [INFO] [stdout] 9 | | version = "0.4.5" [INFO] [stdout] ... | [INFO] [stdout] 20 | | serde_json = "1.0" [INFO] [stdout] 21 | | }; [INFO] [stdout] | |_____^ not found in `$crate::macros` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `sane_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `insert_sane` in `$crate::macros` [INFO] [stdout] --> src/macros.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 6 | let cargo_sane = sane! { [INFO] [stdout] | ______________________^ [INFO] [stdout] 7 | | [package] [INFO] [stdout] 8 | | name = "sane" [INFO] [stdout] 9 | | version = "0.4.5" [INFO] [stdout] ... | [INFO] [stdout] 20 | | serde_json = "1.0" [INFO] [stdout] 21 | | }; [INFO] [stdout] | |_____^ not found in `$crate::macros` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `sane_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `insert_sane` in `$crate::macros` [INFO] [stdout] --> src/macros.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 6 | let cargo_sane = sane! { [INFO] [stdout] | ______________________^ [INFO] [stdout] 7 | | [package] [INFO] [stdout] 8 | | name = "sane" [INFO] [stdout] 9 | | version = "0.4.5" [INFO] [stdout] ... | [INFO] [stdout] 20 | | serde_json = "1.0" [INFO] [stdout] 21 | | }; [INFO] [stdout] | |_____^ not found in `$crate::macros` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `sane_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `insert_sane` in `$crate::macros` [INFO] [stdout] --> src/macros.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 6 | let cargo_sane = sane! { [INFO] [stdout] | ______________________^ [INFO] [stdout] 7 | | [package] [INFO] [stdout] 8 | | name = "sane" [INFO] [stdout] 9 | | version = "0.4.5" [INFO] [stdout] ... | [INFO] [stdout] 20 | | serde_json = "1.0" [INFO] [stdout] 21 | | }; [INFO] [stdout] | |_____^ not found in `$crate::macros` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `sane_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `insert_sane` in `$crate::macros` [INFO] [stdout] --> src/macros.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 6 | let cargo_sane = sane! { [INFO] [stdout] | ______________________^ [INFO] [stdout] 7 | | [package] [INFO] [stdout] 8 | | name = "sane" [INFO] [stdout] 9 | | version = "0.4.5" [INFO] [stdout] ... | [INFO] [stdout] 20 | | serde_json = "1.0" [INFO] [stdout] 21 | | }; [INFO] [stdout] | |_____^ not found in `$crate::macros` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `sane_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `insert_sane` in `$crate::macros` [INFO] [stdout] --> src/macros.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 6 | let cargo_sane = sane! { [INFO] [stdout] | ______________________^ [INFO] [stdout] 7 | | [package] [INFO] [stdout] 8 | | name = "sane" [INFO] [stdout] 9 | | version = "0.4.5" [INFO] [stdout] ... | [INFO] [stdout] 20 | | serde_json = "1.0" [INFO] [stdout] 21 | | }; [INFO] [stdout] | |_____^ not found in `$crate::macros` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `sane_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `insert_sane` in `$crate::macros` [INFO] [stdout] --> src/macros.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 6 | let cargo_sane = sane! { [INFO] [stdout] | ______________________^ [INFO] [stdout] 7 | | [package] [INFO] [stdout] 8 | | name = "sane" [INFO] [stdout] 9 | | version = "0.4.5" [INFO] [stdout] ... | [INFO] [stdout] 20 | | serde_json = "1.0" [INFO] [stdout] 21 | | }; [INFO] [stdout] | |_____^ not found in `$crate::macros` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `sane_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0603]: module `macros` is private [INFO] [stdout] --> /opt/rustwide/workdir/src/macros.rs:163:17 [INFO] [stdout] | [INFO] [stdout] 163 | $crate::macros::insert_sane( [INFO] [stdout] | ^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `macros` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:152:1 [INFO] [stdout] | [INFO] [stdout] 152 | mod macros; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0603]: module `macros` is private [INFO] [stdout] --> /opt/rustwide/workdir/src/macros.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | $crate::macros::insert_sane( [INFO] [stdout] | ^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `macros` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:152:1 [INFO] [stdout] | [INFO] [stdout] 152 | mod macros; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0603]: module `macros` is private [INFO] [stdout] --> /opt/rustwide/workdir/src/macros.rs:231:26 [INFO] [stdout] | [INFO] [stdout] 231 | let de = $crate::macros::IntoDeserializer::<$crate::de::Error>::into_deserializer($v); [INFO] [stdout] | ^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `macros` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:152:1 [INFO] [stdout] | [INFO] [stdout] 152 | mod macros; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0603]: module `macros` is private [INFO] [stdout] --> /opt/rustwide/workdir/src/macros.rs:232:35 [INFO] [stdout] | [INFO] [stdout] 232 | <$crate::Value as $crate::macros::Deserialize>::deserialize(de).unwrap() [INFO] [stdout] | ^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `macros` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:152:1 [INFO] [stdout] | [INFO] [stdout] 152 | mod macros; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0603]: module `macros` is private [INFO] [stdout] --> /opt/rustwide/workdir/src/macros.rs:301:17 [INFO] [stdout] | [INFO] [stdout] 301 | $crate::macros::insert_sane( [INFO] [stdout] | ^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `macros` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:152:1 [INFO] [stdout] | [INFO] [stdout] 152 | mod macros; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0603. [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 61) stdout ---- [INFO] [stdout] error[E0254]: the name `sane` is defined multiple times [INFO] [stdout] --> src/lib.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate r#sane; [INFO] [stdout] | -------------------- previous import of the extern crate `sane` here [INFO] [stdout] 3 | use serde::{Deserialize} ; [INFO] [stdout] 4 | use sane; [INFO] [stdout] | ^^^^ `sane` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `sane` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0254`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/spanned.rs - spanned (line 1) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `serde_derive` [INFO] [stdout] --> src/spanned.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate serde_derive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/spanned.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] serde::Deserialize [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Value: serde::de::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/spanned.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | let u: Value = sane::from_str(t).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `Value` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `sane::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/de.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | T: de::Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `sane::from_str` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/ser.rs - ser::to_string (line 58) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `serde_derive` [INFO] [stdout] --> src/ser.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate serde_derive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/ser.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] serde::Serialize [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/ser.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] serde::Serialize [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Config: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/ser.rs:86:32 [INFO] [stdout] | [INFO] [stdout] 29 | let sane = sane::to_string(&config).unwrap(); [INFO] [stdout] | --------------- ^^^^^^^ the trait `serde::ser::Serialize` is not implemented for `Config` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `sane::to_string` [INFO] [stdout] --> /opt/rustwide/workdir/src/ser.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | T: ser::Serialize, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `sane::to_string` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/de.rs - de::from_str (line 43) [INFO] [stdout] src/lib.rs - (line 61) [INFO] [stdout] src/lib.rs - (line 97) [INFO] [stdout] src/macros.rs - macros::sane (line 9) [INFO] [stdout] src/ser.rs - ser (line 14) [INFO] [stdout] src/ser.rs - ser::tables_last (line 1586) [INFO] [stdout] src/ser.rs - ser::to_string (line 58) [INFO] [stdout] src/spanned.rs - spanned (line 1) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 8 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.65s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "102eea69a03315b2f488531e3cfaac86f8e6c13eb671da1f8a0ab7555a890ef0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "102eea69a03315b2f488531e3cfaac86f8e6c13eb671da1f8a0ab7555a890ef0", kill_on_drop: false }` [INFO] [stdout] 102eea69a03315b2f488531e3cfaac86f8e6c13eb671da1f8a0ab7555a890ef0