[INFO] updating cached repository https://github.com/zmbush/yapcc [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] 9308660fc9ed59ab2ce7a59dfad141121b347196 [INFO] testing zmbush/yapcc against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzmbush%2Fyapcc" "/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/zmbush/yapcc on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zmbush/yapcc [INFO] finished tweaking git repo https://github.com/zmbush/yapcc [INFO] tweaked toml for git repo https://github.com/zmbush/yapcc written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/zmbush/yapcc already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "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" "+1.45.2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "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" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b950069db50a4369de5151f7ec83e731ca02ad36f89b711228d057208cfb4496 [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" "b950069db50a4369de5151f7ec83e731ca02ad36f89b711228d057208cfb4496", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b950069db50a4369de5151f7ec83e731ca02ad36f89b711228d057208cfb4496", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b950069db50a4369de5151f7ec83e731ca02ad36f89b711228d057208cfb4496", kill_on_drop: false }` [INFO] [stdout] b950069db50a4369de5151f7ec83e731ca02ad36f89b711228d057208cfb4496 [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" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6f54e91eb4e5be4d4f54dcbeb6688398a94c434bab43c7633ec5a4bc552223d [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" "d6f54e91eb4e5be4d4f54dcbeb6688398a94c434bab43c7633ec5a4bc552223d", kill_on_drop: false }` [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling bstr v0.2.13 [INFO] [stderr] Compiling csv v1.1.3 [INFO] [stderr] Compiling yapcc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `Parser` in `toml` [INFO] [stdout] --> src/races.rs:187:32 [INFO] [stdout] | [INFO] [stdout] 187 | let mut parser = toml::Parser::new(&cont); [INFO] [stdout] | ^^^^^^ could not find `Parser` in `toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Decoder` in `toml` [INFO] [stdout] --> src/races.rs:190:58 [INFO] [stdout] | [INFO] [stdout] 190 | races: try!(Decodable::decode(&mut toml::Decoder::new(toml::Value::Table(res)))) [INFO] [stdout] | ^^^^^^^ could not find `Decoder` in `toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DecodeError` in crate `toml` [INFO] [stdout] --> src/error.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | DecodeError(toml::DecodeError), [INFO] [stdout] | ^^^^^^^^^^^ not found in `toml` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `error::YAPCCError::DecodeError`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 10 | DecodeError(error::YAPCCError), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DecodeError` in crate `toml` [INFO] [stdout] --> src/error.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | toml::DecodeError => DecodeError [INFO] [stdout] | ^^^^^^^^^^^ not found in `toml` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `error::YAPCCError::DecodeError`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 38 | error::YAPCCError => DecodeError [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `encode_str` in crate `toml` [INFO] [stdout] --> src/main.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | println!("{}", toml::encode_str(&race)); [INFO] [stdout] | ^^^^^^^^^^ not found in `toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `encode_str` in crate `toml` [INFO] [stdout] --> src/main.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | println!("{}", toml::encode_str(&book)); [INFO] [stdout] | ^^^^^^^^^^ not found in `toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(append, result_expect)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/races.rs:42:67 [INFO] [stdout] | [INFO] [stdout] 42 | let mut abilities: HashMap> = try!(d.read_str()) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/races.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | Some(v) => try!(v).clone(), [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | strength: get_score!(str), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/races.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | Some(v) => try!(v).clone(), [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | dexterity: get_score!(dex), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/races.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | Some(v) => try!(v).clone(), [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | constitution: get_score!(con), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/races.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | Some(v) => try!(v).clone(), [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | intelligence: get_score!(int), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/races.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | Some(v) => try!(v).clone(), [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | wisdom: get_score!(wis), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/races.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | Some(v) => try!(v).clone(), [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | charisma: get_score!(cha) [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/races.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | try!(e.emit_str(&val)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/races.rs:184:24 [INFO] [stdout] | [INFO] [stdout] 184 | let mut file = try!(File::open(Path::new(&f))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/races.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | try!(file.read_to_string(&mut cont)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/races.rs:190:24 [INFO] [stdout] | [INFO] [stdout] 190 | races: try!(Decodable::decode(&mut toml::Decoder::new(toml::Value::Table(res)))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/spells.rs:20:42 [INFO] [stdout] | [INFO] [stdout] 20 | Ok(SpellTraits {$($name: try!(d.read_str()) == "x"),*}) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | / gen_spell_traits! { ritual, verbal, somatic, material, concentration, [INFO] [stdout] 27 | | bard, cleric, druid, paladin, ranger, sorcerer, warlock, wizard } [INFO] [stdout] | |_____________________________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/spells.rs:46:24 [INFO] [stdout] | [INFO] [stdout] 46 | let mut file = try!(File::open(Path::new(&f))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/spells.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | try!(file.read_to_string(&mut cont)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/main.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | let book = try!(SpellBook::new("spells.csv")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/main.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | let races = try!(PartialRaces::new("races.toml")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Encodable`, `Encoder` [INFO] [stdout] --> src/spells.rs:3:43 [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_serialize::{Decodable, Decoder, Encodable, Encoder}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/main.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | #![deny(unused)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[warn(unused_imports)]` implied by `#[warn(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `yapcc`. [INFO] [stdout] error[E0599]: no function or associated item named `from_string` found for struct `csv::Reader<_>` in the current scope [INFO] [stdout] --> src/spells.rs:49:36 [INFO] [stdout] | [INFO] [stdout] 49 | let mut rdr = csv::Reader::from_string(cont).has_headers(true); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `csv::Reader<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error: aborting due to 8 previous errors; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0554, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d6f54e91eb4e5be4d4f54dcbeb6688398a94c434bab43c7633ec5a4bc552223d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6f54e91eb4e5be4d4f54dcbeb6688398a94c434bab43c7633ec5a4bc552223d", kill_on_drop: false }` [INFO] [stdout] d6f54e91eb4e5be4d4f54dcbeb6688398a94c434bab43c7633ec5a4bc552223d