[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#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcosvscampos%2Frust-strategy-pattern-demo" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/marcosvscampos/rust-strategy-pattern-demo on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "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-5/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" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 157baa1f673de254480a3dc67792888b9a5b030008cdf1bc8c5c1a98fbf025d5 [INFO] running `Command { std: "docker" "start" "-a" "157baa1f673de254480a3dc67792888b9a5b030008cdf1bc8c5c1a98fbf025d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "157baa1f673de254480a3dc67792888b9a5b030008cdf1bc8c5c1a98fbf025d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "157baa1f673de254480a3dc67792888b9a5b030008cdf1bc8c5c1a98fbf025d5", kill_on_drop: false }` [INFO] [stdout] 157baa1f673de254480a3dc67792888b9a5b030008cdf1bc8c5c1a98fbf025d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1a37a8bd24d4cc921253fb3d7bc6aac2d6cfd9ed7dbf8b37cf96568e7c925d3b [INFO] running `Command { std: "docker" "start" "-a" "1a37a8bd24d4cc921253fb3d7bc6aac2d6cfd9ed7dbf8b37cf96568e7c925d3b", 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 a macro (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 a macro (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 a macro (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 a macro (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" "1a37a8bd24d4cc921253fb3d7bc6aac2d6cfd9ed7dbf8b37cf96568e7c925d3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a37a8bd24d4cc921253fb3d7bc6aac2d6cfd9ed7dbf8b37cf96568e7c925d3b", kill_on_drop: false }` [INFO] [stdout] 1a37a8bd24d4cc921253fb3d7bc6aac2d6cfd9ed7dbf8b37cf96568e7c925d3b