[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#36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 for pr-81863 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falecdotninja%2Fwikipedia-word-counter" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alecdotninja/wikipedia-word-counter on toolchain 36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-2/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" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-2/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" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 48f6ad4ecc739a8e330c1bd81ff3c87c6db32a92cc0561534cbd18abfec1644f [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" "48f6ad4ecc739a8e330c1bd81ff3c87c6db32a92cc0561534cbd18abfec1644f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "48f6ad4ecc739a8e330c1bd81ff3c87c6db32a92cc0561534cbd18abfec1644f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48f6ad4ecc739a8e330c1bd81ff3c87c6db32a92cc0561534cbd18abfec1644f", kill_on_drop: false }` [INFO] [stdout] 48f6ad4ecc739a8e330c1bd81ff3c87c6db32a92cc0561534cbd18abfec1644f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c8838f9d5179adfff0787243595ac2e3670194632e659c0dd2e12a2f66afd758 [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" "c8838f9d5179adfff0787243595ac2e3670194632e659c0dd2e12a2f66afd758", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking object v0.23.0 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Checking parse_wiki_text v0.1.5 [INFO] [stderr] Checking addr2line v0.14.1 [INFO] [stderr] Checking encoding_rs v0.8.28 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking regex-automata v0.1.9 [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 crossbeam-channel v0.4.4 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking backtrace v0.3.56 [INFO] [stderr] Checking bstr v0.2.15 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Checking csv v1.1.5 [INFO] [stderr] Compiling failure_derive v0.1.8 [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: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[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]: the method `write_record` exists for struct `Writer>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | csv_writer.write_record(&[word, count.to_string()]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ method cannot be called on `Writer>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `BufReader: std::io::Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `write_record` exists for struct `Writer>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | csv_writer.write_record(&[word, count.to_string()]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ method cannot be called on `Writer>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: 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] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c8838f9d5179adfff0787243595ac2e3670194632e659c0dd2e12a2f66afd758", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8838f9d5179adfff0787243595ac2e3670194632e659c0dd2e12a2f66afd758", kill_on_drop: false }` [INFO] [stdout] c8838f9d5179adfff0787243595ac2e3670194632e659c0dd2e12a2f66afd758