[INFO] cloning repository https://github.com/hongweixiao/for_offer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hongweixiao/for_offer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhongweixiao%2Ffor_offer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhongweixiao%2Ffor_offer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 784430e6a33a82bedfa166b21c4188b838c6ac5f [INFO] testing hongweixiao/for_offer against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhongweixiao%2Ffor_offer" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] [stderr] Checking out files: 43% (475/1082) Checking out files: 44% (477/1082) Checking out files: 45% (487/1082) Checking out files: 46% (498/1082) Checking out files: 47% (509/1082) Checking out files: 48% (520/1082) Checking out files: 49% (531/1082) Checking out files: 50% (541/1082) Checking out files: 51% (552/1082) Checking out files: 52% (563/1082) Checking out files: 53% (574/1082) Checking out files: 54% (585/1082) Checking out files: 55% (596/1082) Checking out files: 56% (606/1082) Checking out files: 57% (617/1082) Checking out files: 58% (628/1082) Checking out files: 59% (639/1082) Checking out files: 60% (650/1082) Checking out files: 61% (661/1082) Checking out files: 62% (671/1082) Checking out files: 63% (682/1082) Checking out files: 64% (693/1082) Checking out files: 65% (704/1082) Checking out files: 66% (715/1082) Checking out files: 67% (725/1082) Checking out files: 68% (736/1082) Checking out files: 69% (747/1082) Checking out files: 70% (758/1082) Checking out files: 71% (769/1082) Checking out files: 72% (780/1082) Checking out files: 73% (790/1082) Checking out files: 74% (801/1082) Checking out files: 75% (812/1082) Checking out files: 76% (823/1082) Checking out files: 77% (834/1082) Checking out files: 78% (844/1082) Checking out files: 79% (855/1082) Checking out files: 80% (866/1082) Checking out files: 81% (877/1082) Checking out files: 82% (888/1082) Checking out files: 83% (899/1082) Checking out files: 84% (909/1082) Checking out files: 85% (920/1082) Checking out files: 86% (931/1082) Checking out files: 87% (942/1082) Checking out files: 88% (953/1082) Checking out files: 89% (963/1082) Checking out files: 90% (974/1082) Checking out files: 91% (985/1082) Checking out files: 92% (996/1082) Checking out files: 93% (1007/1082) Checking out files: 94% (1018/1082) Checking out files: 95% (1028/1082) Checking out files: 96% (1039/1082) Checking out files: 97% (1050/1082) Checking out files: 98% (1061/1082) Checking out files: 99% (1072/1082) Checking out files: 100% (1082/1082) Checking out files: 100% (1082/1082), done. [INFO] validating manifest of git repo https://github.com/hongweixiao/for_offer on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hongweixiao/for_offer [INFO] finished tweaking git repo https://github.com/hongweixiao/for_offer [INFO] tweaked toml for git repo https://github.com/hongweixiao/for_offer written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/hongweixiao/for_offer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-3/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7687fcd162c85284577e29bb150cb5fdbdb55d8fe73834eccc2073804996168b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7687fcd162c85284577e29bb150cb5fdbdb55d8fe73834eccc2073804996168b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7687fcd162c85284577e29bb150cb5fdbdb55d8fe73834eccc2073804996168b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7687fcd162c85284577e29bb150cb5fdbdb55d8fe73834eccc2073804996168b", kill_on_drop: false }` [INFO] [stdout] 7687fcd162c85284577e29bb150cb5fdbdb55d8fe73834eccc2073804996168b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--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] 1c70c0b1c238e959fdfa93dff030959d066dec558405d56db0b111665b787944 [INFO] running `Command { std: "docker" "start" "-a" "1c70c0b1c238e959fdfa93dff030959d066dec558405d56db0b111665b787944", kill_on_drop: false }` [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling owning_ref v0.2.4 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling thread-id v3.3.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling parking_lot_core v0.2.14 [INFO] [stderr] Compiling parking_lot v0.3.8 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling jz_offer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `max_sliding_window` [INFO] [stdout] --> src/max_sliding_window_065.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn max_sliding_window(nums: Vec, k: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 22.22s [INFO] running `Command { std: "docker" "inspect" "1c70c0b1c238e959fdfa93dff030959d066dec558405d56db0b111665b787944", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c70c0b1c238e959fdfa93dff030959d066dec558405d56db0b111665b787944", kill_on_drop: false }` [INFO] [stdout] 1c70c0b1c238e959fdfa93dff030959d066dec558405d56db0b111665b787944 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c088a8878d3e14c9358023656a49a38f6c49702bf9d3ab87a5b611bf35a8fb95 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c088a8878d3e14c9358023656a49a38f6c49702bf9d3ab87a5b611bf35a8fb95", kill_on_drop: false }` [INFO] [stderr] Compiling jz_offer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.78s [INFO] running `Command { std: "docker" "inspect" "c088a8878d3e14c9358023656a49a38f6c49702bf9d3ab87a5b611bf35a8fb95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c088a8878d3e14c9358023656a49a38f6c49702bf9d3ab87a5b611bf35a8fb95", kill_on_drop: false }` [INFO] [stdout] c088a8878d3e14c9358023656a49a38f6c49702bf9d3ab87a5b611bf35a8fb95 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen", 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] 60818b4e8c0e27688fc539bbda161f142277e9d75c474413513dc15f4b675bca [INFO] running `Command { std: "docker" "start" "-a" "60818b4e8c0e27688fc539bbda161f142277e9d75c474413513dc15f4b675bca", kill_on_drop: false }` [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/main.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/jz_offer-2e24e2223191d236 [INFO] [stdout] running 1 test [INFO] [stdout] test max_sliding_window_065::tests::test_01 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "60818b4e8c0e27688fc539bbda161f142277e9d75c474413513dc15f4b675bca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60818b4e8c0e27688fc539bbda161f142277e9d75c474413513dc15f4b675bca", kill_on_drop: false }` [INFO] [stdout] 60818b4e8c0e27688fc539bbda161f142277e9d75c474413513dc15f4b675bca