[INFO] updating cached repository https://github.com/hongweixiao/for_offer [INFO] running `"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"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 784430e6a33a82bedfa166b21c4188b838c6ac5f [INFO] testing hongweixiao/for_offer against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhongweixiao%2Ffor_offer" "/workspace/builds/worker-4/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] [stderr] 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.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [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-4/source/Cargo.toml [INFO] crate git repo https://github.com/hongweixiao/for_offer already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-4/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 `"/workspace/cargo-home/bin/cargo" "+1.44.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a8bf63c7a39132dd71ec56fd8a0beb312418b020563955238957f7e2140bbcb6 [INFO] running `"docker" "start" "-a" "a8bf63c7a39132dd71ec56fd8a0beb312418b020563955238957f7e2140bbcb6"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling owning_ref v0.2.4 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling rand v0.4.6 [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 regex v1.3.9 [INFO] [stderr] Compiling jz_offer v0.1.0 (/opt/rustwide/workdir) [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: function is never used: `max_sliding_window` [INFO] [stderr] --> src/max_sliding_window_065.rs:4:8 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn max_sliding_window(nums: Vec, k: i32) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 23.41s [INFO] running `"docker" "inspect" "a8bf63c7a39132dd71ec56fd8a0beb312418b020563955238957f7e2140bbcb6"` [INFO] running `"docker" "rm" "-f" "a8bf63c7a39132dd71ec56fd8a0beb312418b020563955238957f7e2140bbcb6"` [INFO] [stdout] a8bf63c7a39132dd71ec56fd8a0beb312418b020563955238957f7e2140bbcb6 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] dcd2271c6e84d8b6068524482b8573fa75adcc79a729f21ccbc299b2bef075e3 [INFO] running `"docker" "start" "-a" "dcd2271c6e84d8b6068524482b8573fa75adcc79a729f21ccbc299b2bef075e3"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling jz_offer v0.1.0 (/opt/rustwide/workdir) [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.95s [INFO] running `"docker" "inspect" "dcd2271c6e84d8b6068524482b8573fa75adcc79a729f21ccbc299b2bef075e3"` [INFO] running `"docker" "rm" "-f" "dcd2271c6e84d8b6068524482b8573fa75adcc79a729f21ccbc299b2bef075e3"` [INFO] [stdout] dcd2271c6e84d8b6068524482b8573fa75adcc79a729f21ccbc299b2bef075e3 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b3502e6cc391476efbec34d64ab25b4d3690d2a7db941b58926c40d13f165c86 [INFO] running `"docker" "start" "-a" "b3502e6cc391476efbec34d64ab25b4d3690d2a7db941b58926c40d13f165c86"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [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.07s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/jz_offer-20a2c576db1678b4 [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 `"docker" "inspect" "b3502e6cc391476efbec34d64ab25b4d3690d2a7db941b58926c40d13f165c86"` [INFO] running `"docker" "rm" "-f" "b3502e6cc391476efbec34d64ab25b4d3690d2a7db941b58926c40d13f165c86"` [INFO] [stdout] b3502e6cc391476efbec34d64ab25b4d3690d2a7db941b58926c40d13f165c86