[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] testing alecdotninja/wikipedia-word-counter against beta-2020-07-24 for beta-1.46-1 [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 beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "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" "+beta-2020-07-24" "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" "+beta-2020-07-24" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6a3d2616b1265214e1c8d3d251cafb6c5721ccb37357cefbb6d15bc16b5a25c3 [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" "6a3d2616b1265214e1c8d3d251cafb6c5721ccb37357cefbb6d15bc16b5a25c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6a3d2616b1265214e1c8d3d251cafb6c5721ccb37357cefbb6d15bc16b5a25c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a3d2616b1265214e1c8d3d251cafb6c5721ccb37357cefbb6d15bc16b5a25c3", kill_on_drop: false }` [INFO] [stdout] 6a3d2616b1265214e1c8d3d251cafb6c5721ccb37357cefbb6d15bc16b5a25c3 [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=warn" "-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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4247283ce8809fe199a8699d9047ebae780802e2c30591ff64e419b7a7e8e857 [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" "4247283ce8809fe199a8699d9047ebae780802e2c30591ff64e419b7a7e8e857", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling parse_wiki_text v0.1.5 [INFO] [stderr] Compiling addr2line v0.13.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling bstr v0.2.13 [INFO] [stderr] Compiling backtrace v0.3.50 [INFO] [stderr] Compiling crossbeam-channel v0.4.3 [INFO] [stderr] Compiling csv v1.1.3 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling quick-xml v0.12.4 [INFO] [stderr] Compiling parse_mediawiki_dump v0.1.0 [INFO] [stderr] Compiling 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::::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` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_record` found for struct `csv::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>` [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: could not compile `wikipedia-word-counter`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "4247283ce8809fe199a8699d9047ebae780802e2c30591ff64e419b7a7e8e857", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4247283ce8809fe199a8699d9047ebae780802e2c30591ff64e419b7a7e8e857", kill_on_drop: false }` [INFO] [stdout] 4247283ce8809fe199a8699d9047ebae780802e2c30591ff64e419b7a7e8e857