[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 master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 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-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/toadslop/aws_config_mod on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4c2026fac743bacb8509143c747741409dda59c211aed4d696040f463f54ab0d [INFO] running `Command { std: "docker" "start" "-a" "4c2026fac743bacb8509143c747741409dda59c211aed4d696040f463f54ab0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c2026fac743bacb8509143c747741409dda59c211aed4d696040f463f54ab0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c2026fac743bacb8509143c747741409dda59c211aed4d696040f463f54ab0d", kill_on_drop: false }` [INFO] [stdout] 4c2026fac743bacb8509143c747741409dda59c211aed4d696040f463f54ab0d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd469dd73d99f0735217092e89e66dfb872028d883e0b16f1aae934af50493d8 [INFO] running `Command { std: "docker" "start" "-a" "fd469dd73d99f0735217092e89e66dfb872028d883e0b16f1aae934af50493d8", 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.18s [INFO] running `Command { std: "docker" "inspect" "fd469dd73d99f0735217092e89e66dfb872028d883e0b16f1aae934af50493d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd469dd73d99f0735217092e89e66dfb872028d883e0b16f1aae934af50493d8", kill_on_drop: false }` [INFO] [stdout] fd469dd73d99f0735217092e89e66dfb872028d883e0b16f1aae934af50493d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aae9cd2c1ef098fcfade6b97f8139576348f215b7e7830fa541026321be31568 [INFO] running `Command { std: "docker" "start" "-a" "aae9cd2c1ef098fcfade6b97f8139576348f215b7e7830fa541026321be31568", 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.65s [INFO] running `Command { std: "docker" "inspect" "aae9cd2c1ef098fcfade6b97f8139576348f215b7e7830fa541026321be31568", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aae9cd2c1ef098fcfade6b97f8139576348f215b7e7830fa541026321be31568", kill_on_drop: false }` [INFO] [stdout] aae9cd2c1ef098fcfade6b97f8139576348f215b7e7830fa541026321be31568 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bb2805222936105b261324ee3b259200aba9de6909c66c57565f6f2ee3beb894 [INFO] running `Command { std: "docker" "start" "-a" "bb2805222936105b261324ee3b259200aba9de6909c66c57565f6f2ee3beb894", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/aws_config_mod-ea6be4e80c9cbff4) [INFO] [stdout] running 29 tests [INFO] [stdout] test model::config_file::test::empty_config_should_pass ... ok [INFO] [stdout] test model::config_file::test::multiline_whitespace_is_valid ... ok [INFO] [stdout] test model::config_file::test::empty_string_is_valid_config ... ok [INFO] [stdout] test model::indent::test::empty_string_is_not_indent ... ok [INFO] [stdout] test model::indent::test::indent_followed_by_a_setting_is_valid ... ok [INFO] [stdout] test model::config_file::test::parses_sample_config2 ... ok [INFO] [stdout] test model::indent::test::spaces_with_no_content_is_not_indent ... ok [INFO] [stdout] test model::indent::test::beginning_of_a_comment_is_not_indent ... 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::section::test::multiple_nested ... 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::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_name::test::parses_valid_setting_names ... 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::setting::test::parses_a_nested_setting_with_topline_comment ... ok [INFO] [stdout] test model::value::test::parses_arn_as_value ... 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_access_key_as_value ... ok [INFO] [stdout] test model::config_file::test::parses_sample_config ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 29 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [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_change_a_value ... ok [INFO] [stdout] test can_get_a_section_with_a_section_type_and_string ... ok [INFO] [stdout] test can_get_a_nested_section ... ok [INFO] [stdout] test can_get_a_value_from_path_string ... ok [INFO] [stdout] test can_get_a_section_with_a_string ... ok [INFO] [stdout] test can_get_a_section_with_a_tuple_of_strings ... ok [INFO] [stdout] test can_add_a_setting_to_existing_section ... 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_tuple ... 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] [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] [stderr] error: doctest failed, to rerun pass `--doc` [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.21s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "bb2805222936105b261324ee3b259200aba9de6909c66c57565f6f2ee3beb894", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb2805222936105b261324ee3b259200aba9de6909c66c57565f6f2ee3beb894", kill_on_drop: false }` [INFO] [stdout] bb2805222936105b261324ee3b259200aba9de6909c66c57565f6f2ee3beb894