[INFO] fetching crate yaml-rust 0.4.5... [INFO] testing yaml-rust-0.4.5 against 1.85.0 for beta-1.86-1 [INFO] extracting crate yaml-rust 0.4.5 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate yaml-rust 0.4.5 on toolchain 1.85.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate yaml-rust 0.4.5 [INFO] finished tweaking crates.io crate yaml-rust 0.4.5 [INFO] tweaked toml for crates.io crate yaml-rust 0.4.5 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate crates.io crate yaml-rust 0.4.5 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.85.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8364325d78588ae5515f3c55433cd7caf71d3d00b950486314f2c989d31a19fe [INFO] running `Command { std: "docker" "start" "-a" "8364325d78588ae5515f3c55433cd7caf71d3d00b950486314f2c989d31a19fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8364325d78588ae5515f3c55433cd7caf71d3d00b950486314f2c989d31a19fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8364325d78588ae5515f3c55433cd7caf71d3d00b950486314f2c989d31a19fe", kill_on_drop: false }` [INFO] [stdout] 8364325d78588ae5515f3c55433cd7caf71d3d00b950486314f2c989d31a19fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 153bcbd428d152c52cd8ba2a9c348ac850347bc7846e164f147ee545303c3eda [INFO] running `Command { std: "docker" "start" "-a" "153bcbd428d152c52cd8ba2a9c348ac850347bc7846e164f147ee545303c3eda", kill_on_drop: false }` [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling yaml-rust v0.4.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | #![cfg_attr(feature = "cargo-clippy", allow(renamed_and_removed_lints))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | #![cfg_attr(feature = "cargo-clippy", warn(cyclomatic_complexity))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | feature = "cargo-clippy", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/emitter.rs:107:51 [INFO] [stdout] | [INFO] [stdout] 106 | impl<'a> YamlEmitter<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 107 | pub fn new(writer: &'a mut dyn fmt::Write) -> YamlEmitter { [INFO] [stdout] | ^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/yaml.rs:285:12 [INFO] [stdout] | [INFO] [stdout] 285 | #[cfg_attr(feature = "cargo-clippy", allow(should_implement_trait))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `marks` is never read [INFO] [stdout] --> src/parser.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Parser { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 70 | marks: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Parser` 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.94s [INFO] running `Command { std: "docker" "inspect" "153bcbd428d152c52cd8ba2a9c348ac850347bc7846e164f147ee545303c3eda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "153bcbd428d152c52cd8ba2a9c348ac850347bc7846e164f147ee545303c3eda", kill_on_drop: false }` [INFO] [stdout] 153bcbd428d152c52cd8ba2a9c348ac850347bc7846e164f147ee545303c3eda [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7bccd01ca0a0ba2374674c252d09215c52a754633074f4917b6f7a8ecc91e555 [INFO] running `Command { std: "docker" "start" "-a" "7bccd01ca0a0ba2374674c252d09215c52a754633074f4917b6f7a8ecc91e555", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | #![cfg_attr(feature = "cargo-clippy", allow(renamed_and_removed_lints))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | #![cfg_attr(feature = "cargo-clippy", warn(cyclomatic_complexity))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | feature = "cargo-clippy", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/emitter.rs:107:51 [INFO] [stdout] | [INFO] [stdout] 106 | impl<'a> YamlEmitter<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 107 | pub fn new(writer: &'a mut dyn fmt::Write) -> YamlEmitter { [INFO] [stdout] | ^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/yaml.rs:285:12 [INFO] [stdout] | [INFO] [stdout] 285 | #[cfg_attr(feature = "cargo-clippy", allow(should_implement_trait))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `marks` is never read [INFO] [stdout] --> src/parser.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Parser { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 70 | marks: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Parser` 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] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling quickcheck v0.9.2 [INFO] [stderr] Compiling yaml-rust v0.4.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | #![cfg_attr(feature = "cargo-clippy", allow(renamed_and_removed_lints))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | #![cfg_attr(feature = "cargo-clippy", warn(cyclomatic_complexity))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | feature = "cargo-clippy", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/emitter.rs:107:51 [INFO] [stdout] | [INFO] [stdout] 106 | impl<'a> YamlEmitter<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 107 | pub fn new(writer: &'a mut dyn fmt::Write) -> YamlEmitter { [INFO] [stdout] | ^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/yaml.rs:285:12 [INFO] [stdout] | [INFO] [stdout] 285 | #[cfg_attr(feature = "cargo-clippy", allow(should_implement_trait))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> tests/spec_test.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg_attr(feature = "cargo-clippy", allow(enum_variant_names))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `marks` is never read [INFO] [stdout] --> src/parser.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Parser { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 70 | marks: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Parser` 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: panic message is not a string literal [INFO] [stdout] --> src/emitter.rs:368:30 [INFO] [stdout] | [INFO] [stdout] 368 | Err(e) => panic!(format!("{}", e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 368 - Err(e) => panic!(format!("{}", e)), [INFO] [stdout] 368 + Err(e) => panic!("{}", e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/emitter.rs:405:30 [INFO] [stdout] | [INFO] [stdout] 405 | Err(e) => panic!(format!("{}", e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 405 - Err(e) => panic!(format!("{}", e)), [INFO] [stdout] 405 + Err(e) => panic!("{}", e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 9.10s [INFO] running `Command { std: "docker" "inspect" "7bccd01ca0a0ba2374674c252d09215c52a754633074f4917b6f7a8ecc91e555", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bccd01ca0a0ba2374674c252d09215c52a754633074f4917b6f7a8ecc91e555", kill_on_drop: false }` [INFO] [stdout] 7bccd01ca0a0ba2374674c252d09215c52a754633074f4917b6f7a8ecc91e555 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c1b1bfbcc65e86a553df8169b967b488ad263d239c8bafc2f16c68564a09b749 [INFO] running `Command { std: "docker" "start" "-a" "c1b1bfbcc65e86a553df8169b967b488ad263d239c8bafc2f16c68564a09b749", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/lib.rs:40:13 [INFO] [stderr] | [INFO] [stderr] 40 | #![cfg_attr(feature = "cargo-clippy", allow(renamed_and_removed_lints))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/lib.rs:41:13 [INFO] [stderr] | [INFO] [stderr] 41 | #![cfg_attr(feature = "cargo-clippy", warn(cyclomatic_complexity))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/lib.rs:43:5 [INFO] [stderr] | [INFO] [stderr] 43 | feature = "cargo-clippy", [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/emitter.rs:107:51 [INFO] [stderr] | [INFO] [stderr] 106 | impl<'a> YamlEmitter<'a> { [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stderr] 107 | pub fn new(writer: &'a mut dyn fmt::Write) -> YamlEmitter { [INFO] [stderr] | ^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/yaml.rs:285:12 [INFO] [stderr] | [INFO] [stderr] 285 | #[cfg_attr(feature = "cargo-clippy", allow(should_implement_trait))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: field `marks` is never read [INFO] [stderr] --> src/parser.rs:70:5 [INFO] [stderr] | [INFO] [stderr] 66 | pub struct Parser { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 70 | marks: Vec, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Parser` 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: `yaml-rust` (lib) generated 6 warnings [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/emitter.rs:368:30 [INFO] [stderr] | [INFO] [stderr] 368 | Err(e) => panic!(format!("{}", e)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 368 - Err(e) => panic!(format!("{}", e)), [INFO] [stderr] 368 + Err(e) => panic!("{}", e), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/emitter.rs:405:30 [INFO] [stderr] | [INFO] [stderr] 405 | Err(e) => panic!(format!("{}", e)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 405 - Err(e) => panic!(format!("{}", e)), [INFO] [stderr] 405 + Err(e) => panic!("{}", e), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> tests/spec_test.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 9 | #[cfg_attr(feature = "cargo-clippy", allow(enum_variant_names))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `yaml-rust` (lib test) generated 8 warnings (6 duplicates) (run `cargo fix --lib -p yaml-rust --tests` to apply 2 suggestions) [INFO] [stderr] warning: `yaml-rust` (test "spec_test") generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/yaml_rust-6c2996aa6ee89a52) [INFO] [stdout] [INFO] [stdout] running 48 tests [INFO] [stdout] test emitter::test::emit_quoted_bools ... ok [INFO] [stdout] test emitter::test::test_emit_avoid_quotes ... ok [INFO] [stdout] test emitter::test::test_deeply_nested_arrays ... ok [INFO] [stdout] test emitter::test::test_empty_and_nested_compact ... ok [INFO] [stdout] test emitter::test::test_nested_arrays ... ok [INFO] [stdout] test emitter::test::test_nested_hashes ... ok [INFO] [stdout] test scanner::test::test_a_flow_sequence ... ok [INFO] [stdout] test parser::test::test_peek_eq_parse ... ok [INFO] [stdout] test scanner::test::test_block_sequences ... ok [INFO] [stdout] test scanner::test::test_collections_in_mapping ... ok [INFO] [stdout] test scanner::test::test_a_flow_mapping ... ok [INFO] [stdout] test scanner::test::test_collections_in_sequence ... ok [INFO] [stdout] test scanner::test::test_empty ... ok [INFO] [stdout] test scanner::test::test_block_mappings ... ok [INFO] [stdout] test scanner::test::test_explicit_scalar ... ok [INFO] [stdout] test scanner::test::test_plain_scalar_starting_with_indicators_in_block ... ok [INFO] [stdout] test scanner::test::test_plain_scalar_starting_with_indicators_in_flow ... ok [INFO] [stdout] test scanner::test::test_scanner_cr ... ok [INFO] [stdout] test scanner::test::test_scalar ... ok [INFO] [stdout] test scanner::test::test_no_block_sequence_start ... ok [INFO] [stdout] test scanner::test::test_uri ... ok [INFO] [stdout] test scanner::test::test_plain_scalar_containing_indicators_in_block ... ok [INFO] [stdout] test scanner::test::test_uri_escapes ... ok [INFO] [stdout] test emitter::test::test_emit_simple ... ok [INFO] [stdout] test tests::test_fail ... ok [INFO] [stdout] test yaml::test::test_anchor ... ok [INFO] [stdout] test yaml::test::test_bad_anchor ... ok [INFO] [stdout] test yaml::test::test_bad_docstart ... ok [INFO] [stdout] test yaml::test::test_empty_doc ... ok [INFO] [stdout] test yaml::test::test_hash_order ... ok [INFO] [stdout] test emitter::test::test_empty_and_nested ... ok [INFO] [stdout] test yaml::test::test_plain_datatype ... ok [INFO] [stdout] test yaml::test::test_coerce ... ok [INFO] [stdout] test yaml::test::test_plain_datatype_with_into_methods ... ok [INFO] [stdout] test yaml::test::test_issue_65 ... ok [INFO] [stdout] test yaml::test::test_multi_doc ... ok [INFO] [stdout] test yaml::test::test_parser ... ok [INFO] [stdout] test tests::test_api ... ok [INFO] [stdout] test yaml::test::test_github_27 ... ok [INFO] [stdout] test yaml::test::test_indentation_equality ... ok [INFO] [stdout] test yaml::test::test_integer_key ... ok [INFO] [stdout] test yaml::test::test_bad_hyphen ... ok [INFO] [stdout] test emitter::test::test_emit_complex ... ok [INFO] [stdout] test scanner::test::test_spec_ex7_3 ... ok [INFO] [stdout] test scanner::test::test_multiple_documents ... ok [INFO] [stdout] test yaml::test::test_recursion_depth_check_arrays ... ok [INFO] [stdout] test yaml::test::test_two_space_indentations ... ok [INFO] [stdout] test yaml::test::test_recursion_depth_check_objects ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 48 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] Running tests/quickcheck.rs (/opt/rustwide/target/debug/deps/quickcheck-4d95661fd055199e) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_check_weird_keys ... ok [INFO] [stderr] Running tests/spec_test.rs (/opt/rustwide/target/debug/deps/spec_test-bfa9825a0b55e8c9) [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.56s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 93 tests [INFO] [stdout] test test_ex2_13_in_literals_newlines_are_preserved ... ok [INFO] [stdout] test test_ex2_12_compact_nested_mapping ... ok [INFO] [stdout] test test_ex2_17_quoted_scalars ... ok [INFO] [stdout] test test_ex2_1_seq_scalars ... ok [INFO] [stdout] test test_ex2_18_multi_line_flow_scalars ... ok [INFO] [stdout] test test_ex2_23_various_explicit_tags ... ok [INFO] [stdout] test test_ex2_16_indentation_determines_scope ... ok [INFO] [stdout] test test_ex2_11_mapping_between_sequences ... ok [INFO] [stdout] test test_ex2_10_simple_anchor ... ok [INFO] [stdout] test test_ex2_24_global_tags ... ok [INFO] [stdout] test test_ex2_25_unordered_sets ... ok [INFO] [stdout] test test_ex2_26_ordered_mappings ... ok [INFO] [stdout] test test_ex2_14_in_folded_scalars_newlines_become_spaces ... ok [INFO] [stdout] test test_ex2_15_folded_newlines_are_preserved_for_more_indented_and_blank_lines ... ok [INFO] [stdout] test test_ex2_3_mapping_scalars_to_sequences ... ok [INFO] [stdout] test test_ex2_4_sequence_of_mappings ... ok [INFO] [stdout] test test_ex2_7_two_documents_in_a_stream ... ok [INFO] [stdout] test test_ex2_9_single_document_with_two_comments ... ok [INFO] [stdout] test test_ex2_27_invoice ... ok [INFO] [stdout] test test_ex2_8_play_by_play_feed ... ok [INFO] [stdout] test test_ex5_6_node_property_indicators ... ok [INFO] [stdout] test test_ex5_7_block_scalar_indicators ... ok [INFO] [stdout] test test_ex2_2_mapping_scalars_to_scalars ... ok [INFO] [stdout] test test_ex5_8_quoted_scalar_indicators ... ok [INFO] [stdout] test test_ex2_28_log_file ... ok [INFO] [stdout] test test_ex6_12_separation_spaces_ii ... ok [INFO] [stdout] test test_ex2_6_mapping_of_mappings ... ok [INFO] [stdout] test test_ex5_3_block_structure_indicators ... ok [INFO] [stdout] test test_ex5_13_escaped_characters ... ok [INFO] [stdout] test test_ex6_18_primary_tag_handle ... ok [INFO] [stdout] test test_ex2_5_sequence_of_sequences ... ok [INFO] [stdout] test test_ex6_14_yaml_directive ... ok [INFO] [stdout] test test_ex6_16_tag_directive ... ok [INFO] [stdout] test test_ex5_12_tabs_and_spaces ... ok [INFO] [stdout] test test_ex6_19_secondary_tag_handle ... ok [INFO] [stdout] test test_ex5_11_line_break_characters ... ok [INFO] [stdout] test test_ex5_4_flow_structure_indicators ... ok [INFO] [stdout] test test_ex6_1_indentation_spaces ... ok [INFO] [stdout] test test_ex6_20_tag_handles ... ok [INFO] [stdout] test test_ex6_21_local_tag_prefix ... ok [INFO] [stdout] test test_ex6_22_global_tag_prefix ... ok [INFO] [stdout] test test_ex6_23_node_properties ... ok [INFO] [stdout] test test_ex6_26_tag_shorthands ... ok [INFO] [stdout] test test_ex6_24_verbatim_tags ... ok [INFO] [stdout] test test_ex6_2_indentation_indicators ... ok [INFO] [stdout] test test_ex6_4_line_prefixes ... ok [INFO] [stdout] test test_ex6_3_separation_spaces ... ok [INFO] [stdout] test test_ex6_8_flow_folding ... ok [INFO] [stdout] test test_ex6_5_empty_lines ... ok [INFO] [stdout] test test_ex6_6_line_folding ... ok [INFO] [stdout] test test_ex6_9_separated_comment ... ok [INFO] [stdout] test test_ex7_18_flow_mapping_adjacent_values ... ok [INFO] [stdout] test test_ex7_14_flow_sequence_entries ... ok [INFO] [stdout] test test_ex7_1_alias_nodes ... ok [INFO] [stdout] test test_ex7_16_flow_mapping_entries ... ok [INFO] [stdout] test test_ex7_23_flow_content ... ok [INFO] [stdout] test test_ex7_19_single_pair_flow_mappings ... ok [INFO] [stdout] test test_ex6_28_non_specific_tags ... ok [INFO] [stdout] test test_ex7_4_double_quoted_implicit_keys ... ok [INFO] [stdout] test test_ex6_29_node_anchors ... ok [INFO] [stdout] test test_ex6_7_block_folding ... ok [INFO] [stdout] test test_ex7_24_flow_nodes ... ok [INFO] [stdout] test test_ex7_5_double_quoted_line_breaks ... ok [INFO] [stdout] test test_ex7_11_plain_implicit_keys ... ok [INFO] [stdout] test test_ex7_12_plain_lines ... ok [INFO] [stdout] test test_ex7_13_flow_sequence ... ok [INFO] [stdout] test test_ex7_15_flow_mappings ... ok [INFO] [stdout] test test_ex6_13_reserved_directives ... ok [INFO] [stdout] test test_ex7_20_single_pair_explicit_entry ... ok [INFO] [stdout] test test_ex7_3_completely_empty_nodes ... ok [INFO] [stdout] test test_ex7_7_single_quoted_characters ... ok [INFO] [stdout] test test_ex7_8_single_quoted_implicit_keys ... ok [INFO] [stdout] test test_ex8_12_empty_separation_lines ... ok [INFO] [stdout] test test_ex7_9_single_quoted_lines ... ok [INFO] [stdout] test test_ex8_13_final_empty_lines ... ok [INFO] [stdout] test test_ex8_14_block_sequence ... ok [INFO] [stdout] test test_ex8_18_implicit_block_mapping_entries ... ok [INFO] [stdout] test test_ex8_16_block_mappings ... ok [INFO] [stdout] test test_ex8_19_compact_block_mappings ... ok [INFO] [stdout] test test_ex8_1_block_scalar_header ... ok [INFO] [stdout] test test_ex8_22_block_collection_nodes ... ok [INFO] [stdout] test test_ex8_11_more_indented_lines ... ok [INFO] [stdout] test test_ex8_17_explicit_block_mapping_entries ... ok [INFO] [stdout] test test_ex8_20_block_node_types ... ok [INFO] [stdout] test test_ex8_4_chomping_final_line_break ... ok [INFO] [stdout] test test_ex8_6_empty_scalar_chomping ... ok [INFO] [stdout] test test_ex7_6_double_quoted_lines ... ok [INFO] [stdout] test test_ex8_15_block_sequence_entry_types ... ok [INFO] [stdout] test test_ex8_10_folded_lines ... ok [INFO] [stdout] test test_ex8_7_literal_scalar ... ok [INFO] [stdout] test test_ex8_8_literal_content ... ok [INFO] [stdout] test test_ex8_9_folded_scalar ... ok [INFO] [stderr] Running tests/test_round_trip.rs (/opt/rustwide/target/debug/deps/test_round_trip-e98ac714b39729eb) [INFO] [stdout] test test_mapvec_legal ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 93 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test test_colon_in_string ... ok [INFO] [stderr] Doc-tests yaml_rust [INFO] [stdout] test test_issue133 ... ok [INFO] [stdout] test test_escape_character ... ok [INFO] [stdout] test test_numberlike_strings ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - (line 18) ... ok [INFO] [stdout] test src/yaml.rs - yaml::Yaml (line 17) ... ok [INFO] [stdout] test src/lib.rs - (line 26) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.59s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c1b1bfbcc65e86a553df8169b967b488ad263d239c8bafc2f16c68564a09b749", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1b1bfbcc65e86a553df8169b967b488ad263d239c8bafc2f16c68564a09b749", kill_on_drop: false }` [INFO] [stdout] c1b1bfbcc65e86a553df8169b967b488ad263d239c8bafc2f16c68564a09b749