[INFO] fetching crate edit_dist 0.1.0...
[INFO] testing edit_dist-0.1.0 against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[INFO] extracting crate edit_dist 0.1.0 into /workspace/builds/worker-0-tc1/source
[INFO] validating manifest of crates.io crate edit_dist 0.1.0 on toolchain 1871252fc8bb672d40787e67404e6eaae7059369
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "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-0-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6b38a1f631d68345232b0abde058316c25330cc95a963ce9451bfe7d5883d699
[INFO] running `Command { std: "docker" "start" "-a" "6b38a1f631d68345232b0abde058316c25330cc95a963ce9451bfe7d5883d699", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6b38a1f631d68345232b0abde058316c25330cc95a963ce9451bfe7d5883d699", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6b38a1f631d68345232b0abde058316c25330cc95a963ce9451bfe7d5883d699", kill_on_drop: false }`
[INFO] [stdout] 6b38a1f631d68345232b0abde058316c25330cc95a963ce9451bfe7d5883d699
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5af6df676d3072a00fdec1b511bdb05780de773d0c728d0e86d6e30b3682e585
[INFO] running `Command { std: "docker" "start" "-a" "5af6df676d3072a00fdec1b511bdb05780de773d0c728d0e86d6e30b3682e585", kill_on_drop: false }`
[INFO] [stderr]    Compiling edit_dist v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.08s
[INFO] running `Command { std: "docker" "inspect" "5af6df676d3072a00fdec1b511bdb05780de773d0c728d0e86d6e30b3682e585", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5af6df676d3072a00fdec1b511bdb05780de773d0c728d0e86d6e30b3682e585", kill_on_drop: false }`
[INFO] [stdout] 5af6df676d3072a00fdec1b511bdb05780de773d0c728d0e86d6e30b3682e585
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e9b9c5022eab7b8c6ed9fcf234d81845c2cdecf037d3371d1e441cdd22f516d7
[INFO] running `Command { std: "docker" "start" "-a" "e9b9c5022eab7b8c6ed9fcf234d81845c2cdecf037d3371d1e441cdd22f516d7", kill_on_drop: false }`
[INFO] [stderr]    Compiling edit_dist v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.38s
[INFO] running `Command { std: "docker" "inspect" "e9b9c5022eab7b8c6ed9fcf234d81845c2cdecf037d3371d1e441cdd22f516d7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e9b9c5022eab7b8c6ed9fcf234d81845c2cdecf037d3371d1e441cdd22f516d7", kill_on_drop: false }`
[INFO] [stdout] e9b9c5022eab7b8c6ed9fcf234d81845c2cdecf037d3371d1e441cdd22f516d7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] b7ab3185913a6bff5fd7d88d214bee09a3c9cc39b5cae64f93ec9ed372311b22
[INFO] running `Command { std: "docker" "start" "-a" "b7ab3185913a6bff5fd7d88d214bee09a3c9cc39b5cae64f93ec9ed372311b22", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/edit_dist-934ffb2173c9478e)
[INFO] [stdout] 
[INFO] [stdout] running 8 tests
[INFO] [stdout] test matrix::test::test_get ... ok
[INFO] [stdout] test tests::distance_test_3 ... ok
[INFO] [stdout] test tests::distance_test_2 ... 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_mut ... ok
[INFO] [stdout] test tests::distance_test_1 ... ok
[INFO] [stdout] test matrix::test::test_index ... 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] [stderr]    Doc-tests edit_dist
[INFO] [stdout] 
[INFO] [stdout] running 7 tests
[INFO] [stdout] test src/matrix.rs - matrix::Matrix<T>::get_index (line 42) ... FAILED
[INFO] [stdout] test src/matrix.rs - matrix::Matrix<T>::index_mut (line 150) ... FAILED
[INFO] [stdout] test src/matrix.rs - matrix::Matrix<T>::new (line 25) ... FAILED
[INFO] [stdout] test src/lib.rs - levenshtein (line 12) ... FAILED
[INFO] [stdout] test src/matrix.rs - matrix::Matrix<T>::get (line 62) ... FAILED
[INFO] [stdout] test src/matrix.rs - matrix::Matrix<T>::index (line 129) ... FAILED
[INFO] [stdout] test src/matrix.rs - matrix::Matrix<T>::get_mut (line 87) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/matrix.rs - matrix::Matrix<T>::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 1 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<T>::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<T>::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 1 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/lib.rs - levenshtein (line 12) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `edit_distance`
[INFO] [stdout]  --> src/lib.rs:14:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | 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] 5 | 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:16:13
[INFO] [stdout]   |
[INFO] [stdout] 7 |     "lorem".char(),
[INFO] [stdout]   |             ^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: there is a method `chars` with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 7 |     "lorem".chars(),
[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:17:13
[INFO] [stdout]   |
[INFO] [stdout] 8 |     "ipsum".char()
[INFO] [stdout]   |             ^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: there is a method `chars` with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 8 |     "ipsum".chars()
[INFO] [stdout]   |             ~~~~~
[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<T>::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, if a comment was intended use `//`
[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<T>::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<T>::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, if a comment was intended use `//`
[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<T>::get (line 62)
[INFO] [stdout]     src/matrix.rs - matrix::Matrix<T>::get_index (line 42)
[INFO] [stdout]     src/matrix.rs - matrix::Matrix<T>::get_mut (line 87)
[INFO] [stdout]     src/matrix.rs - matrix::Matrix<T>::index (line 129)
[INFO] [stdout]     src/matrix.rs - matrix::Matrix<T>::index_mut (line 150)
[INFO] [stdout]     src/matrix.rs - matrix::Matrix<T>::new (line 25)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "b7ab3185913a6bff5fd7d88d214bee09a3c9cc39b5cae64f93ec9ed372311b22", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b7ab3185913a6bff5fd7d88d214bee09a3c9cc39b5cae64f93ec9ed372311b22", kill_on_drop: false }`
[INFO] [stdout] b7ab3185913a6bff5fd7d88d214bee09a3c9cc39b5cae64f93ec9ed372311b22
[INFO] testing edit_dist-0.1.0 against try#b642703cf9526da1e72c0b6755753b939a9c6b6d for pr-125151
[INFO] extracting crate edit_dist 0.1.0 into /workspace/builds/worker-0-tc2/source
[INFO] validating manifest of crates.io crate edit_dist 0.1.0 on toolchain b642703cf9526da1e72c0b6755753b939a9c6b6d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "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-0-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1f78bef508027b7ec8fe3f30bce4eeb08f84dddb81db8511c51f7b718c4c3bbf
[INFO] running `Command { std: "docker" "start" "-a" "1f78bef508027b7ec8fe3f30bce4eeb08f84dddb81db8511c51f7b718c4c3bbf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1f78bef508027b7ec8fe3f30bce4eeb08f84dddb81db8511c51f7b718c4c3bbf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1f78bef508027b7ec8fe3f30bce4eeb08f84dddb81db8511c51f7b718c4c3bbf", kill_on_drop: false }`
[INFO] [stdout] 1f78bef508027b7ec8fe3f30bce4eeb08f84dddb81db8511c51f7b718c4c3bbf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1370fb8aaa1f86a1770a3b1d53b7f73cc6bb57ca32d1cc4fa78640f8b41730b7
[INFO] running `Command { std: "docker" "start" "-a" "1370fb8aaa1f86a1770a3b1d53b7f73cc6bb57ca32d1cc4fa78640f8b41730b7", kill_on_drop: false }`
[INFO] [stderr]    Compiling edit_dist v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.08s
[INFO] running `Command { std: "docker" "inspect" "1370fb8aaa1f86a1770a3b1d53b7f73cc6bb57ca32d1cc4fa78640f8b41730b7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1370fb8aaa1f86a1770a3b1d53b7f73cc6bb57ca32d1cc4fa78640f8b41730b7", kill_on_drop: false }`
[INFO] [stdout] 1370fb8aaa1f86a1770a3b1d53b7f73cc6bb57ca32d1cc4fa78640f8b41730b7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 785e11a594e3fbb50a2d8f72025ccac6a9428c1aba51089c4f71e9cb99e4f8e7
[INFO] running `Command { std: "docker" "start" "-a" "785e11a594e3fbb50a2d8f72025ccac6a9428c1aba51089c4f71e9cb99e4f8e7", kill_on_drop: false }`
[INFO] [stderr]    Compiling edit_dist v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.36s
[INFO] running `Command { std: "docker" "inspect" "785e11a594e3fbb50a2d8f72025ccac6a9428c1aba51089c4f71e9cb99e4f8e7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "785e11a594e3fbb50a2d8f72025ccac6a9428c1aba51089c4f71e9cb99e4f8e7", kill_on_drop: false }`
[INFO] [stdout] 785e11a594e3fbb50a2d8f72025ccac6a9428c1aba51089c4f71e9cb99e4f8e7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] e4fc042224ed2c197ea11b8bbb7892012989f2a1a3f0c81ff7c0b1f23e4af7b1
[INFO] running `Command { std: "docker" "start" "-a" "e4fc042224ed2c197ea11b8bbb7892012989f2a1a3f0c81ff7c0b1f23e4af7b1", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.00s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/edit_dist-934ffb2173c9478e)
[INFO] [stdout] 
[INFO] [stdout] running 8 tests
[INFO] [stdout] test matrix::test::test_get ... ok
[INFO] [stdout] test matrix::test::test_get_index ... ok
[INFO] [stdout] test matrix::test::test_index ... ok
[INFO] [stdout] test matrix::test::test_index_mut ... ok
[INFO] [stdout] test matrix::test::test_get_mut ... ok
[INFO] [stdout] test tests::distance_test_1 ... ok
[INFO] [stdout] test tests::distance_test_3 ... ok
[INFO] [stdout] test tests::distance_test_2 ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests edit_dist
[INFO] [stdout] 
[INFO] [stdout] running 7 tests
[INFO] [stdout] test src/matrix.rs - matrix::Matrix<T>::get_index (line 42) ... FAILED
[INFO] [stdout] test src/matrix.rs - matrix::Matrix<T>::new (line 25) ... FAILED
[INFO] [stdout] test src/lib.rs - levenshtein (line 12) ... FAILED
[INFO] [stdout] test src/matrix.rs - matrix::Matrix<T>::index_mut (line 150) ... FAILED
[INFO] [stdout] test src/matrix.rs - matrix::Matrix<T>::get_mut (line 87) ... FAILED
[INFO] [stdout] test src/matrix.rs - matrix::Matrix<T>::get (line 62) ... FAILED
[INFO] [stdout] test src/matrix.rs - matrix::Matrix<T>::index (line 129) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/matrix.rs - matrix::Matrix<T>::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 1 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<T>::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 1 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/lib.rs - levenshtein (line 12) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `edit_distance`
[INFO] [stdout]  --> src/lib.rs:14:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | 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] 5 | 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:16:13
[INFO] [stdout]   |
[INFO] [stdout] 7 |     "lorem".char(),
[INFO] [stdout]   |             ^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: there is a method `chars` with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 7 |     "lorem".chars(),
[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:17:13
[INFO] [stdout]   |
[INFO] [stdout] 8 |     "ipsum".char()
[INFO] [stdout]   |             ^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: there is a method `chars` with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 8 |     "ipsum".chars()
[INFO] [stdout]   |             ~~~~~
[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<T>::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<T>::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, if a comment was intended use `//`
[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] ---- src/matrix.rs - matrix::Matrix<T>::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, if a comment was intended use `//`
[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<T>::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] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - levenshtein (line 12)
[INFO] [stdout]     src/matrix.rs - matrix::Matrix<T>::get (line 62)
[INFO] [stdout]     src/matrix.rs - matrix::Matrix<T>::get_index (line 42)
[INFO] [stdout]     src/matrix.rs - matrix::Matrix<T>::get_mut (line 87)
[INFO] [stdout]     src/matrix.rs - matrix::Matrix<T>::index (line 129)
[INFO] [stdout]     src/matrix.rs - matrix::Matrix<T>::index_mut (line 150)
[INFO] [stdout]     src/matrix.rs - matrix::Matrix<T>::new (line 25)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "e4fc042224ed2c197ea11b8bbb7892012989f2a1a3f0c81ff7c0b1f23e4af7b1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e4fc042224ed2c197ea11b8bbb7892012989f2a1a3f0c81ff7c0b1f23e4af7b1", kill_on_drop: false }`
[INFO] [stdout] e4fc042224ed2c197ea11b8bbb7892012989f2a1a3f0c81ff7c0b1f23e4af7b1
