[INFO] cloning repository https://github.com/mookid/diffr [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mookid/diffr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmookid%2Fdiffr", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmookid%2Fdiffr'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 79d7ac6ccdb886da658e432c1e7ef7f02f486981 [INFO] checking mookid/diffr against master#4fb54ed484e2239a3e9eff3be17df00d2a162be3 for pr-73345 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmookid%2Fdiffr" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mookid/diffr on toolchain 4fb54ed484e2239a3e9eff3be17df00d2a162be3 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4fb54ed484e2239a3e9eff3be17df00d2a162be3" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mookid/diffr [INFO] removed path dependency diffr-lib from git repo https://github.com/mookid/diffr [INFO] finished tweaking git repo https://github.com/mookid/diffr [INFO] tweaked toml for git repo https://github.com/mookid/diffr written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/mookid/diffr already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4fb54ed484e2239a3e9eff3be17df00d2a162be3" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-5/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" "+4fb54ed484e2239a3e9eff3be17df00d2a162be3" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4fb54ed484e2239a3e9eff3be17df00d2a162be3" "fetch" "--locked" "--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" "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:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+4fb54ed484e2239a3e9eff3be17df00d2a162be3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 577cee093c7b86c16b06a45a079c1bd2629b8c8c5ffbdabd9f3d58f54d1ecb15 [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" "577cee093c7b86c16b06a45a079c1bd2629b8c8c5ffbdabd9f3d58f54d1ecb15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "577cee093c7b86c16b06a45a079c1bd2629b8c8c5ffbdabd9f3d58f54d1ecb15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "577cee093c7b86c16b06a45a079c1bd2629b8c8c5ffbdabd9f3d58f54d1ecb15", kill_on_drop: false }` [INFO] [stdout] 577cee093c7b86c16b06a45a079c1bd2629b8c8c5ffbdabd9f3d58f54d1ecb15 [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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+4fb54ed484e2239a3e9eff3be17df00d2a162be3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ce6b41ad90e207b8898a4514bdc02bb64e1abaf39ec53ff751a9ca777208f15c [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" "ce6b41ad90e207b8898a4514bdc02bb64e1abaf39ec53ff751a9ca777208f15c", kill_on_drop: false }` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking diffr-lib v0.1.3 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking diffr v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `diffr_lib::TokenMap` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use diffr_lib::TokenMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `TokenMap` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `diffr_lib::TokenMap` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use diffr_lib::TokenMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `TokenMap` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 193 | fn shared_spans(added_tokens: &Tokenization, diff_buffer: &Vec) -> Vec<(usize, usize)> { [INFO] [stdout] | ------------------- expected `std::vec::Vec<(usize, usize)>` because of return type [INFO] [stdout] ... [INFO] [stdout] 200 | shared_spans [INFO] [stdout] | ^^^^^^^^^^^^ expected tuple, found struct `diffr_lib::HashedSpan` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::vec::Vec<(usize, usize)>` [INFO] [stdout] found struct `std::vec::Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/main.rs:345:23 [INFO] [stdout] | [INFO] [stdout] 345 | let removed = Tokenization::new(data, removed_tokens, &m); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ---- -------------- -- supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/main.rs:346:21 [INFO] [stdout] | [INFO] [stdout] 346 | let added = Tokenization::new(data, added_tokens, &m); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ---- ------------ -- supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `diffr_lib::DiffInput<'_>` in the current scope [INFO] [stdout] --> src/main.rs:347:33 [INFO] [stdout] | [INFO] [stdout] 347 | let tokens = DiffInput::new(&added, &removed); [INFO] [stdout] | ^^^ function or associated item not found in `diffr_lib::DiffInput<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/main.rs:352:19 [INFO] [stdout] | [INFO] [stdout] 352 | let lcs = Tokenization::new(data, &shared_spans, &m); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ---- ------------- -- supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `added` found for struct `diffr_lib::DiffInput<'_>` in the current scope [INFO] [stdout] --> src/main.rs:370:36 [INFO] [stdout] | [INFO] [stdout] 370 | ... tokens.added(), [INFO] [stdout] | ^^^^^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `removed` found for struct `diffr_lib::DiffInput<'_>` in the current scope [INFO] [stdout] --> src/main.rs:377:36 [INFO] [stdout] | [INFO] [stdout] 377 | ... tokens.removed(), [INFO] [stdout] | ^^^^^^^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 193 | fn shared_spans(added_tokens: &Tokenization, diff_buffer: &Vec) -> Vec<(usize, usize)> { [INFO] [stdout] | ------------------- expected `std::vec::Vec<(usize, usize)>` because of return type [INFO] [stdout] ... [INFO] [stdout] 200 | shared_spans [INFO] [stdout] | ^^^^^^^^^^^^ expected tuple, found struct `diffr_lib::HashedSpan` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::vec::Vec<(usize, usize)>` [INFO] [stdout] found struct `std::vec::Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/main.rs:345:23 [INFO] [stdout] | [INFO] [stdout] 345 | let removed = Tokenization::new(data, removed_tokens, &m); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ---- -------------- -- supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/main.rs:346:21 [INFO] [stdout] | [INFO] [stdout] 346 | let added = Tokenization::new(data, added_tokens, &m); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ---- ------------ -- supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `diffr_lib::DiffInput<'_>` in the current scope [INFO] [stdout] --> src/main.rs:347:33 [INFO] [stdout] | [INFO] [stdout] 347 | let tokens = DiffInput::new(&added, &removed); [INFO] [stdout] | ^^^ function or associated item not found in `diffr_lib::DiffInput<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:449:17 [INFO] [stdout] | [INFO] [stdout] 449 | &mut self.added_tokens [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ expected struct `diffr_lib::HashedSpan`, found tuple [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::vec::Vec` [INFO] [stdout] found mutable reference `&mut std::vec::Vec<(usize, usize)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/main.rs:352:19 [INFO] [stdout] | [INFO] [stdout] 352 | let lcs = Tokenization::new(data, &shared_spans, &m); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ---- ------------- -- supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `added` found for struct `diffr_lib::DiffInput<'_>` in the current scope [INFO] [stdout] --> src/main.rs:370:36 [INFO] [stdout] | [INFO] [stdout] 370 | ... tokens.added(), [INFO] [stdout] | ^^^^^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `removed` found for struct `diffr_lib::DiffInput<'_>` in the current scope [INFO] [stdout] --> src/main.rs:377:36 [INFO] [stdout] | [INFO] [stdout] 377 | ... tokens.removed(), [INFO] [stdout] | ^^^^^^^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:449:17 [INFO] [stdout] | [INFO] [stdout] 449 | &mut self.added_tokens [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ expected struct `diffr_lib::HashedSpan`, found tuple [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::vec::Vec` [INFO] [stdout] found mutable reference `&mut std::vec::Vec<(usize, usize)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:451:17 [INFO] [stdout] | [INFO] [stdout] 451 | &mut self.removed_tokens [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `diffr_lib::HashedSpan`, found tuple [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::vec::Vec` [INFO] [stdout] found mutable reference `&mut std::vec::Vec<(usize, usize)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:451:17 [INFO] [stdout] | [INFO] [stdout] 451 | &mut self.removed_tokens [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `diffr_lib::HashedSpan`, found tuple [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::vec::Vec` [INFO] [stdout] found mutable reference `&mut std::vec::Vec<(usize, usize)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `diffr`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "ce6b41ad90e207b8898a4514bdc02bb64e1abaf39ec53ff751a9ca777208f15c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce6b41ad90e207b8898a4514bdc02bb64e1abaf39ec53ff751a9ca777208f15c", kill_on_drop: false }` [INFO] [stdout] ce6b41ad90e207b8898a4514bdc02bb64e1abaf39ec53ff751a9ca777208f15c