[INFO] fetching crate edit_dist 0.1.0... [INFO] testing edit_dist-0.1.0 against beta-2022-02-22 for beta-1.60-1 [INFO] extracting crate edit_dist 0.1.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate edit_dist 0.1.0 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate edit_dist 0.1.0 [INFO] finished tweaking crates.io crate edit_dist 0.1.0 [INFO] tweaked toml for crates.io crate edit_dist 0.1.0 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cb5593baa84d7a4ddc8c96f03f7a07debfe26671387a1ad7a40d1c1ecb3fb01b [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" "cb5593baa84d7a4ddc8c96f03f7a07debfe26671387a1ad7a40d1c1ecb3fb01b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb5593baa84d7a4ddc8c96f03f7a07debfe26671387a1ad7a40d1c1ecb3fb01b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb5593baa84d7a4ddc8c96f03f7a07debfe26671387a1ad7a40d1c1ecb3fb01b", kill_on_drop: false }` [INFO] [stdout] cb5593baa84d7a4ddc8c96f03f7a07debfe26671387a1ad7a40d1c1ecb3fb01b [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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "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] 34f6985a624e667b75b8678f51f6d85f8c72732e7d1bcddc1452a0b0b46cba1d [INFO] running `Command { std: "docker" "start" "-a" "34f6985a624e667b75b8678f51f6d85f8c72732e7d1bcddc1452a0b0b46cba1d", kill_on_drop: false }` [INFO] [stderr] Compiling edit_dist v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.40s [INFO] running `Command { std: "docker" "inspect" "34f6985a624e667b75b8678f51f6d85f8c72732e7d1bcddc1452a0b0b46cba1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34f6985a624e667b75b8678f51f6d85f8c72732e7d1bcddc1452a0b0b46cba1d", kill_on_drop: false }` [INFO] [stdout] 34f6985a624e667b75b8678f51f6d85f8c72732e7d1bcddc1452a0b0b46cba1d [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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--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] 7f73b2b02be856418c1541449e24a98e9dc8c4bd67b4f37ec6dd11a977eafd87 [INFO] running `Command { std: "docker" "start" "-a" "7f73b2b02be856418c1541449e24a98e9dc8c4bd67b4f37ec6dd11a977eafd87", kill_on_drop: false }` [INFO] [stderr] Compiling edit_dist v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.22s [INFO] running `Command { std: "docker" "inspect" "7f73b2b02be856418c1541449e24a98e9dc8c4bd67b4f37ec6dd11a977eafd87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f73b2b02be856418c1541449e24a98e9dc8c4bd67b4f37ec6dd11a977eafd87", kill_on_drop: false }` [INFO] [stdout] 7f73b2b02be856418c1541449e24a98e9dc8c4bd67b4f37ec6dd11a977eafd87 [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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2e4db4bf572768a868c2600b4aab3e7d57da79d487fcda4c984b6d0107b1801d [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" "2e4db4bf572768a868c2600b4aab3e7d57da79d487fcda4c984b6d0107b1801d", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/edit_dist-eddffe4ab29354a1) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test tests::distance_test_1 ... ok [INFO] [stdout] test tests::distance_test_2 ... ok [INFO] [stdout] test tests::distance_test_3 ... ok [INFO] [stdout] test matrix::test::test_get ... ok [INFO] [stdout] test matrix::test::test_get_index ... ok [INFO] [stdout] test matrix::test::test_get_mut ... ok [INFO] [stdout] test matrix::test::test_index ... ok [INFO] [stderr] Doc-tests edit_dist [INFO] [stdout] test matrix::test::test_index_mut ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test src/lib.rs - levenshtein (line 12) ... FAILED [INFO] [stdout] test src/matrix.rs - matrix::Matrix::get_index (line 42) ... FAILED [INFO] [stdout] test src/matrix.rs - matrix::Matrix::index (line 129) ... FAILED [INFO] [stdout] test src/matrix.rs - matrix::Matrix::index_mut (line 150) ... FAILED [INFO] [stdout] test src/matrix.rs - matrix::Matrix::new (line 25) ... FAILED [INFO] [stdout] test src/matrix.rs - matrix::Matrix::get (line 62) ... FAILED [INFO] [stdout] test src/matrix.rs - matrix::Matrix::get_mut (line 87) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - levenshtein (line 12) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `edit_distance` [INFO] [stdout] --> src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 4 | use edit_distance::levenshtein; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `edit_distance` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 4 | use edit_dist::levenshtein; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `char` found for reference `&'static str` in the current scope [INFO] [stdout] --> src/lib.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 6 | "lorem".char(), [INFO] [stdout] | ^^^^ help: there is an associated function with a similar name: `chars` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `char` found for reference `&'static str` in the current scope [INFO] [stdout] --> src/lib.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 7 | "ipsum".char() [INFO] [stdout] | ^^^^ help: there is an associated function with a similar name: `chars` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/matrix.rs - matrix::Matrix::get_index (line 42) stdout ---- [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/matrix.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_matrix_rs_42_0() { [INFO] [stdout] | -------------------------------- this function can't have a `self` parameter [INFO] [stdout] 3 | let idx = self.get_index((2, 3)); [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0424`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/matrix.rs - matrix::Matrix::index (line 129) stdout ---- [INFO] [stdout] error: expected `;`, found `}` [INFO] [stdout] --> src/matrix.rs:132:27 [INFO] [stdout] | [INFO] [stdout] 5 | let value = matrix[(0, 0)] [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 6 | } _doctest_main_src_matrix_rs_129_0() } [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix` [INFO] [stdout] --> src/matrix.rs:130:14 [INFO] [stdout] | [INFO] [stdout] 3 | let matrix = Matrix::new(3, 7); [INFO] [stdout] | ^^^^^^ use of undeclared type `Matrix` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/matrix.rs - matrix::Matrix::index_mut (line 150) stdout ---- [INFO] [stdout] error: expected `;`, found `}` [INFO] [stdout] --> src/matrix.rs:153:27 [INFO] [stdout] | [INFO] [stdout] 5 | let value = matrix[(0, 0)] [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 6 | } _doctest_main_src_matrix_rs_150_0() } [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix` [INFO] [stdout] --> src/matrix.rs:151:14 [INFO] [stdout] | [INFO] [stdout] 3 | let matrix = Matrix::new(3, 7); [INFO] [stdout] | ^^^^^^ use of undeclared type `Matrix` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/matrix.rs - matrix::Matrix::new (line 25) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix` [INFO] [stdout] --> src/matrix.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 3 | let matrix = Matrix::new(3, 7); [INFO] [stdout] | ^^^^^^ use of undeclared type `Matrix` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/matrix.rs - matrix::Matrix::get (line 62) stdout ---- [INFO] [stdout] error[E0585]: found a documentation comment that doesn't document anything [INFO] [stdout] --> src/matrix.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 10 | /// ... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: doc comments must come before what they document, maybe a comment was intended with `//`? [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix` [INFO] [stdout] --> src/matrix.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 3 | let matrix = Matrix::new(7, 3); [INFO] [stdout] | ^^^^^^ use of undeclared type `Matrix` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0585. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/matrix.rs - matrix::Matrix::get_mut (line 87) stdout ---- [INFO] [stdout] error[E0585]: found a documentation comment that doesn't document anything [INFO] [stdout] --> src/matrix.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 10 | /// ... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: doc comments must come before what they document, maybe a comment was intended with `//`? [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix` [INFO] [stdout] --> src/matrix.rs:88:18 [INFO] [stdout] | [INFO] [stdout] 3 | let mut matrix = Matrix::new(7, 3); [INFO] [stdout] | ^^^^^^ use of undeclared type `Matrix` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0585. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - levenshtein (line 12) [INFO] [stdout] src/matrix.rs - matrix::Matrix::get (line 62) [INFO] [stdout] src/matrix.rs - matrix::Matrix::get_index (line 42) [INFO] [stdout] src/matrix.rs - matrix::Matrix::get_mut (line 87) [INFO] [stdout] src/matrix.rs - matrix::Matrix::index (line 129) [INFO] [stdout] src/matrix.rs - matrix::Matrix::index_mut (line 150) [INFO] [stdout] src/matrix.rs - matrix::Matrix::new (line 25) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.54s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "2e4db4bf572768a868c2600b4aab3e7d57da79d487fcda4c984b6d0107b1801d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e4db4bf572768a868c2600b4aab3e7d57da79d487fcda4c984b6d0107b1801d", kill_on_drop: false }` [INFO] [stdout] 2e4db4bf572768a868c2600b4aab3e7d57da79d487fcda4c984b6d0107b1801d