[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 784430e6a33a82bedfa166b21c4188b838c6ac5f [INFO] testing hongweixiao/for_offer against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhongweixiao%2Ffor_offer" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] [stderr] Checking out files: 42% (461/1082) Checking out files: 43% (466/1082) Checking out files: 43% (473/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: 49% (532/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 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "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-11/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" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-11/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" "+1.45.2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 65ea6b7fe55d16a3457ac5a5af4739d3e5588a696574041eb83849a4774ef15b [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" "65ea6b7fe55d16a3457ac5a5af4739d3e5588a696574041eb83849a4774ef15b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "65ea6b7fe55d16a3457ac5a5af4739d3e5588a696574041eb83849a4774ef15b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65ea6b7fe55d16a3457ac5a5af4739d3e5588a696574041eb83849a4774ef15b", kill_on_drop: false }` [INFO] [stdout] 65ea6b7fe55d16a3457ac5a5af4739d3e5588a696574041eb83849a4774ef15b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=warn" "-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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c2b944c2f6980fc6d9e752f454889fe81d2b7b8182be096702226cb90fdcda0 [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" "4c2b944c2f6980fc6d9e752f454889fe81d2b7b8182be096702226cb90fdcda0", kill_on_drop: false }` [INFO] [stderr] Compiling owning_ref v0.2.4 [INFO] [stderr] Compiling thread-id v3.3.0 [INFO] [stderr] Compiling parking_lot_core v0.2.14 [INFO] [stderr] Compiling parking_lot v0.3.8 [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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.90s [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4c2b944c2f6980fc6d9e752f454889fe81d2b7b8182be096702226cb90fdcda0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c2b944c2f6980fc6d9e752f454889fe81d2b7b8182be096702226cb90fdcda0", kill_on_drop: false }` [INFO] [stdout] 4c2b944c2f6980fc6d9e752f454889fe81d2b7b8182be096702226cb90fdcda0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=warn" "-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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b799f0974f4d0aa3581e1e0b9c2ee56e61f66d3993c8a1985da7b3c4ec10f1f9 [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" "b799f0974f4d0aa3581e1e0b9c2ee56e61f66d3993c8a1985da7b3c4ec10f1f9", 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 1.24s [INFO] running `Command { std: "docker" "inspect" "b799f0974f4d0aa3581e1e0b9c2ee56e61f66d3993c8a1985da7b3c4ec10f1f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b799f0974f4d0aa3581e1e0b9c2ee56e61f66d3993c8a1985da7b3c4ec10f1f9", kill_on_drop: false }` [INFO] [stdout] b799f0974f4d0aa3581e1e0b9c2ee56e61f66d3993c8a1985da7b3c4ec10f1f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=warn" "-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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "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] 578a3980f45b23de2859078fdd88b2a803667d240ef4bb31cd52c99f6cc2c89a [INFO] running `Command { std: "docker" "start" "-a" "578a3980f45b23de2859078fdd88b2a803667d240ef4bb31cd52c99f6cc2c89a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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 1.11s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/jz_offer-a109ecaa37b1ddd0 [INFO] [stdout] [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" "578a3980f45b23de2859078fdd88b2a803667d240ef4bb31cd52c99f6cc2c89a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "578a3980f45b23de2859078fdd88b2a803667d240ef4bb31cd52c99f6cc2c89a", kill_on_drop: false }` [INFO] [stdout] 578a3980f45b23de2859078fdd88b2a803667d240ef4bb31cd52c99f6cc2c89a