[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bdef74c4d7a3110ae2b5d35f3c82548a93840387 [INFO] checking alecdotninja/wikipedia-word-counter against try#c8bdaa84ec1b37f18f30375e196a65b7602f3790 for pr-73345 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falecdotninja%2Fwikipedia-word-counter" "/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/alecdotninja/wikipedia-word-counter on toolchain c8bdaa84ec1b37f18f30375e196a65b7602f3790 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "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-5/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" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "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" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fbffe9ee4e178065f1642857acfb77e156eb581bd5824814edf5fe0a16ffbdf9 [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" "fbffe9ee4e178065f1642857acfb77e156eb581bd5824814edf5fe0a16ffbdf9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fbffe9ee4e178065f1642857acfb77e156eb581bd5824814edf5fe0a16ffbdf9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbffe9ee4e178065f1642857acfb77e156eb581bd5824814edf5fe0a16ffbdf9", kill_on_drop: false }` [INFO] [stdout] fbffe9ee4e178065f1642857acfb77e156eb581bd5824814edf5fe0a16ffbdf9 [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" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "check" "--frozen" "--all" "--all-targets" "--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] 7ad439182df095a47c8220d48b09e2fb891eb47531dd565819bea65a7e1f4089 [INFO] running `Command { std: "docker" "start" "-a" "7ad439182df095a47c8220d48b09e2fb891eb47531dd565819bea65a7e1f4089", kill_on_drop: false }` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.31 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling encoding_rs v0.8.23 [INFO] [stderr] Compiling serde v1.0.112 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking parse_wiki_text v0.1.5 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking crossbeam-channel v0.4.2 [INFO] [stderr] Checking backtrace v0.3.49 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking quick-xml v0.12.4 [INFO] [stderr] Checking bstr v0.2.13 [INFO] [stderr] Checking parse_mediawiki_dump v0.1.0 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Checking wikipedia-word-counter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the trait bound `std::io::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 `std::io::BufReader` [INFO] [stdout] | [INFO] [stdout] = note: required by `csv::writer::Writer::::from_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::io::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 `std::io::BufReader` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/csv-1.1.3/src/writer.rs:508:22 [INFO] [stdout] | [INFO] [stdout] 508 | pub struct Writer { [INFO] [stdout] | --------- required by this bound in `csv::writer::Writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_record` found for struct `csv::writer::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 `csv::writer::Writer>` [INFO] [stdout] | [INFO] [stdout] = note: the method `write_record` exists but the following trait bounds were not satisfied: [INFO] [stdout] `std::io::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] [stdout] error[E0277]: the trait bound `std::io::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 `std::io::BufReader` [INFO] [stdout] | [INFO] [stdout] = note: required by `csv::writer::Writer::::from_writer` [INFO] [stdout] [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 `std::io::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 `std::io::BufReader` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/csv-1.1.3/src/writer.rs:508:22 [INFO] [stdout] | [INFO] [stdout] 508 | pub struct Writer { [INFO] [stdout] | --------- required by this bound in `csv::writer::Writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_record` found for struct `csv::writer::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 `csv::writer::Writer>` [INFO] [stdout] | [INFO] [stdout] = note: the method `write_record` exists but the following trait bounds were not satisfied: [INFO] [stdout] `std::io::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" "7ad439182df095a47c8220d48b09e2fb891eb47531dd565819bea65a7e1f4089", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ad439182df095a47c8220d48b09e2fb891eb47531dd565819bea65a7e1f4089", kill_on_drop: false }` [INFO] [stdout] 7ad439182df095a47c8220d48b09e2fb891eb47531dd565819bea65a7e1f4089