[INFO] cloning repository https://github.com/tonygoold/awspolicy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tonygoold/awspolicy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftonygoold%2Fawspolicy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftonygoold%2Fawspolicy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 37fb719d3d5537579aa12f58ce982c0f060c550f [INFO] testing tonygoold/awspolicy against master#61223975d46f794466efa832bc7562b9707ecc46+rustflags=-Copt-level=3 for pr-121282 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftonygoold%2Fawspolicy" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tonygoold/awspolicy on toolchain 61223975d46f794466efa832bc7562b9707ecc46 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tonygoold/awspolicy [INFO] finished tweaking git repo https://github.com/tonygoold/awspolicy [INFO] tweaked toml for git repo https://github.com/tonygoold/awspolicy written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/tonygoold/awspolicy 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" "+61223975d46f794466efa832bc7562b9707ecc46" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 598a43d025709aed2a868f09e5ed5e1be4aa5b7e62a938fa86b4138ece62b1cc [INFO] running `Command { std: "docker" "start" "-a" "598a43d025709aed2a868f09e5ed5e1be4aa5b7e62a938fa86b4138ece62b1cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "598a43d025709aed2a868f09e5ed5e1be4aa5b7e62a938fa86b4138ece62b1cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "598a43d025709aed2a868f09e5ed5e1be4aa5b7e62a938fa86b4138ece62b1cc", kill_on_drop: false }` [INFO] [stdout] 598a43d025709aed2a868f09e5ed5e1be4aa5b7e62a938fa86b4138ece62b1cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5d8243fb820862ef4c48a90321876f582431f56b9922b9877c005b8bda130623 [INFO] running `Command { std: "docker" "start" "-a" "5d8243fb820862ef4c48a90321876f582431f56b9922b9877c005b8bda130623", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling serde v1.0.139 [INFO] [stderr] Compiling anyhow v1.0.58 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling os_str_bytes v6.2.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling once_cell v1.13.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling json v0.12.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling ipnetwork v0.20.0 [INFO] [stderr] Compiling clap_derive v3.2.7 [INFO] [stderr] Compiling clap v3.2.12 [INFO] [stderr] Compiling awspolicy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `json` is imported redundantly [INFO] [stdout] --> src/policy.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use json; [INFO] [stdout] | ^^^^ the item `json` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.06s [INFO] running `Command { std: "docker" "inspect" "5d8243fb820862ef4c48a90321876f582431f56b9922b9877c005b8bda130623", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d8243fb820862ef4c48a90321876f582431f56b9922b9877c005b8bda130623", kill_on_drop: false }` [INFO] [stdout] 5d8243fb820862ef4c48a90321876f582431f56b9922b9877c005b8bda130623 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff4a0ce8938a837a654c4110a546cbb35f6ed6a713f71e4d34af60370c9f9fac [INFO] running `Command { std: "docker" "start" "-a" "ff4a0ce8938a837a654c4110a546cbb35f6ed6a713f71e4d34af60370c9f9fac", kill_on_drop: false }` [INFO] [stdout] warning: the item `json` is imported redundantly [INFO] [stdout] --> src/policy.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use json; [INFO] [stdout] | ^^^^ the item `json` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling awspolicy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `json` is imported redundantly [INFO] [stdout] --> src/policy.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use json; [INFO] [stdout] | ^^^^ the item `json` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.07s [INFO] running `Command { std: "docker" "inspect" "ff4a0ce8938a837a654c4110a546cbb35f6ed6a713f71e4d34af60370c9f9fac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff4a0ce8938a837a654c4110a546cbb35f6ed6a713f71e4d34af60370c9f9fac", kill_on_drop: false }` [INFO] [stdout] ff4a0ce8938a837a654c4110a546cbb35f6ed6a713f71e4d34af60370c9f9fac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9c8931511eca29f83b38b7cf0bc299c6ff31253cf11392ccf91eef06395737fb [INFO] running `Command { std: "docker" "start" "-a" "9c8931511eca29f83b38b7cf0bc299c6ff31253cf11392ccf91eef06395737fb", kill_on_drop: false }` [INFO] [stderr] warning: the item `json` is imported redundantly [INFO] [stderr] --> src/policy.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | use json; [INFO] [stderr] | ^^^^ the item `json` is already defined here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `awspolicy` (lib) generated 1 warning [INFO] [stderr] warning: `awspolicy` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/awspolicy-0b41fe696db47010) [INFO] [stdout] [INFO] [stdout] running 42 tests [INFO] [stdout] test aws::arn::test::parse_with_resource_colons ... ok [INFO] [stdout] test aws::arn::test::parse_fully_specified ... ok [INFO] [stdout] test aws::arn::test::parse_with_globs ... ok [INFO] [stdout] test aws::glob::test::test_literal ... ok [INFO] [stdout] test aws::arn::test::parse_empty_portions ... ok [INFO] [stdout] test aws::glob::test::test_literal_pattern ... ok [INFO] [stdout] test aws::glob::test::test_multi_wildcard_pattern ... ok [INFO] [stdout] test aws::glob::test::test_single_wildcard_pattern ... ok [INFO] [stdout] test aws::glob::test::test_single_wildcard ... ok [INFO] [stdout] test policy::condition::nullable::test::expect_evaluates_operator ... ok [INFO] [stdout] test aws::glob::test::test_multi_wildcard ... ok [INFO] [stdout] test policy::condition::nullable::test::expect_is_required ... ok [INFO] [stdout] test policy::condition::nullable::test::if_exists_evaluates_operator ... ok [INFO] [stdout] test policy::condition::nullable::test::if_exists_is_optional ... ok [INFO] [stdout] test policy::condition::nullable::test::is_null_checks_existence ... ok [INFO] [stdout] test policy::condition::quantifier::test::forall_empty ... ok [INFO] [stdout] test policy::condition::quantifier::test::forall_multi_targets_all ... ok [INFO] [stdout] test policy::condition::quantifier::test::forall_multi_targets_not_all ... ok [INFO] [stdout] test policy::condition::quantifier::test::forall_single_target_all ... ok [INFO] [stdout] test policy::condition::quantifier::test::forall_single_target_not_all ... ok [INFO] [stdout] test policy::condition::quantifier::test::forany_multi_target_none ... ok [INFO] [stdout] test policy::condition::quantifier::test::forany_empty ... ok [INFO] [stdout] test policy::condition::quantifier::test::forany_multi_target_some ... ok [INFO] [stdout] test policy::condition::quantifier::test::forany_single_target_some ... ok [INFO] [stdout] test policy::condition::quantifier::test::forany_single_target_none ... ok [INFO] [stdout] test policy::condition::quantifier::test::null_takes_single_target ... ok [INFO] [stdout] test policy::condition::test::op_binary_equals ... ok [INFO] [stdout] test policy::condition::test::op_binary_invalid ... ok [INFO] [stdout] test policy::condition::test::op_bool_equals ... ok [INFO] [stdout] test policy::condition::quantifier::test::null_checks_empty ... ok [INFO] [stdout] test policy::condition::test::op_bool_invalid ... ok [INFO] [stdout] test policy::condition::test::condition_list_string_equals ... ok [INFO] [stdout] test policy::condition::test::op_ipaddress ... ok [INFO] [stdout] test policy::condition::test::op_ipaddress_invalid ... ok [INFO] [stdout] test policy::condition::test::op_date_invalid ... ok [INFO] [stdout] test policy::condition::test::op_arn ... ok [INFO] [stdout] test policy::condition::test::op_string_equals_ignore_case ... ok [INFO] [stdout] test policy::condition::test::op_num_compare ... ok [INFO] [stdout] test policy::condition::test::op_num_invalid ... ok [INFO] [stdout] test policy::condition::test::op_string_equals ... ok [INFO] [stdout] test policy::condition::test::op_date_compare ... ok [INFO] [stdout] test policy::condition::test::op_string_like ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 42 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/awspolicy-736bae3ff89e1409) [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] Doc-tests awspolicy [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] running `Command { std: "docker" "inspect" "9c8931511eca29f83b38b7cf0bc299c6ff31253cf11392ccf91eef06395737fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c8931511eca29f83b38b7cf0bc299c6ff31253cf11392ccf91eef06395737fb", kill_on_drop: false }` [INFO] [stdout] 9c8931511eca29f83b38b7cf0bc299c6ff31253cf11392ccf91eef06395737fb