[INFO] cloning repository https://github.com/alecdotninja/wikipedia-word-counter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alecdotninja/wikipedia-word-counter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falecdotninja%2Fwikipedia-word-counter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falecdotninja%2Fwikipedia-word-counter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bdef74c4d7a3110ae2b5d35f3c82548a93840387 [INFO] checking alecdotninja/wikipedia-word-counter against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falecdotninja%2Fwikipedia-word-counter" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alecdotninja/wikipedia-word-counter on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/alecdotninja/wikipedia-word-counter [INFO] finished tweaking git repo https://github.com/alecdotninja/wikipedia-word-counter [INFO] tweaked toml for git repo https://github.com/alecdotninja/wikipedia-word-counter written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/alecdotninja/wikipedia-word-counter already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-0/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded parse_mediawiki_dump v0.1.0 [INFO] [stderr] Downloaded parse_wiki_text v0.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0623e709cd04e671b4fd235681a2bd26cb4d6012f70edef7277c0d9691c8130a [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" "0623e709cd04e671b4fd235681a2bd26cb4d6012f70edef7277c0d9691c8130a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0623e709cd04e671b4fd235681a2bd26cb4d6012f70edef7277c0d9691c8130a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0623e709cd04e671b4fd235681a2bd26cb4d6012f70edef7277c0d9691c8130a", kill_on_drop: false }` [INFO] [stdout] 0623e709cd04e671b4fd235681a2bd26cb4d6012f70edef7277c0d9691c8130a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0192ee165fa21ff612df2415d2595c917bc34189549a858981524f9d08c30ce9 [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" "0192ee165fa21ff612df2415d2595c917bc34189549a858981524f9d08c30ce9", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Checking object v0.22.0 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking parse_wiki_text v0.1.5 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Checking encoding_rs v0.8.26 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking addr2line v0.14.1 [INFO] [stderr] Checking backtrace v0.3.55 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Checking bstr v0.2.14 [INFO] [stderr] Checking csv v1.1.5 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking quick-xml v0.12.4 [INFO] [stderr] Checking parse_mediawiki_dump v0.1.0 [INFO] [stderr] Checking wikipedia-word-counter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the trait bound `BufReader: std::io::Write` is not satisfied [INFO] [stdout] --> src/main.rs:17:51 [INFO] [stdout] | [INFO] [stdout] 17 | let mut csv_writer = csv::Writer::from_writer(buffered_stdin()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `std::io::Write` is not implemented for `BufReader` [INFO] [stdout] | [INFO] [stdout] = note: required by `Writer::::from_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `BufReader: std::io::Write` is not satisfied [INFO] [stdout] --> src/main.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | let mut csv_writer = csv::Writer::from_writer(buffered_stdin()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::io::Write` is not implemented for `BufReader` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/csv-1.1.5/src/writer.rs:508:22 [INFO] [stdout] | [INFO] [stdout] 508 | pub struct Writer { [INFO] [stdout] | --------- required by this bound in `Writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_record` found for struct `Writer>` in the current scope [INFO] [stdout] --> src/main.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | csv_writer.write_record(&[word, count.to_string()]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Writer>` [INFO] [stdout] | [INFO] [stdout] = note: the method `write_record` exists but the following trait bounds were not satisfied: [INFO] [stdout] `BufReader: std::io::Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wikipedia-word-counter` [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[E0277]: the trait bound `BufReader: std::io::Write` is not satisfied [INFO] [stdout] --> src/main.rs:17:51 [INFO] [stdout] | [INFO] [stdout] 17 | let mut csv_writer = csv::Writer::from_writer(buffered_stdin()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `std::io::Write` is not implemented for `BufReader` [INFO] [stdout] | [INFO] [stdout] = note: required by `Writer::::from_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `BufReader: std::io::Write` is not satisfied [INFO] [stdout] --> src/main.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | let mut csv_writer = csv::Writer::from_writer(buffered_stdin()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::io::Write` is not implemented for `BufReader` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/csv-1.1.5/src/writer.rs:508:22 [INFO] [stdout] | [INFO] [stdout] 508 | pub struct Writer { [INFO] [stdout] | --------- required by this bound in `Writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_record` found for struct `Writer>` in the current scope [INFO] [stdout] --> src/main.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | csv_writer.write_record(&[word, count.to_string()]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Writer>` [INFO] [stdout] | [INFO] [stdout] = note: the method `write_record` exists but the following trait bounds were not satisfied: [INFO] [stdout] `BufReader: std::io::Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "0192ee165fa21ff612df2415d2595c917bc34189549a858981524f9d08c30ce9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0192ee165fa21ff612df2415d2595c917bc34189549a858981524f9d08c30ce9", kill_on_drop: false }` [INFO] [stdout] 0192ee165fa21ff612df2415d2595c917bc34189549a858981524f9d08c30ce9