[INFO] crate spelling_corrector 0.2.3 is already in cache [INFO] testing spelling_corrector-0.2.3 against beta-2020-06-03 for beta-1.45-1 [INFO] extracting crate spelling_corrector 0.2.3 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate spelling_corrector 0.2.3 on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate spelling_corrector 0.2.3 [INFO] finished tweaking crates.io crate spelling_corrector 0.2.3 [INFO] tweaked toml for crates.io crate spelling_corrector 0.2.3 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate crates.io crate spelling_corrector 0.2.3 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"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" "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" "+beta-2020-06-03" "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] dbf7fb48bc1f4f3128528db05a7f5470f11372f241e3638a88d9f2ba279e7528 [INFO] running `"docker" "start" "-a" "dbf7fb48bc1f4f3128528db05a7f5470f11372f241e3638a88d9f2ba279e7528"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling syn v1.0.13 [INFO] [stderr] Compiling cc v1.0.49 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling same-file v1.0.5 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling crossbeam-channel v0.3.9 [INFO] [stderr] Compiling bstr v0.2.8 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling num_cpus v1.11.1 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling walkdir v2.2.9 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling globset v0.4.4 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling crossbeam-deque v0.7.2 [INFO] [stderr] Compiling ignore v0.4.10 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling generator v0.6.19 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling globwalk v0.3.1 [INFO] [stderr] Compiling backtrace v0.3.40 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Compiling structopt v0.2.18 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling syn-mid v0.4.0 [INFO] [stderr] Compiling rustversion v1.0.1 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling failure v0.1.6 [INFO] [stderr] Compiling exitfailure v0.5.1 [INFO] [stderr] Compiling clap-verbosity-flag v0.2.0 [INFO] [stderr] Compiling proc-macro-error v0.4.4 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.3 [INFO] [stderr] Compiling structopt-derive v0.4.0 [INFO] [stderr] Compiling structopt v0.3.7 [INFO] [stderr] Compiling quicli v0.4.0 [INFO] [stderr] Compiling spelling_corrector v0.2.3 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused variable: `w1` [INFO] [stderr] --> src/corrector.rs:135:27 [INFO] [stderr] | [INFO] [stderr] 135 | .max_by(|(p1, w1), (p2, w2)| p1.partial_cmp(p2).expect("Tried to compare NAN")) [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_w1` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `w2` [INFO] [stderr] --> src/corrector.rs:135:37 [INFO] [stderr] | [INFO] [stderr] 135 | .max_by(|(p1, w1), (p2, w2)| p1.partial_cmp(p2).expect("Tried to compare NAN")) [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_w2` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `p` [INFO] [stderr] --> src/corrector.rs:136:20 [INFO] [stderr] | [INFO] [stderr] 136 | .map(|(p, w)| w) [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [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 dev [unoptimized + debuginfo] target(s) in 1m 27s [INFO] running `"docker" "inspect" "dbf7fb48bc1f4f3128528db05a7f5470f11372f241e3638a88d9f2ba279e7528"` [INFO] running `"docker" "rm" "-f" "dbf7fb48bc1f4f3128528db05a7f5470f11372f241e3638a88d9f2ba279e7528"` [INFO] [stdout] dbf7fb48bc1f4f3128528db05a7f5470f11372f241e3638a88d9f2ba279e7528 [INFO] running `"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" "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" "+beta-2020-06-03" "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] b79d632a3ce4c332a1e9f8420e93b98b96aa060c7de295650c878c942cc9b4d2 [INFO] running `"docker" "start" "-a" "b79d632a3ce4c332a1e9f8420e93b98b96aa060c7de295650c878c942cc9b4d2"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling spelling_corrector v0.2.3 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused variable: `w1` [INFO] [stderr] --> src/corrector.rs:135:27 [INFO] [stderr] | [INFO] [stderr] 135 | .max_by(|(p1, w1), (p2, w2)| p1.partial_cmp(p2).expect("Tried to compare NAN")) [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_w1` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `w2` [INFO] [stderr] --> src/corrector.rs:135:37 [INFO] [stderr] | [INFO] [stderr] 135 | .max_by(|(p1, w1), (p2, w2)| p1.partial_cmp(p2).expect("Tried to compare NAN")) [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_w2` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `p` [INFO] [stderr] --> src/corrector.rs:136:20 [INFO] [stderr] | [INFO] [stderr] 136 | .map(|(p, w)| w) [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [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: unused variable: `w1` [INFO] [stderr] --> src/corrector.rs:135:27 [INFO] [stderr] | [INFO] [stderr] 135 | .max_by(|(p1, w1), (p2, w2)| p1.partial_cmp(p2).expect("Tried to compare NAN")) [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_w1` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `w2` [INFO] [stderr] --> src/corrector.rs:135:37 [INFO] [stderr] | [INFO] [stderr] 135 | .max_by(|(p1, w1), (p2, w2)| p1.partial_cmp(p2).expect("Tried to compare NAN")) [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_w2` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `p` [INFO] [stderr] --> src/corrector.rs:136:20 [INFO] [stderr] | [INFO] [stderr] 136 | .map(|(p, w)| w) [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.74s [INFO] running `"docker" "inspect" "b79d632a3ce4c332a1e9f8420e93b98b96aa060c7de295650c878c942cc9b4d2"` [INFO] running `"docker" "rm" "-f" "b79d632a3ce4c332a1e9f8420e93b98b96aa060c7de295650c878c942cc9b4d2"` [INFO] [stdout] b79d632a3ce4c332a1e9f8420e93b98b96aa060c7de295650c878c942cc9b4d2 [INFO] running `"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" "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" "+beta-2020-06-03" "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] 2303e73c088cee4ef2655bb28aa2e6e0f0039e3e4dd589bb8282dcb430ca4cc4 [INFO] running `"docker" "start" "-a" "2303e73c088cee4ef2655bb28aa2e6e0f0039e3e4dd589bb8282dcb430ca4cc4"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] warning: unused variable: `w1` [INFO] [stderr] --> src/corrector.rs:135:27 [INFO] [stderr] | [INFO] [stderr] 135 | .max_by(|(p1, w1), (p2, w2)| p1.partial_cmp(p2).expect("Tried to compare NAN")) [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_w1` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `w2` [INFO] [stderr] --> src/corrector.rs:135:37 [INFO] [stderr] | [INFO] [stderr] 135 | .max_by(|(p1, w1), (p2, w2)| p1.partial_cmp(p2).expect("Tried to compare NAN")) [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_w2` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `p` [INFO] [stderr] --> src/corrector.rs:136:20 [INFO] [stderr] | [INFO] [stderr] 136 | .map(|(p, w)| w) [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: unused variable: `w1` [INFO] [stderr] --> src/corrector.rs:135:27 [INFO] [stderr] | [INFO] [stderr] 135 | .max_by(|(p1, w1), (p2, w2)| p1.partial_cmp(p2).expect("Tried to compare NAN")) [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_w1` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `w2` [INFO] [stderr] --> src/corrector.rs:135:37 [INFO] [stderr] | [INFO] [stderr] 135 | .max_by(|(p1, w1), (p2, w2)| p1.partial_cmp(p2).expect("Tried to compare NAN")) [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_w2` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `p` [INFO] [stderr] --> src/corrector.rs:136:20 [INFO] [stderr] | [INFO] [stderr] 136 | .map(|(p, w)| w) [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [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.20s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/spelling_corrector-5c60f2dae3355689 [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test corrector::tests::test_word_prob ... ok [INFO] [stdout] test corrector::tests::test_corrector_on_valid_word ... ok [INFO] [stdout] test corrector::tests::test_word_split ... ok [INFO] [stdout] test corrector::tests::test_corrector_on_invalid_word ... ok [INFO] [stdout] test test_corrector ... ok [INFO] [stdout] test corrector::tests::test_corrector_with_actual_dataset ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/spelling_corrector-16ab63f715ad3fb1 [INFO] [stderr] Doc-tests spelling_corrector [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 6) ... 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" "2303e73c088cee4ef2655bb28aa2e6e0f0039e3e4dd589bb8282dcb430ca4cc4"` [INFO] running `"docker" "rm" "-f" "2303e73c088cee4ef2655bb28aa2e6e0f0039e3e4dd589bb8282dcb430ca4cc4"` [INFO] [stdout] 2303e73c088cee4ef2655bb28aa2e6e0f0039e3e4dd589bb8282dcb430ca4cc4