[INFO] cloning repository https://github.com/toadslop/aws_config_mod [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/toadslop/aws_config_mod" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftoadslop%2Faws_config_mod", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftoadslop%2Faws_config_mod'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a462a3771e4a1794f9d5db723436459dbeda5898 [INFO] testing toadslop/aws_config_mod against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftoadslop%2Faws_config_mod" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/toadslop/aws_config_mod [INFO] finished tweaking git repo https://github.com/toadslop/aws_config_mod [INFO] tweaked toml for git repo https://github.com/toadslop/aws_config_mod written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/toadslop/aws_config_mod on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/toadslop/aws_config_mod 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ecebd3f8e9af75729a4490c257689614b934c507a18dbed16da5a073f0c205f0 [INFO] running `Command { std: "docker" "start" "-a" "ecebd3f8e9af75729a4490c257689614b934c507a18dbed16da5a073f0c205f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ecebd3f8e9af75729a4490c257689614b934c507a18dbed16da5a073f0c205f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecebd3f8e9af75729a4490c257689614b934c507a18dbed16da5a073f0c205f0", kill_on_drop: false }` [INFO] [stdout] ecebd3f8e9af75729a4490c257689614b934c507a18dbed16da5a073f0c205f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 354e82d414a7bd0f32ee31b66b4c43b1f522a873a8d4da12def409513cf040c6 [INFO] running `Command { std: "docker" "start" "-a" "354e82d414a7bd0f32ee31b66b4c43b1f522a873a8d4da12def409513cf040c6", kill_on_drop: false }` [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling aws_config_mod v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.34s [INFO] running `Command { std: "docker" "inspect" "354e82d414a7bd0f32ee31b66b4c43b1f522a873a8d4da12def409513cf040c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "354e82d414a7bd0f32ee31b66b4c43b1f522a873a8d4da12def409513cf040c6", kill_on_drop: false }` [INFO] [stdout] 354e82d414a7bd0f32ee31b66b4c43b1f522a873a8d4da12def409513cf040c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1146530250cde198aedfb0d12a98946cb3690cfe880b141df343a401e78e3812 [INFO] running `Command { std: "docker" "start" "-a" "1146530250cde198aedfb0d12a98946cb3690cfe880b141df343a401e78e3812", kill_on_drop: false }` [INFO] [stderr] Compiling aws_config_mod v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.58s [INFO] running `Command { std: "docker" "inspect" "1146530250cde198aedfb0d12a98946cb3690cfe880b141df343a401e78e3812", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1146530250cde198aedfb0d12a98946cb3690cfe880b141df343a401e78e3812", kill_on_drop: false }` [INFO] [stdout] 1146530250cde198aedfb0d12a98946cb3690cfe880b141df343a401e78e3812 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 79bd06874abd47a3bfc56a4596f27dd6aa952cd6d4ea202aa4f7cc79ad3c8845 [INFO] running `Command { std: "docker" "start" "-a" "79bd06874abd47a3bfc56a4596f27dd6aa952cd6d4ea202aa4f7cc79ad3c8845", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/aws_config_mod-ea6be4e80c9cbff4) [INFO] [stdout] [INFO] [stdout] running 29 tests [INFO] [stdout] test model::config_file::test::empty_string_is_valid_config ... ok [INFO] [stdout] test model::config_file::test::parses_sample_config2 ... ok [INFO] [stdout] test model::indent::test::beginning_of_a_comment_is_not_indent ... ok [INFO] [stdout] test model::indent::test::empty_string_is_not_indent ... ok [INFO] [stdout] test model::config_file::test::parses_sample_config ... ok [INFO] [stdout] test model::nested_setting::test::parses_a_setting_no_spaces ... ok [INFO] [stdout] test model::section::test::leading_comment_on_section ... ok [INFO] [stdout] test model::section::test::multiple_leading_comment_on_section ... ok [INFO] [stdout] test model::config_file::test::multiline_whitespace_is_valid ... ok [INFO] [stdout] test model::config_file::test::empty_config_should_pass ... ok [INFO] [stdout] test model::indent::test::indent_followed_by_a_setting_is_valid ... ok [INFO] [stdout] test model::indent::test::spaces_with_no_content_is_not_indent ... ok [INFO] [stdout] test model::section::test::multiple_trailing_comment_on_section ... ok [INFO] [stdout] test model::section::test::parses_section_with_two_entries_not_nested ... ok [INFO] [stdout] test model::section::test::multiple_nested ... ok [INFO] [stdout] test model::setting::test::parses_a_nested_setting ... ok [INFO] [stdout] test model::setting::test::parses_a_nested_setting_trailing_comment ... ok [INFO] [stdout] test model::setting::test::parses_a_nested_setting_with_nested_line_comment ... ok [INFO] [stdout] test model::setting::test::parses_a_setting_no_spaces ... ok [INFO] [stdout] test model::setting::test::parses_a_nested_setting_with_topline_comment ... ok [INFO] [stdout] test model::setting_name::test::parses_valid_setting_names ... ok [INFO] [stdout] test model::value::test::parses_access_key_as_value ... ok [INFO] [stdout] test model::value::test::parses_url_as_value ... ok [INFO] [stdout] test model::whitespace::test::multilines_of_whitespace ... ok [INFO] [stdout] test model::whitespace::test::parses_a_comment_with_leading_spaces_and_newline_carriage_return ... ok [INFO] [stdout] test model::whitespace::test::comment_just_spaces_and_newline ... ok [INFO] [stdout] test model::whitespace::test::parses_a_comment_with_no_leading_space_and_newline_carriage_return ... ok [INFO] [stdout] test model::whitespace::test::parses_a_comment_with_no_leading_space_and_newline ... ok [INFO] [stdout] test model::value::test::parses_arn_as_value ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 29 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running tests/integration_tests.rs (/opt/rustwide/target/debug/deps/integration_tests-5fad44ad49a5801c) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test can_get_a_nested_section ... ok [INFO] [stdout] test can_get_a_section_with_a_string ... ok [INFO] [stdout] test can_get_a_section_with_a_section_type_and_string ... ok [INFO] [stdout] test can_add_a_setting_to_existing_section ... ok [INFO] [stdout] test can_get_a_section_with_a_tuple_of_strings ... ok [INFO] [stdout] test can_change_a_value ... ok [INFO] [stdout] test can_parse_a_credential_file ... ok [INFO] [stdout] test update_a_credential_file ... ok [INFO] [stdout] test can_get_a_value_from_path_string ... ok [INFO] [stdout] test can_get_a_value_from_path_tuple ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests aws_config_mod [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/model/nested_settings.rs - model::nested_settings::NestedSettings (line 10) ... FAILED [INFO] [stdout] test src/lib.rs - (line 22) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/model/nested_settings.rs - model::nested_settings::NestedSettings (line 10) stdout ---- [INFO] [stdout] error: expected item, found `[` [INFO] [stdout] --> src/model/nested_settings.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 1 | [profile test] [INFO] [stdout] | ^ expected item [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 22) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AwsConfigFile` [INFO] [stdout] --> src/lib.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 18 | let mut config = AwsConfigFile::parse(SAMPLE_FILE).expect("Sample file should be valid"); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `AwsConfigFile` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use aws_config_mod::AwsConfigFile; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SAMPLE_FILE` in this scope [INFO] [stdout] --> src/lib.rs:38:39 [INFO] [stdout] | [INFO] [stdout] 18 | let mut config = AwsConfigFile::parse(SAMPLE_FILE).expect("Sample file should be valid"); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SettingPath` [INFO] [stdout] --> src/lib.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 20 | let setting_path = SettingPath::try_from("profile.A.credential_source").expect("Should parse"); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `SettingPath` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use aws_config_mod::SettingPath; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> src/lib.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 21 | config.set(setting_path, Value::from("my-new-credential-source")); [INFO] [stdout] | ^^^^^ use of undeclared type `Value` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use aws_config_mod::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 22) [INFO] [stdout] src/model/nested_settings.rs - model::nested_settings::NestedSettings (line 10) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.24s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "79bd06874abd47a3bfc56a4596f27dd6aa952cd6d4ea202aa4f7cc79ad3c8845", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79bd06874abd47a3bfc56a4596f27dd6aa952cd6d4ea202aa4f7cc79ad3c8845", kill_on_drop: false }` [INFO] [stdout] 79bd06874abd47a3bfc56a4596f27dd6aa952cd6d4ea202aa4f7cc79ad3c8845