[INFO] fetching crate dddk_security 0.6.0...
[INFO] testing dddk_security-0.6.0 against 1.99.0-beta.8+cargoflags=--release for beta-release-1.100-2
[INFO] extracting crate dddk_security 0.6.0 into /workspace/builds/worker-7-tc1/source
[INFO] started tweaking crates.io crate dddk_security 0.6.0
[INFO] finished tweaking crates.io crate dddk_security 0.6.0
[INFO] tweaked toml for crates.io crate dddk_security 0.6.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate dddk_security 0.6.0 on toolchain 1.99.0-beta.8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "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" "+1.99.0-beta.8" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 7 packages to highest compatible versions
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded dddk_core v0.6.0
[INFO] [stderr]   Downloaded dddk_macro v0.6.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 3726cd9b8bc757c204d9b5647a6d5704894dc5355317048de0c07b3d69bfa8ab
[INFO] running `Command { std: "docker" "start" "3726cd9b8bc757c204d9b5647a6d5704894dc5355317048de0c07b3d69bfa8ab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3726cd9b8bc757c204d9b5647a6d5704894dc5355317048de0c07b3d69bfa8ab", kill_on_drop: false }`
[INFO] running `Command { std: "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" "3726cd9b8bc757c204d9b5647a6d5704894dc5355317048de0c07b3d69bfa8ab" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3726cd9b8bc757c204d9b5647a6d5704894dc5355317048de0c07b3d69bfa8ab", kill_on_drop: false }`
[INFO] running `Command { std: "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" "3726cd9b8bc757c204d9b5647a6d5704894dc5355317048de0c07b3d69bfa8ab" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling dddk_core v0.6.0
[INFO] [stderr]    Compiling dddk_security v0.6.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 1.54s
[INFO] running `Command { std: "docker" "inspect" "3726cd9b8bc757c204d9b5647a6d5704894dc5355317048de0c07b3d69bfa8ab", kill_on_drop: false }`
[INFO] running `Command { std: "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" "3726cd9b8bc757c204d9b5647a6d5704894dc5355317048de0c07b3d69bfa8ab" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.107
[INFO] [stderr]    Compiling quote v1.0.47
[INFO] [stderr]    Compiling syn v2.0.119
[INFO] [stderr]    Compiling dddk_macro v0.6.0
[INFO] [stderr]    Compiling dddk_security v0.6.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 5.72s
[INFO] running `Command { std: "docker" "inspect" "3726cd9b8bc757c204d9b5647a6d5704894dc5355317048de0c07b3d69bfa8ab", kill_on_drop: false }`
[INFO] running `Command { std: "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" "3726cd9b8bc757c204d9b5647a6d5704894dc5355317048de0c07b3d69bfa8ab" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--release", kill_on_drop: false }`
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.02s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/release/deps/dddk_security-a220ea2eea1ec343)
[INFO] [stdout] 
[INFO] [stdout] running 29 tests
[INFO] [stdout] test dddk::security::authorized_strategy_impl::role_based_strategy_test::test::it_should_authorized_when_expected_permission_is_contained_in_given_role ... ok
[INFO] [stdout] test dddk::security::authorized_strategy_impl::role_based_strategy_test::test::it_should_not_authorized_when_expected_permission_is_not_contained_in_given_role ... ok
[INFO] [stdout] test dddk::security::command::secured_command_dispatcher_test::test::it_should_dispatch_secured_command_to_its_secured_command_handler ... ok
[INFO] [stdout] test dddk::security::command::secured_command_dispatcher_test::test::it_should_panic_when_register_two_command_handler_for_a_same_command - should panic ... ok
[INFO] [stdout] test dddk::security::command::secured_command_dispatcher_test::test::it_should_not_dispatch_command_when_its_roles_has_not_correct_permissions ... ok
[INFO] [stdout] test dddk::security::command::secured_command_dispatcher_test::test::it_should_dispatch_command_to_its_command_handler ... ok
[INFO] [stdout] test dddk::security::command::secured_command_dispatcher_test::test::it_should_return_command_handler_associated_to_its_command_when_calling_getter ... ok
[INFO] [stdout] test dddk::security::authorized_strategy_impl::no_security_strategy_test::test::it_should_authorized_and_return_all_permissions_whatever_param_given ... ok
[INFO] [stdout] test dddk::security::query::secured_query_dispatcher_test::test::it_should_dispatch_secured_query_to_its_secured_query_handler ... ok
[INFO] [stdout] test dddk::security::command::secured_command_handler_test::test::it_should_downcast_ref_secured_command_handler_when_receiving_it_as_command_handler ... ok
[INFO] [stdout] test dddk::security::command::secured_command_test::test::it_should_return_sub_command_when_call_get_command ... ok
[INFO] [stdout] test dddk::security::command::secured_command_handler_test::test::it_should_return_sub_command_handler_when_call_get_command_handler ... ok
[INFO] [stdout] test dddk::security::query::secured_query_dispatcher_test::test::it_should_dispatch_query_to_its_query_handler ... ok
[INFO] [stdout] test dddk::security::command::secured_command_dispatcher_test::test::it_should_return_is_restricted_when_asking_if_a_secured_command_handler_is_restricted ... ok
[INFO] [stdout] test dddk::security::query::secured_query_dispatcher_test::test::it_should_not_dispatch_query_when_its_roles_has_correct_permissions ... ok
[INFO] [stdout] test dddk::security::query::secured_query_dispatcher_test::test::it_should_not_dispatch_query_when_its_roles_has_not_correct_permissions ... ok
[INFO] [stdout] test dddk::security::query::secured_query_dispatcher_test::test::it_should_panic_when_register_two_query_handler_for_a_same_query - should panic ... ok
[INFO] [stdout] test dddk::security::query::secured_query_dispatcher_test::test::it_should_return_query_handler_associated_to_its_query_when_calling_getter ... ok
[INFO] [stdout] test dddk::security::query::secured_query_handler_test::test::it_should_downcast_ref_secured_query_handler_when_receiving_it_as_query_handler ... ok
[INFO] [stdout] test dddk::security::command::secured_command_test::test::it_should_downcast_ref_secured_command_when_receiving_it_as_command ... ok
[INFO] [stdout] test dddk::security::command::secured_command_dispatcher_test::test::it_should_not_dispatch_unsecured_command_to_a_secured_command_handler ... ok
[INFO] [stdout] test dddk::security::command::secured_command_dispatcher_test::test::it_should_not_dispatch_command_when_its_roles_has_correct_permissions ... ok
[INFO] [stdout] test dddk::security::query::secured_query_handler_test::test::it_should_return_sub_query_handler_when_call_get_query_handler ... ok
[INFO] [stdout] test dddk::security::query::secured_query_dispatcher_test::test::it_should_not_dispatch_unsecured_query_to_a_secured_query_handler ... ok
[INFO] [stdout] test dddk::security::test_tools::fake_role_repository::fake_role_repository::it_should_persist_role_into_store ... ok
[INFO] [stdout] test dddk::security::query::secured_query_dispatcher_test::test::it_should_return_is_restricted_when_asking_if_a_secured_query_handler_is_restricted ... ok
[INFO] [stdout] test dddk::security::test_tools::fake_role_repository::fake_role_repository::it_should_find_all_permissions_stored ... ok
[INFO] [stdout] test dddk::security::query::secured_query_test::test::it_should_return_sub_query_when_call_get_query ... ok
[INFO] [stdout] test dddk::security::query::secured_query_test::test::it_should_downcast_ref_secured_query_when_receiving_it_as_query ... ok
[INFO] [stderr]    Doc-tests dddk_security
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 29 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[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" "3726cd9b8bc757c204d9b5647a6d5704894dc5355317048de0c07b3d69bfa8ab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3726cd9b8bc757c204d9b5647a6d5704894dc5355317048de0c07b3d69bfa8ab", kill_on_drop: false }`
[INFO] [stdout] 3726cd9b8bc757c204d9b5647a6d5704894dc5355317048de0c07b3d69bfa8ab
