[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] checking marcosvscampos/rust-strategy-pattern-demo against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcosvscampos%2Frust-strategy-pattern-demo" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/marcosvscampos/rust-strategy-pattern-demo on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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-9/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6fbae23903ba33c6b84a8f6ad66a00bd2427c8fa05381fc0ba4ff12c5c65bd85 [INFO] running `Command { std: "docker" "start" "-a" "6fbae23903ba33c6b84a8f6ad66a00bd2427c8fa05381fc0ba4ff12c5c65bd85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6fbae23903ba33c6b84a8f6ad66a00bd2427c8fa05381fc0ba4ff12c5c65bd85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fbae23903ba33c6b84a8f6ad66a00bd2427c8fa05381fc0ba4ff12c5c65bd85", kill_on_drop: false }` [INFO] [stdout] 6fbae23903ba33c6b84a8f6ad66a00bd2427c8fa05381fc0ba4ff12c5c65bd85 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e2a8a1aa691c3b13191feb00964b0d75069e5280f760855799abaf95a0e93d2 [INFO] running `Command { std: "docker" "start" "-a" "9e2a8a1aa691c3b13191feb00964b0d75069e5280f760855799abaf95a0e93d2", kill_on_drop: false }` [INFO] [stderr] Checking lazy_static v0.1.16 [INFO] [stderr] Checking 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: `#[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: 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] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.39s [INFO] running `Command { std: "docker" "inspect" "9e2a8a1aa691c3b13191feb00964b0d75069e5280f760855799abaf95a0e93d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e2a8a1aa691c3b13191feb00964b0d75069e5280f760855799abaf95a0e93d2", kill_on_drop: false }` [INFO] [stdout] 9e2a8a1aa691c3b13191feb00964b0d75069e5280f760855799abaf95a0e93d2