[INFO] fetching crate kube-conf 0.2.0... [INFO] testing kube-conf-0.2.0 against 1.101.0-beta.1+cargoflags=--release for beta-release-1.101-3 [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 1.101.0-beta.1 [INFO] running `"cargo" "+1.101.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"` [INFO] running `"cargo" "+1.101.0-beta.1" "generate-lockfile" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 27 packages to highest compatible versions [INFO] [stderr] Adding serde_yaml v0.8.26 (available: v0.9.34+deprecated) [INFO] running `"cargo" "+1.101.0-beta.1" "fetch" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: `package.homepage` is redundant with `package.repository` [INFO] [stderr] --> Cargo.toml:22:12 [INFO] [stderr] | [INFO] [stderr] 22 | homepage = "https://github.com/esphen/kube-conf" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 26 | repository = "https://github.com/esphen/kube-conf" [INFO] [stderr] | ------------------------------------- [INFO] [stderr] | [INFO] [stderr] = note: `cargo::redundant_homepage` is set to `warn` by default [INFO] [stderr] help: consider removing `package.homepage` [INFO] [stderr] warning: `kube-conf` (manifest) generated 1 warning [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"` [INFO] [stdout] 5636be11dd04612e3f50c5407e45004eb4f963b011850e70d1e10e4b8f419033 [INFO] running `"docker" "start" "5636be11dd04612e3f50c5407e45004eb4f963b011850e70d1e10e4b8f419033"` [INFO] running `"docker" "inspect" "5636be11dd04612e3f50c5407e45004eb4f963b011850e70d1e10e4b8f419033"` [INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5636be11dd04612e3f50c5407e45004eb4f963b011850e70d1e10e4b8f419033" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "metadata" "--no-deps" "--format-version=1"` [INFO] running `"docker" "inspect" "5636be11dd04612e3f50c5407e45004eb4f963b011850e70d1e10e4b8f419033"` [INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5636be11dd04612e3f50c5407e45004eb4f963b011850e70d1e10e4b8f419033" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "build" "--frozen" "--message-format=json" "--release"` [INFO] [stderr] warning: `package.homepage` is redundant with `package.repository` [INFO] [stderr] --> Cargo.toml:22:12 [INFO] [stderr] | [INFO] [stderr] 22 | homepage = "https://github.com/esphen/kube-conf" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 26 | repository = "https://github.com/esphen/kube-conf" [INFO] [stderr] | ------------------------------------- [INFO] [stderr] | [INFO] [stderr] = note: `cargo::redundant_homepage` is set to `warn` by default [INFO] [stderr] help: consider removing `package.homepage` [INFO] [stderr] warning: `kube-conf` (manifest) generated 1 warning [INFO] [stderr] Compiling proc-macro2 v1.0.107 [INFO] [stderr] Compiling serde_core v1.0.229 [INFO] [stderr] Compiling quote v1.0.47 [INFO] [stderr] Compiling libc v0.2.191 [INFO] [stderr] Compiling autocfg v1.5.1 [INFO] [stderr] Compiling memchr v2.8.3 [INFO] [stderr] Compiling gimli v0.34.0 [INFO] [stderr] Compiling serde v1.0.229 [INFO] [stderr] Compiling rustc-demangle v0.1.28 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling ryu v1.0.23 [INFO] [stderr] Compiling miniz_oxide v0.9.1 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling object v0.40.0 [INFO] [stderr] Compiling syn v3.0.10 [INFO] [stderr] Compiling serde_derive v1.0.229 [INFO] [stderr] Compiling addr2line v0.27.1 [INFO] [stderr] Compiling serde_yaml v0.8.26 [INFO] [stderr] Compiling backtrace v0.3.77 [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)]` (part of `#[warn(future_incompatible)]`) 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 34 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] = 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 `release` profile [optimized] target(s) in 22.73s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: kube-conf v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `"docker" "inspect" "5636be11dd04612e3f50c5407e45004eb4f963b011850e70d1e10e4b8f419033"` [INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5636be11dd04612e3f50c5407e45004eb4f963b011850e70d1e10e4b8f419033" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release"` [INFO] [stderr] warning: `package.homepage` is redundant with `package.repository` [INFO] [stderr] --> Cargo.toml:22:12 [INFO] [stderr] | [INFO] [stderr] 22 | homepage = "https://github.com/esphen/kube-conf" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 26 | repository = "https://github.com/esphen/kube-conf" [INFO] [stderr] | ------------------------------------- [INFO] [stderr] | [INFO] [stderr] = note: `cargo::redundant_homepage` is set to `warn` by default [INFO] [stderr] help: consider removing `package.homepage` [INFO] [stderr] warning: `kube-conf` (manifest) generated 1 warning [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)]` (part of `#[warn(future_incompatible)]`) 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 34 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] = 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)]` (part of `#[warn(future_incompatible)]`) 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 34 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] = 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 `release` profile [optimized] target(s) in 1.22s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: kube-conf v0.2.0 (/opt/rustwide/workdir) [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 `"docker" "inspect" "5636be11dd04612e3f50c5407e45004eb4f963b011850e70d1e10e4b8f419033"` [INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5636be11dd04612e3f50c5407e45004eb4f963b011850e70d1e10e4b8f419033" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--release"` [INFO] [stderr] warning: `package.homepage` is redundant with `package.repository` [INFO] [stderr] --> Cargo.toml:22:12 [INFO] [stderr] | [INFO] [stderr] 22 | homepage = "https://github.com/esphen/kube-conf" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 26 | repository = "https://github.com/esphen/kube-conf" [INFO] [stderr] | ------------------------------------- [INFO] [stderr] | [INFO] [stderr] = note: `cargo::redundant_homepage` is set to `warn` by default [INFO] [stderr] help: consider removing `package.homepage` [INFO] [stderr] warning: `kube-conf` (manifest) generated 1 warning [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)]` (part of `#[warn(future_incompatible)]`) 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 34 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] = 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 `release` profile [optimized] target(s) in 0.04s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: kube-conf v0.2.0 (/opt/rustwide/workdir) [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/release/build/kube-conf/1c40f718a49483f3/out/kube_conf-1c40f718a49483f3) [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/release/build/kube-conf/6c6004506b87ab08/out/test_config-6c6004506b87ab08) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test it_gets_the_user_from_a_context ... ok [INFO] [stdout] test it_returns_the_preferences_map ... ok [INFO] [stdout] test it_returns_the_users_set ... ok [INFO] [stdout] test it_gets_the_cluster_from_a_context ... ok [INFO] [stdout] test it_gets_the_current_context ... ok [INFO] [stdout] test it_returns_the_cluster_set ... ok [INFO] [stdout] test it_returns_the_context_set ... ok [INFO] [stdout] test it_returns_error_when_no_file_is_found ... ok [INFO] [stdout] test it_loads_using_default ... FAILED [INFO] [stdout] test it_loads_using_kubeconfig_env_var ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- it_loads_using_default stdout ---- [INFO] [stdout] Error: Error(MissingConfigFile("/path/that/does/not/exist"), State { next_error: Some(Os { code: 2, kind: NotFound, message: "No such file or directory" }), backtrace: InternalBacktrace { backtrace: Some( 0: ::create [INFO] [stdout] 1: ::new [INFO] [stdout] 2: as kube_conf::errors::ResultExt>::chain_err::<::load<&alloc::string::String>::{closure#0}, kube_conf::errors::ErrorKind> [INFO] [stdout] 3: ::load::<&alloc::string::String> [INFO] [stdout] 4: ::load_default [INFO] [stdout] 5: >::call_once [INFO] [stdout] 6: test::__rust_begin_short_backtrace::, fn() -> core::result::Result<(), alloc::string::String>> [INFO] [stdout] 7: test::run_test::{closure#0} [INFO] [stdout] 8: std::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 9: ::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 10: ::new::thread_start [INFO] [stdout] 11: [INFO] [stdout] 12: clone [INFO] [stdout] ) } }) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] it_loads_using_default [INFO] [stdout] [INFO] [stdout] test result: FAILED. 9 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test test_config` [INFO] running `"docker" "inspect" "5636be11dd04612e3f50c5407e45004eb4f963b011850e70d1e10e4b8f419033"` [INFO] running `"docker" "rm" "-f" "5636be11dd04612e3f50c5407e45004eb4f963b011850e70d1e10e4b8f419033"` [INFO] [stdout] 5636be11dd04612e3f50c5407e45004eb4f963b011850e70d1e10e4b8f419033