[INFO] cloning repository https://github.com/marcosvscampos/rust-strategy-pattern-demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/marcosvscampos/rust-strategy-pattern-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcosvscampos%2Frust-strategy-pattern-demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcosvscampos%2Frust-strategy-pattern-demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 83ddaf6bb714029029bdacf87dd53a64fcb5e6ff [INFO] testing marcosvscampos/rust-strategy-pattern-demo against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcosvscampos%2Frust-strategy-pattern-demo" "/workspace/builds/worker-41/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-41/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/marcosvscampos/rust-strategy-pattern-demo on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/marcosvscampos/rust-strategy-pattern-demo [INFO] finished tweaking git repo https://github.com/marcosvscampos/rust-strategy-pattern-demo [INFO] tweaked toml for git repo https://github.com/marcosvscampos/rust-strategy-pattern-demo written to /workspace/builds/worker-41/source/Cargo.toml [INFO] crate git repo https://github.com/marcosvscampos/rust-strategy-pattern-demo already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-41/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-41/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eed611ad3158beb2147bc4a67c8b9e3ff327dd5f912e4f072c8f9c1e3bd5e93f [INFO] running `Command { std: "docker" "start" "-a" "eed611ad3158beb2147bc4a67c8b9e3ff327dd5f912e4f072c8f9c1e3bd5e93f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eed611ad3158beb2147bc4a67c8b9e3ff327dd5f912e4f072c8f9c1e3bd5e93f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eed611ad3158beb2147bc4a67c8b9e3ff327dd5f912e4f072c8f9c1e3bd5e93f", kill_on_drop: false }` [INFO] [stdout] eed611ad3158beb2147bc4a67c8b9e3ff327dd5f912e4f072c8f9c1e3bd5e93f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-41/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-41/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f04b0e7d95216ec427c1a56259a44093e08272940a64b5a64d5a07404a1f54b2 [INFO] running `Command { std: "docker" "start" "-a" "f04b0e7d95216ec427c1a56259a44093e08272940a64b5a64d5a07404a1f54b2", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling lazy_static v0.1.16 [INFO] [stderr] Compiling design_patterns v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/strategies/pay_by_paypal.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / lazy_static! { [INFO] [stdout] 7 | | static ref DATABASE: HashMap = { [INFO] [stdout] 8 | | let mut map = HashMap::new(); [INFO] [stdout] 9 | | map.insert(String::from("amanda1995"), "amanda@yahoo.com"); [INFO] [stdout] ... | [INFO] [stdout] 12 | | }; [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/strategies/pay_by_paypal.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / lazy_static! { [INFO] [stdout] 7 | | static ref DATABASE: HashMap = { [INFO] [stdout] 8 | | let mut map = HashMap::new(); [INFO] [stdout] 9 | | map.insert(String::from("amanda1995"), "amanda@yahoo.com"); [INFO] [stdout] ... | [INFO] [stdout] 12 | | }; [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.64s [INFO] running `Command { std: "docker" "inspect" "f04b0e7d95216ec427c1a56259a44093e08272940a64b5a64d5a07404a1f54b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f04b0e7d95216ec427c1a56259a44093e08272940a64b5a64d5a07404a1f54b2", kill_on_drop: false }` [INFO] [stdout] f04b0e7d95216ec427c1a56259a44093e08272940a64b5a64d5a07404a1f54b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-41/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-41/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 588079ee4e007bf4d5ce8f3727b607bb2c70cf1a3f836d6efabf72f7a5e4747a [INFO] running `Command { std: "docker" "start" "-a" "588079ee4e007bf4d5ce8f3727b607bb2c70cf1a3f836d6efabf72f7a5e4747a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling design_patterns v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/strategies/pay_by_paypal.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / lazy_static! { [INFO] [stdout] 7 | | static ref DATABASE: HashMap = { [INFO] [stdout] 8 | | let mut map = HashMap::new(); [INFO] [stdout] 9 | | map.insert(String::from("amanda1995"), "amanda@yahoo.com"); [INFO] [stdout] ... | [INFO] [stdout] 12 | | }; [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/strategies/pay_by_paypal.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / lazy_static! { [INFO] [stdout] 7 | | static ref DATABASE: HashMap = { [INFO] [stdout] 8 | | let mut map = HashMap::new(); [INFO] [stdout] 9 | | map.insert(String::from("amanda1995"), "amanda@yahoo.com"); [INFO] [stdout] ... | [INFO] [stdout] 12 | | }; [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.22s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/design_patterns-6dd91a37a2bd8cf4) [INFO] running `Command { std: "docker" "inspect" "588079ee4e007bf4d5ce8f3727b607bb2c70cf1a3f836d6efabf72f7a5e4747a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "588079ee4e007bf4d5ce8f3727b607bb2c70cf1a3f836d6efabf72f7a5e4747a", kill_on_drop: false }` [INFO] [stdout] 588079ee4e007bf4d5ce8f3727b607bb2c70cf1a3f836d6efabf72f7a5e4747a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-41/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-41/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4776ce2cf0dc23cfcee15673bbf0fc9acff684a7c5eb491b8c8ac7dba82701ea [INFO] running `Command { std: "docker" "start" "-a" "4776ce2cf0dc23cfcee15673bbf0fc9acff684a7c5eb491b8c8ac7dba82701ea", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] running 0 tests [INFO] [stderr] --> src/strategies/pay_by_paypal.rs:6:1 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] 6 | / lazy_static! { [INFO] [stdout] [INFO] [stderr] 7 | | static ref DATABASE: HashMap = { [INFO] [stderr] 8 | | let mut map = HashMap::new(); [INFO] [stderr] 9 | | map.insert(String::from("amanda1995"), "amanda@yahoo.com"); [INFO] [stderr] ... | [INFO] [stderr] 12 | | }; [INFO] [stderr] 13 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/strategies/pay_by_paypal.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | / lazy_static! { [INFO] [stderr] 7 | | static ref DATABASE: HashMap = { [INFO] [stderr] 8 | | let mut map = HashMap::new(); [INFO] [stderr] 9 | | map.insert(String::from("amanda1995"), "amanda@yahoo.com"); [INFO] [stderr] ... | [INFO] [stderr] 12 | | }; [INFO] [stderr] 13 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `design_patterns` (bin "design_patterns" test) generated 2 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.50s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/design_patterns-6dd91a37a2bd8cf4) [INFO] running `Command { std: "docker" "inspect" "4776ce2cf0dc23cfcee15673bbf0fc9acff684a7c5eb491b8c8ac7dba82701ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4776ce2cf0dc23cfcee15673bbf0fc9acff684a7c5eb491b8c8ac7dba82701ea", kill_on_drop: false }` [INFO] [stdout] 4776ce2cf0dc23cfcee15673bbf0fc9acff684a7c5eb491b8c8ac7dba82701ea