[INFO] fetching crate ctflag 0.1.2... [INFO] testing ctflag-0.1.2 against beta-2022-04-10 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 beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1e26c4704bdef9c8f42b81d7b8bf3303fb8285886ae957215f9ea1a223e1d30e [INFO] running `Command { std: "docker" "start" "-a" "1e26c4704bdef9c8f42b81d7b8bf3303fb8285886ae957215f9ea1a223e1d30e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e26c4704bdef9c8f42b81d7b8bf3303fb8285886ae957215f9ea1a223e1d30e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e26c4704bdef9c8f42b81d7b8bf3303fb8285886ae957215f9ea1a223e1d30e", kill_on_drop: false }` [INFO] [stdout] 1e26c4704bdef9c8f42b81d7b8bf3303fb8285886ae957215f9ea1a223e1d30e [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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb41c46baee500af20df4bc3b54f64b48fef3811d035f6e10d47cf7a52e4bd53 [INFO] running `Command { std: "docker" "start" "-a" "eb41c46baee500af20df4bc3b54f64b48fef3811d035f6e10d47cf7a52e4bd53", kill_on_drop: false }` [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 8.87s [INFO] running `Command { std: "docker" "inspect" "eb41c46baee500af20df4bc3b54f64b48fef3811d035f6e10d47cf7a52e4bd53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb41c46baee500af20df4bc3b54f64b48fef3811d035f6e10d47cf7a52e4bd53", kill_on_drop: false }` [INFO] [stdout] eb41c46baee500af20df4bc3b54f64b48fef3811d035f6e10d47cf7a52e4bd53 [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" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9723c77566b81cae44f3e2e7a4d1b13a3e099f62f3d8ddf5a805356f1469e425 [INFO] running `Command { std: "docker" "start" "-a" "9723c77566b81cae44f3e2e7a4d1b13a3e099f62f3d8ddf5a805356f1469e425", kill_on_drop: false }` [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.13s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/ctflag-cc37e76b64425520) [INFO] running `Command { std: "docker" "inspect" "9723c77566b81cae44f3e2e7a4d1b13a3e099f62f3d8ddf5a805356f1469e425", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9723c77566b81cae44f3e2e7a4d1b13a3e099f62f3d8ddf5a805356f1469e425", kill_on_drop: false }` [INFO] [stdout] 9723c77566b81cae44f3e2e7a4d1b13a3e099f62f3d8ddf5a805356f1469e425 [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" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0d41bd645b9b1da78f2ecb29c94b62f33ebbeb50a333275216460da8b23f8d5c [INFO] running `Command { std: "docker" "start" "-a" "0d41bd645b9b1da78f2ecb29c94b62f33ebbeb50a333275216460da8b23f8d5c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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.50s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ctflag-cc37e76b64425520) [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test internal::tests::test_flag_iterator ... ok [INFO] [stdout] test tests::test_bad_bool ... ok [INFO] [stdout] test tests::test_bad_int ... 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_defaults ... ok [INFO] [stdout] test tests::test_custom_type_using_eq ... ok [INFO] [stdout] test tests::test_defaults ... ok [INFO] [stdout] test tests::test_custom_type_using_space ... ok [INFO] [stdout] test tests::test_int ... ok [INFO] [stdout] test tests::test_description ... 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] [stderr] Doc-tests ctflag [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.13s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test src/lib.rs - Flags (line 164) ... ok [INFO] [stdout] test src/lib.rs - Flags::description (line 221) ... ok [INFO] [stdout] test src/lib.rs - (line 70) ... ok [INFO] [stdout] test src/lib.rs - FromArg (line 265) ... ok [INFO] [stdout] test src/lib.rs - (line 30) ... ok [INFO] [stdout] test src/lib.rs - (line 93) ... ok [INFO] [stdout] test src/lib.rs - (line 43) ... ok [INFO] [stdout] test src/lib.rs - Flags::from_args (line 196) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.87s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0d41bd645b9b1da78f2ecb29c94b62f33ebbeb50a333275216460da8b23f8d5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d41bd645b9b1da78f2ecb29c94b62f33ebbeb50a333275216460da8b23f8d5c", kill_on_drop: false }` [INFO] [stdout] 0d41bd645b9b1da78f2ecb29c94b62f33ebbeb50a333275216460da8b23f8d5c