[INFO] fetching crate ctflag 0.1.2... [INFO] testing ctflag-0.1.2 against 1.60.0 for beta-1.61-1 [INFO] extracting crate ctflag 0.1.2 into /workspace/builds/worker-18/source [INFO] validating manifest of crates.io crate ctflag 0.1.2 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 ctflag 0.1.2 [INFO] finished tweaking crates.io crate ctflag 0.1.2 [INFO] tweaked toml for crates.io crate ctflag 0.1.2 written to /workspace/builds/worker-18/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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ctflag_derive v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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] c965691b231e84a87effe24c843ae3ffcc9641ef30de0a5095f16dfbf53a212d [INFO] running `Command { std: "docker" "start" "-a" "c965691b231e84a87effe24c843ae3ffcc9641ef30de0a5095f16dfbf53a212d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c965691b231e84a87effe24c843ae3ffcc9641ef30de0a5095f16dfbf53a212d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c965691b231e84a87effe24c843ae3ffcc9641ef30de0a5095f16dfbf53a212d", kill_on_drop: false }` [INFO] [stdout] c965691b231e84a87effe24c843ae3ffcc9641ef30de0a5095f16dfbf53a212d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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] fb46cb801e6cc87b15377e87e3ed3d801e43ea472587c260e297c5f091e18808 [INFO] running `Command { std: "docker" "start" "-a" "fb46cb801e6cc87b15377e87e3ed3d801e43ea472587c260e297c5f091e18808", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling ctflag_derive v0.1.2 [INFO] [stderr] Compiling ctflag v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.06s [INFO] running `Command { std: "docker" "inspect" "fb46cb801e6cc87b15377e87e3ed3d801e43ea472587c260e297c5f091e18808", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb46cb801e6cc87b15377e87e3ed3d801e43ea472587c260e297c5f091e18808", kill_on_drop: false }` [INFO] [stdout] fb46cb801e6cc87b15377e87e3ed3d801e43ea472587c260e297c5f091e18808 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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] b486c0e122a111e1b0ecd32987c8bec4573dc4bbb9c40ff5dbab85630645107f [INFO] running `Command { std: "docker" "start" "-a" "b486c0e122a111e1b0ecd32987c8bec4573dc4bbb9c40ff5dbab85630645107f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling ctflag v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `is_active` [INFO] [stdout] --> examples/simple.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | is_active: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `MyFlags` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> examples/simple.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Flags)] [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: `opt_address` [INFO] [stdout] --> examples/simple.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | opt_address: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MyFlags` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> examples/simple.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Flags)] [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: `address` [INFO] [stdout] --> examples/simple.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | address: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MyFlags` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> examples/simple.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Flags)] [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: `number` [INFO] [stdout] --> examples/simple.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | number: i64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MyFlags` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> examples/simple.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Flags)] [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: `size` [INFO] [stdout] --> examples/simple.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | size: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MyFlags` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> examples/simple.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Flags)] [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: `thing` [INFO] [stdout] --> examples/simple.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | thing: Thing, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MyFlags` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> examples/simple.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Flags)] [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: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.55s [INFO] running `Command { std: "docker" "inspect" "b486c0e122a111e1b0ecd32987c8bec4573dc4bbb9c40ff5dbab85630645107f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b486c0e122a111e1b0ecd32987c8bec4573dc4bbb9c40ff5dbab85630645107f", kill_on_drop: false }` [INFO] [stdout] b486c0e122a111e1b0ecd32987c8bec4573dc4bbb9c40ff5dbab85630645107f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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] 5d12c6abba97db05b0f2beca5df14556cec3e1ad0c47f7a683d09efba4fc3f52 [INFO] running `Command { std: "docker" "start" "-a" "5d12c6abba97db05b0f2beca5df14556cec3e1ad0c47f7a683d09efba4fc3f52", kill_on_drop: false }` [INFO] [stderr] warning: field is never read: `is_active` [INFO] [stderr] --> examples/simple.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | is_active: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `MyFlags` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> examples/simple.rs:18:10 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Debug, Flags)] [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: `opt_address` [INFO] [stderr] --> examples/simple.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | opt_address: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `MyFlags` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> examples/simple.rs:18:10 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Debug, Flags)] [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: `address` [INFO] [stderr] --> examples/simple.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | address: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `MyFlags` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> examples/simple.rs:18:10 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Debug, Flags)] [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: `number` [INFO] [stderr] --> examples/simple.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | number: i64, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `MyFlags` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> examples/simple.rs:18:10 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Debug, Flags)] [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: `size` [INFO] [stderr] --> examples/simple.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 33 | size: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `MyFlags` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> examples/simple.rs:18:10 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Debug, Flags)] [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: `thing` [INFO] [stderr] --> examples/simple.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 36 | thing: Thing, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `MyFlags` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> examples/simple.rs:18:10 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Debug, Flags)] [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: `ctflag` (example "simple") generated 6 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/ctflag-ae6118015b8221cd) [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test internal::tests::test_flag_iterator ... ok [INFO] [stdout] test tests::test_bad_int ... ok [INFO] [stdout] test tests::test_bad_bool ... ok [INFO] [stdout] test tests::test_bool_using_eq ... ok [INFO] [stdout] test tests::test_bool_using_space ... ok [INFO] [stdout] test tests::test_custom_type_using_eq ... ok [INFO] [stdout] test tests::test_custom_defaults ... ok [INFO] [stdout] test tests::test_custom_type_using_space ... ok [INFO] [stdout] test tests::test_defaults ... ok [INFO] [stdout] test tests::test_description ... ok [INFO] [stdout] test tests::test_int ... ok [INFO] [stdout] test tests::test_missing_value ... ok [INFO] [stdout] test tests::test_option_using_eq ... ok [INFO] [stdout] test tests::test_option_using_space ... ok [INFO] [stdout] test tests::test_short_name_using_eq ... ok [INFO] [stdout] test tests::test_short_name_using_space ... ok [INFO] [stdout] test tests::test_using_eq ... ok [INFO] [stdout] test tests::test_using_space ... ok [INFO] [stdout] test tests::test_bad_default - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stderr] Doc-tests ctflag [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test src/lib.rs - (line 70) ... ok [INFO] [stdout] test src/lib.rs - Flags (line 164) ... ok [INFO] [stdout] test src/lib.rs - (line 30) ... ok [INFO] [stdout] test src/lib.rs - FromArg (line 265) ... ok [INFO] [stdout] test src/lib.rs - Flags::description (line 221) ... ok [INFO] [stdout] test src/lib.rs - (line 93) ... ok [INFO] [stdout] test src/lib.rs - Flags::from_args (line 196) ... ok [INFO] [stdout] test src/lib.rs - (line 43) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.61s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5d12c6abba97db05b0f2beca5df14556cec3e1ad0c47f7a683d09efba4fc3f52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d12c6abba97db05b0f2beca5df14556cec3e1ad0c47f7a683d09efba4fc3f52", kill_on_drop: false }` [INFO] [stdout] 5d12c6abba97db05b0f2beca5df14556cec3e1ad0c47f7a683d09efba4fc3f52