[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 master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f 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-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/marcosvscampos/rust-strategy-pattern-demo on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "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-2/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a5277c5244017d8a894905e34e7a94cf7ef3645885fe09cf2c537692f703a962 [INFO] running `Command { std: "docker" "start" "-a" "a5277c5244017d8a894905e34e7a94cf7ef3645885fe09cf2c537692f703a962", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a5277c5244017d8a894905e34e7a94cf7ef3645885fe09cf2c537692f703a962", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5277c5244017d8a894905e34e7a94cf7ef3645885fe09cf2c537692f703a962", kill_on_drop: false }` [INFO] [stdout] a5277c5244017d8a894905e34e7a94cf7ef3645885fe09cf2c537692f703a962 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7ab8bb94550e0bfce3e901f5053e01cc50c649c4c2d9d192d94dd80a25b5be1e [INFO] running `Command { std: "docker" "start" "-a" "7ab8bb94550e0bfce3e901f5053e01cc50c649c4c2d9d192d94dd80a25b5be1e", 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: 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: 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.51s [INFO] running `Command { std: "docker" "inspect" "7ab8bb94550e0bfce3e901f5053e01cc50c649c4c2d9d192d94dd80a25b5be1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ab8bb94550e0bfce3e901f5053e01cc50c649c4c2d9d192d94dd80a25b5be1e", kill_on_drop: false }` [INFO] [stdout] 7ab8bb94550e0bfce3e901f5053e01cc50c649c4c2d9d192d94dd80a25b5be1e