[INFO] fetching crate kube-conf 0.2.0... [INFO] testing kube-conf-0.2.0 against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759-retry2 [INFO] extracting crate kube-conf 0.2.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate kube-conf 0.2.0 [INFO] finished tweaking crates.io crate kube-conf 0.2.0 [INFO] tweaked toml for crates.io crate kube-conf 0.2.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate kube-conf 0.2.0 on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 27 packages to latest compatible versions [INFO] [stderr] Adding serde_yaml v0.8.26 (available: v0.9.34+deprecated) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b6e802cac6f0420b16095df6d8f78f81196434fa347008027cf4e8f066dc9af9 [INFO] running `Command { std: "docker" "start" "-a" "b6e802cac6f0420b16095df6d8f78f81196434fa347008027cf4e8f066dc9af9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b6e802cac6f0420b16095df6d8f78f81196434fa347008027cf4e8f066dc9af9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6e802cac6f0420b16095df6d8f78f81196434fa347008027cf4e8f066dc9af9", kill_on_drop: false }` [INFO] [stdout] b6e802cac6f0420b16095df6d8f78f81196434fa347008027cf4e8f066dc9af9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ebfc37504a5f36ff237a4257c0580ab28a58c7b911bd48a44fd7ec8879991cfa [INFO] running `Command { std: "docker" "start" "-a" "ebfc37504a5f36ff237a4257c0580ab28a58c7b911bd48a44fd7ec8879991cfa", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling gimli v0.32.3 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling addr2line v0.25.1 [INFO] [stderr] Compiling serde_yaml v0.8.26 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling kube-conf v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/lib.rs:84:3 [INFO] [stdout] | [INFO] [stdout] 84 | #[serde(rename_all = "kebab-case")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 85 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] = note: `#[warn(legacy_derive_helpers)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `has_error_description_deprecated` [INFO] [stdout] --> src/lib.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | / error_chain! { [INFO] [stdout] 59 | | foreign_links { [INFO] [stdout] 60 | | Yaml(serde_yaml::Error) #[doc = "Error when parsing a yaml file"]; [INFO] [stdout] ... | [INFO] [stdout] 70 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 58.46s [INFO] running `Command { std: "docker" "inspect" "ebfc37504a5f36ff237a4257c0580ab28a58c7b911bd48a44fd7ec8879991cfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebfc37504a5f36ff237a4257c0580ab28a58c7b911bd48a44fd7ec8879991cfa", kill_on_drop: false }` [INFO] [stdout] ebfc37504a5f36ff237a4257c0580ab28a58c7b911bd48a44fd7ec8879991cfa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ddcc9afeff7d98da571d160567df4dffdeac9a773f223c45cbc1cb1e276dcb27 [INFO] running `Command { std: "docker" "start" "-a" "ddcc9afeff7d98da571d160567df4dffdeac9a773f223c45cbc1cb1e276dcb27", kill_on_drop: false }` [INFO] [stderr] Compiling kube-conf v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/lib.rs:84:3 [INFO] [stdout] | [INFO] [stdout] 84 | #[serde(rename_all = "kebab-case")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 85 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] = note: `#[warn(legacy_derive_helpers)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `has_error_description_deprecated` [INFO] [stdout] --> src/lib.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | / error_chain! { [INFO] [stdout] 59 | | foreign_links { [INFO] [stdout] 60 | | Yaml(serde_yaml::Error) #[doc = "Error when parsing a yaml file"]; [INFO] [stdout] ... | [INFO] [stdout] 70 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/lib.rs:84:3 [INFO] [stdout] | [INFO] [stdout] 84 | #[serde(rename_all = "kebab-case")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 85 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] = note: `#[warn(legacy_derive_helpers)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `has_error_description_deprecated` [INFO] [stdout] --> src/lib.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | / error_chain! { [INFO] [stdout] 59 | | foreign_links { [INFO] [stdout] 60 | | Yaml(serde_yaml::Error) #[doc = "Error when parsing a yaml file"]; [INFO] [stdout] ... | [INFO] [stdout] 70 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.97s [INFO] running `Command { std: "docker" "inspect" "ddcc9afeff7d98da571d160567df4dffdeac9a773f223c45cbc1cb1e276dcb27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddcc9afeff7d98da571d160567df4dffdeac9a773f223c45cbc1cb1e276dcb27", kill_on_drop: false }` [INFO] [stdout] ddcc9afeff7d98da571d160567df4dffdeac9a773f223c45cbc1cb1e276dcb27 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 19d5cd96c613d62b3f497b5ce76532ab0655820351ce7ee2c667988109dbbfbc [INFO] running `Command { std: "docker" "start" "-a" "19d5cd96c613d62b3f497b5ce76532ab0655820351ce7ee2c667988109dbbfbc", kill_on_drop: false }` [INFO] [stderr] warning: derive helper attribute is used before it is introduced [INFO] [stderr] --> src/lib.rs:84:3 [INFO] [stderr] | [INFO] [stderr] 84 | #[serde(rename_all = "kebab-case")] [INFO] [stderr] | ^^^^^ [INFO] [stderr] 85 | #[derive(Debug, Clone, Deserialize)] [INFO] [stderr] | ----------- the attribute is introduced here [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79202 [INFO] [stderr] = note: `#[warn(legacy_derive_helpers)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `has_error_description_deprecated` [INFO] [stderr] --> src/lib.rs:58:5 [INFO] [stderr] | [INFO] [stderr] 58 | / error_chain! { [INFO] [stderr] 59 | | foreign_links { [INFO] [stderr] 60 | | Yaml(serde_yaml::Error) #[doc = "Error when parsing a yaml file"]; [INFO] [stderr] ... | [INFO] [stderr] 70 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `kube-conf` (lib) generated 2 warnings [INFO] [stderr] warning: `kube-conf` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/kube_conf-687dcfdf44ac66ec) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/test_config.rs (/opt/rustwide/target/debug/deps/test_config-a48de88f52456e86) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test it_gets_the_cluster_from_a_context ... ok [INFO] [stderr] Doc-tests kube_conf [INFO] [stdout] test it_loads_using_default ... ok [INFO] [stdout] test it_returns_error_when_no_file_is_found ... ok [INFO] [stdout] test it_returns_the_cluster_set ... ok [INFO] [stdout] test it_gets_the_current_context ... ok [INFO] [stdout] test it_gets_the_user_from_a_context ... ok [INFO] [stdout] test it_returns_the_context_set ... ok [INFO] [stdout] test it_loads_using_kubeconfig_env_var ... ok [INFO] [stdout] test it_returns_the_users_set ... ok [INFO] [stdout] test it_returns_the_preferences_map ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - (line 23) ... ok [INFO] [stdout] test src/lib.rs - (line 10) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.77s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "19d5cd96c613d62b3f497b5ce76532ab0655820351ce7ee2c667988109dbbfbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19d5cd96c613d62b3f497b5ce76532ab0655820351ce7ee2c667988109dbbfbc", kill_on_drop: false }` [INFO] [stdout] 19d5cd96c613d62b3f497b5ce76532ab0655820351ce7ee2c667988109dbbfbc