[INFO] fetching crate dangerous 0.10.0... [INFO] testing dangerous-0.10.0 against 1.90.0 for beta-1.91-3 [INFO] extracting crate dangerous 0.10.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate dangerous 0.10.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate dangerous 0.10.0 [INFO] tweaked toml for crates.io crate dangerous 0.10.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate dangerous 0.10.0 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate dangerous 0.10.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unindent v0.1.7 [INFO] [stderr] Downloaded zc-derive v0.4.0 [INFO] [stderr] Downloaded indoc v1.0.3 [INFO] [stderr] Downloaded colored-diff v0.2.2 [INFO] [stderr] Downloaded zc v0.4.0 [INFO] [stderr] Downloaded anyhow v1.0.39 [INFO] [stderr] Downloaded imap-proto v0.14.0 [INFO] [stderr] Downloaded syn v1.0.64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ef7bf19f137da6ac830f29a6288fc96714b69dde45518d56f8df00188044eb73 [INFO] running `Command { std: "docker" "start" "-a" "ef7bf19f137da6ac830f29a6288fc96714b69dde45518d56f8df00188044eb73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef7bf19f137da6ac830f29a6288fc96714b69dde45518d56f8df00188044eb73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef7bf19f137da6ac830f29a6288fc96714b69dde45518d56f8df00188044eb73", kill_on_drop: false }` [INFO] [stdout] ef7bf19f137da6ac830f29a6288fc96714b69dde45518d56f8df00188044eb73 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3c8a359ba1113e89e3af57fb93397ade4997fc08bfaaae58f9ba42f71945a754 [INFO] running `Command { std: "docker" "start" "-a" "3c8a359ba1113e89e3af57fb93397ade4997fc08bfaaae58f9ba42f71945a754", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling bytecount v0.6.2 [INFO] [stderr] Compiling dangerous v0.10.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.71s [INFO] running `Command { std: "docker" "inspect" "3c8a359ba1113e89e3af57fb93397ade4997fc08bfaaae58f9ba42f71945a754", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c8a359ba1113e89e3af57fb93397ade4997fc08bfaaae58f9ba42f71945a754", kill_on_drop: false }` [INFO] [stdout] 3c8a359ba1113e89e3af57fb93397ade4997fc08bfaaae58f9ba42f71945a754 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa523a52807d30e921575e8c87e2b52d685992236b02c83472e8fa3ed2612775 [INFO] running `Command { std: "docker" "start" "-a" "aa523a52807d30e921575e8c87e2b52d685992236b02c83472e8fa3ed2612775", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling anyhow v1.0.39 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling aliasable v0.1.3 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling unindent v0.1.7 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling indoc v1.0.3 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling bitvec v0.19.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling colored-diff v0.2.2 [INFO] [stderr] Compiling zc-derive v0.4.0 [INFO] [stderr] Compiling zc v0.4.0 [INFO] [stderr] Compiling imap-proto v0.14.0 [INFO] [stderr] Compiling dangerous v0.10.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `error::*` [INFO] [stdout] --> tests/common.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | pub use dangerous::{error::*, *}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `indoc::indoc` [INFO] [stdout] --> tests/common.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use indoc::indoc; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `paste::paste` [INFO] [stdout] --> tests/common.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use paste::paste; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::*` [INFO] [stdout] --> tests/common.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | pub use dangerous::{error::*, *}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `indoc::indoc` [INFO] [stdout] --> tests/common.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use indoc::indoc; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `paste::paste` [INFO] [stdout] --> tests/common.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use paste::paste; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> examples/external.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Custom<'i>(&'i str); [INFO] [stdout] | ------ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Custom` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `indoc::indoc` [INFO] [stdout] --> tests/common.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use indoc::indoc; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `paste::paste` [INFO] [stdout] --> tests/common.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use paste::paste; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `indoc::indoc` [INFO] [stdout] --> tests/common.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use indoc::indoc; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `paste::paste` [INFO] [stdout] --> tests/common.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use paste::paste; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `paste::paste` [INFO] [stdout] --> tests/common.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use paste::paste; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `indoc::indoc` [INFO] [stdout] --> tests/common.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use indoc::indoc; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `paste::paste` [INFO] [stdout] --> tests/common.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use paste::paste; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `paste::paste` [INFO] [stdout] --> tests/common.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use paste::paste; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> examples/json.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | Bool(bool), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Value` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 26 - Bool(bool), [INFO] [stdout] 26 + Bool(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> examples/json.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | Str(&'a str), [INFO] [stdout] | --- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Value` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 27 - Str(&'a str), [INFO] [stdout] 27 + Str(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> examples/json.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | Number(f64), [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Value` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 28 - Number(f64), [INFO] [stdout] 28 + Number(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> examples/json.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | Array(Vec>), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Value` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 29 - Array(Vec>), [INFO] [stdout] 29 + Array(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> examples/json.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | Object(Vec<(&'a str, Value<'a>)>), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Value` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 30 - Object(Vec<(&'a str, Value<'a>)>), [INFO] [stdout] 30 + Object(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `paste::paste` [INFO] [stdout] --> tests/common.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use paste::paste; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 11.01s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v6.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "aa523a52807d30e921575e8c87e2b52d685992236b02c83472e8fa3ed2612775", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa523a52807d30e921575e8c87e2b52d685992236b02c83472e8fa3ed2612775", kill_on_drop: false }` [INFO] [stdout] aa523a52807d30e921575e8c87e2b52d685992236b02c83472e8fa3ed2612775 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 68badfa8749f2e39b0f7eb28facc9dfb0636a44ff3056072aa7998fe5d721285 [INFO] running `Command { std: "docker" "start" "-a" "68badfa8749f2e39b0f7eb28facc9dfb0636a44ff3056072aa7998fe5d721285", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `paste::paste` [INFO] [stderr] --> tests/common.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 5 | pub use paste::paste; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `indoc::indoc` [INFO] [stderr] --> tests/common.rs:4:9 [INFO] [stderr] | [INFO] [stderr] 4 | pub use indoc::indoc; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `paste::paste` [INFO] [stderr] --> tests/common.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 5 | pub use paste::paste; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> examples/json.rs:26:10 [INFO] [stderr] | [INFO] [stderr] 26 | Bool(bool), [INFO] [stderr] | ---- ^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Value` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 26 - Bool(bool), [INFO] [stderr] 26 + Bool(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> examples/json.rs:27:9 [INFO] [stderr] | [INFO] [stderr] 27 | Str(&'a str), [INFO] [stderr] | --- ^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Value` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 27 - Str(&'a str), [INFO] [stderr] 27 + Str(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> examples/json.rs:28:12 [INFO] [stderr] | [INFO] [stderr] 28 | Number(f64), [INFO] [stderr] | ------ ^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Value` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 28 - Number(f64), [INFO] [stderr] 28 + Number(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> examples/json.rs:29:11 [INFO] [stderr] | [INFO] [stderr] 29 | Array(Vec>), [INFO] [stderr] | ----- ^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Value` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 29 - Array(Vec>), [INFO] [stderr] 29 + Array(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> examples/json.rs:30:12 [INFO] [stderr] | [INFO] [stderr] 30 | Object(Vec<(&'a str, Value<'a>)>), [INFO] [stderr] | ------ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Value` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 30 - Object(Vec<(&'a str, Value<'a>)>), [INFO] [stderr] 30 + Object(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `error::*` [INFO] [stderr] --> tests/common.rs:3:21 [INFO] [stderr] | [INFO] [stderr] 3 | pub use dangerous::{error::*, *}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `indoc::indoc` [INFO] [stderr] --> tests/common.rs:4:9 [INFO] [stderr] | [INFO] [stderr] 4 | pub use indoc::indoc; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> examples/external.rs:18:23 [INFO] [stderr] | [INFO] [stderr] 18 | pub struct Custom<'i>(&'i str); [INFO] [stderr] | ------ ^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `Custom` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `dangerous` (test "test_errors") generated 1 warning (run `cargo fix --test "test_errors"` to apply 1 suggestion) [INFO] [stderr] warning: `dangerous` (test "test_input") generated 2 warnings (run `cargo fix --test "test_input"` to apply 2 suggestions) [INFO] [stderr] warning: `dangerous` (test "test_display") generated 2 warnings (2 duplicates) [INFO] [stderr] warning: `dangerous` (example "json") generated 5 warnings [INFO] [stderr] warning: `dangerous` (test "test_reader") generated 2 warnings (2 duplicates) [INFO] [stderr] warning: `dangerous` (test "test_span") generated 3 warnings (1 duplicate) (run `cargo fix --test "test_span"` to apply 2 suggestions) [INFO] [stderr] warning: `dangerous` (test "test_reader_bytes") generated 1 warning (1 duplicate) [INFO] [stderr] warning: `dangerous` (test "test_pattern") generated 3 warnings (3 duplicates) [INFO] [stderr] warning: `dangerous` (example "external") generated 1 warning [INFO] [stderr] warning: `dangerous` (test "test_reader_string") generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v6.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/dangerous-8909cce1a7b27a0d) [INFO] [stdout] [INFO] [stdout] running 30 tests [INFO] [stdout] test display::section::tests::test_computed_head_str_min_width_bad_utf8 ... ok [INFO] [stdout] test display::section::tests::test_computed_head_str_short_bad_utf8 ... ok [INFO] [stdout] test display::section::tests::test_computed_head_str_short_non_ascii ... ok [INFO] [stdout] test display::section::tests::test_computed_head_str_short_non_ascii_bad_utf8 ... ok [INFO] [stdout] test display::section::tests::test_computed_head_str_single ... ok [INFO] [stdout] test display::section::tests::test_computed_head_tail_str_min_width ... ok [INFO] [stdout] test display::section::tests::test_computed_head_str_over_min_width_bad_utf8 ... ok [INFO] [stdout] test display::section::tests::test_computed_head_tail_str_non_ascii_bad_utf8 ... ok [INFO] [stdout] test display::section::tests::test_computed_head_tail_str_short_non_ascii ... ok [INFO] [stdout] test display::section::tests::test_computed_head_tail_str_single ... ok [INFO] [stdout] test display::section::tests::test_computed_head_str_min_width ... ok [INFO] [stdout] test display::section::tests::test_computed_span_bytes_last ... ok [INFO] [stdout] test display::section::tests::test_computed_span_str_last ... ok [INFO] [stdout] test display::section::tests::test_computed_head_tail_str_over_min_width_bad_utf8 ... ok [INFO] [stdout] test display::section::tests::test_computed_span_str_last_bad_utf8 ... ok [INFO] [stdout] test display::section::tests::test_computed_head_tail_str_min_width_bad_utf8 ... ok [INFO] [stdout] test display::section::tests::test_computed_span_str_long_head ... ok [INFO] [stdout] test display::section::tests::test_computed_span_str_long_middle ... ok [INFO] [stdout] test display::section::tests::test_computed_span_str_long_tail ... ok [INFO] [stdout] test display::section::tests::test_computed_tail_str_min_width ... ok [INFO] [stdout] test display::section::tests::test_computed_tail_str_min_width_bad_utf8 ... ok [INFO] [stdout] test display::section::tests::test_computed_tail_str_short_non_ascii ... ok [INFO] [stdout] test display::section::tests::test_computed_tail_str_over_min_width_bad_utf8 ... ok [INFO] [stdout] test display::section::tests::test_computed_tail_str_short_non_ascii_bad_utf8 ... ok [INFO] [stdout] test display::section::tests::test_computed_tail_str_single ... ok [INFO] [stdout] test util::utf8::tests::test_first_codepoint ... ok [INFO] [stdout] test util::utf8::tests::test_char_iter ... ok [INFO] [stdout] test util::utf8::tests::test_last_codepoint ... ok [INFO] [stdout] test display::section::tests::test_computed_span_str_over_min_tail ... ok [INFO] [stdout] test error::expected::tests::test_expected_size ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- error::expected::tests::test_expected_size stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'error::expected::tests::test_expected_size' panicked at src/error/expected/mod.rs:275:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: 208 [INFO] [stdout] right: 216 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55651bd1e192 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x55651bd1e192 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x55651bd1e192 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x55651bd1e192 - ::fmt::hdcfcb6d4c8489523 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x55651bd43403 - core::fmt::rt::Argument::fmt::h2c56b3114963061a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x55651bd43403 - core::fmt::write::h8a494366950f23bb [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x55651bd1b113 - std::io::default_write_fmt::h7b8824096454f323 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x55651bd1b113 - std::io::Write::write_fmt::h4e71294925c334d0 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x55651bd1dfe2 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x55651bd1f709 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x55651bd1f53e - std::panicking::default_hook::h2c66fc99e962531d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x55651bce7b14 - as core::ops::function::Fn>::call::hb6bd65493727d71a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x55651bce7b14 - test::test_main_with_exit_callback::{{closure}}::h60217ec76a0ece4a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x55651bd200de - as core::ops::function::Fn>::call::h318e4efb8c1a5689 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x55651bd200de - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x55651bd1feaa - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x55651bd1e689 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x55651bd1fb3d - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x55651bd41ef0 - core::panicking::panic_fmt::h62f63d096dd276af [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x55651bd421a7 - core::panicking::assert_failed_inner::h102b4539a88470c2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:448:17 [INFO] [stdout] 20: 0x55651bd420f9 - core::panicking::assert_failed::h417a72379c307893 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:403:5 [INFO] [stdout] 21: 0x55651bca62c9 - dangerous::error::expected::tests::test_expected_size::h21d1e447a8459f71 [INFO] [stdout] at /opt/rustwide/workdir/src/error/expected/mod.rs:275:9 [INFO] [stdout] 22: 0x55651bca6257 - dangerous::error::expected::tests::test_expected_size::{{closure}}::h99390c8c882365f4 [INFO] [stdout] at /opt/rustwide/workdir/src/error/expected/mod.rs:273:28 [INFO] [stdout] 23: 0x55651bc9a696 - core::ops::function::FnOnce::call_once::hcb0e126858f31e43 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 24: 0x55651bced37b - core::ops::function::FnOnce::call_once::h1f9474f1347fff52 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x55651bced37b - test::__rust_begin_short_backtrace::ha52ab26e77157f03 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:648:18 [INFO] [stdout] 26: 0x55651bcec4b5 - test::run_test_in_process::{{closure}}::h229c1a11a50b261f [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:74 [INFO] [stdout] 27: 0x55651bcec4b5 - as core::ops::function::FnOnce<()>>::call_once::h78821afbf97b39a9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x55651bcec4b5 - std::panicking::catch_unwind::do_call::h53abf3ed5bd32ba3 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 29: 0x55651bcec4b5 - std::panicking::catch_unwind::h6deb5fe1e91873c9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 30: 0x55651bcec4b5 - std::panic::catch_unwind::hea0829b6b565654b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x55651bcec4b5 - test::run_test_in_process::hdc44dfecea3db21b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:27 [INFO] [stdout] 32: 0x55651bcec4b5 - test::run_test::{{closure}}::h0364ba59bf23f652 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:592:43 [INFO] [stdout] 33: 0x55651bcb00b4 - test::run_test::{{closure}}::h32730b304eec05da [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:622:41 [INFO] [stdout] 34: 0x55651bcb00b4 - std::sys::backtrace::__rust_begin_short_backtrace::h177cb952fc54ad2c [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x55651bcb3a8a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h119d903520007597 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x55651bcb3a8a - as core::ops::function::FnOnce<()>>::call_once::hab88401d606702a6 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x55651bcb3a8a - std::panicking::catch_unwind::do_call::h163fe12cca9901c2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 38: 0x55651bcb3a8a - std::panicking::catch_unwind::he81557d0e17cc1bc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 39: 0x55651bcb3a8a - std::panic::catch_unwind::hc2b8e79c20593955 [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x55651bcb3a8a - std::thread::Builder::spawn_unchecked_::{{closure}}::hfa6b4978e07815cc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x55651bcb3a8a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hddcd7484a13fd793 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 42: 0x55651bd2305f - as core::ops::function::FnOnce>::call_once::h5924238c754de3b8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 43: 0x55651bd2305f - std::sys::pal::unix::thread::Thread::new::thread_start::hb6e99e73da4d28f8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/pal/unix/thread.rs:107:17 [INFO] [stdout] 44: 0x75160d055aa4 - [INFO] [stdout] 45: 0x75160d0e2a34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] error::expected::tests::test_expected_size [INFO] [stdout] [INFO] [stdout] test result: FAILED. 29 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "68badfa8749f2e39b0f7eb28facc9dfb0636a44ff3056072aa7998fe5d721285", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68badfa8749f2e39b0f7eb28facc9dfb0636a44ff3056072aa7998fe5d721285", kill_on_drop: false }` [INFO] [stdout] 68badfa8749f2e39b0f7eb28facc9dfb0636a44ff3056072aa7998fe5d721285