[INFO] cloning repository https://github.com/Church-/CryptoActor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Church-/CryptoActor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChurch-%2FCryptoActor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChurch-%2FCryptoActor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a8b0577603be3ffa9bc048d64025ee421f3dc022 [INFO] checking Church-/CryptoActor against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChurch-%2FCryptoActor" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Church-/CryptoActor 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/Church-/CryptoActor [INFO] finished tweaking git repo https://github.com/Church-/CryptoActor [INFO] tweaked toml for git repo https://github.com/Church-/CryptoActor written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/Church-/CryptoActor 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] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7d8c5878d8113e1e7803fef4e5e4ed23d13c970e0ed85c9e83d5fd39a946dc8f [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" "7d8c5878d8113e1e7803fef4e5e4ed23d13c970e0ed85c9e83d5fd39a946dc8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d8c5878d8113e1e7803fef4e5e4ed23d13c970e0ed85c9e83d5fd39a946dc8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d8c5878d8113e1e7803fef4e5e4ed23d13c970e0ed85c9e83d5fd39a946dc8f", kill_on_drop: false }` [INFO] [stdout] 7d8c5878d8113e1e7803fef4e5e4ed23d13c970e0ed85c9e83d5fd39a946dc8f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8478d465e065fb2fb65cc0e2c4d2e875a2885ed62c3ce266e1201ab8587ee0e4 [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" "8478d465e065fb2fb65cc0e2c4d2e875a2885ed62c3ce266e1201ab8587ee0e4", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.36 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking byteorder v1.2.1 [INFO] [stderr] Checking pest v0.4.1 [INFO] [stderr] Checking term v0.4.6 [INFO] [stderr] Checking encode_unicode v0.3.1 [INFO] [stderr] Checking unicode-width v0.1.4 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking atty v0.2.6 [INFO] [stderr] Checking rand v0.3.22 [INFO] [stderr] Checking fake v1.2.1 [INFO] [stderr] Checking rouler v0.1.3 [INFO] [stderr] Checking csv v0.15.0 [INFO] [stderr] Checking prettytable-rs v0.6.7 [INFO] [stderr] Checking CryptoActorGenerator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `data` [INFO] [stdout] --> src/char.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | mod data; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `data`, create file "src/char/data.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `data` [INFO] [stdout] --> src/char.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | mod data; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `data`, create file "src/char/data.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rouler` [INFO] [stdout] --> src/char.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rouler::roll_dice; [INFO] [stdout] | ^^^^^^ help: a similar path exists: `self::rouler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand` [INFO] [stdout] --> src/char.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use rand::Rng; [INFO] [stdout] | ^^^^ help: a similar path exists: `self::rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Name` in `fake` [INFO] [stdout] --> src/char.rs:72:27 [INFO] [stdout] | [INFO] [stdout] 72 | self.name = fake::Name::first_name; [INFO] [stdout] | ^^^^ could not find `Name` in `fake` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Name` in `fake` [INFO] [stdout] --> src/char.rs:73:31 [INFO] [stdout] | [INFO] [stdout] 73 | self.trueName = fake::Name::first_name; [INFO] [stdout] | ^^^^ could not find `Name` in `fake` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `data` in `data` [INFO] [stdout] --> src/char.rs:106:42 [INFO] [stdout] | [INFO] [stdout] 106 | self.personality.desires = data::data::desires[Rng::thread_rng::gen_range(0,data::data::desires.len())]; [INFO] [stdout] | ^^^^ could not find `data` in `data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `data` in `data` [INFO] [stdout] --> src/char.rs:106:91 [INFO] [stdout] | [INFO] [stdout] 106 | self.personality.desires = data::data::desires[Rng::thread_rng::gen_range(0,data::data::desires.len())]; [INFO] [stdout] | ^^^^ could not find `data` in `data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `data` in `data` [INFO] [stdout] --> src/char.rs:107:40 [INFO] [stdout] | [INFO] [stdout] 107 | self.personality.fears = data::data::fears[Rng::thread_rng::gen_range(0,data::data::fears.len())]; [INFO] [stdout] | ^^^^ could not find `data` in `data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `data` in `data` [INFO] [stdout] --> src/char.rs:107:87 [INFO] [stdout] | [INFO] [stdout] 107 | self.personality.fears = data::data::fears[Rng::thread_rng::gen_range(0,data::data::fears.len())]; [INFO] [stdout] | ^^^^ could not find `data` in `data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `data` in `data` [INFO] [stdout] --> src/char.rs:108:40 [INFO] [stdout] | [INFO] [stdout] 108 | self.personality.tends = data::data::tendsTo[Rng::thread_rng::gen_range(0,data::data::tendsTo.len())]; [INFO] [stdout] | ^^^^ could not find `data` in `data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `data` in `data` [INFO] [stdout] --> src/char.rs:108:89 [INFO] [stdout] | [INFO] [stdout] 108 | self.personality.tends = data::data::tendsTo[Rng::thread_rng::gen_range(0,data::data::tendsTo.len())]; [INFO] [stdout] | ^^^^ could not find `data` in `data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `data` in `data` [INFO] [stdout] --> src/char.rs:109:39 [INFO] [stdout] | [INFO] [stdout] 109 | self.personality.used = data::data::usedTo[Rng::thread_rng::gen_range(0,data::data::usedTo.len())]; [INFO] [stdout] | ^^^^ could not find `data` in `data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `data` in `data` [INFO] [stdout] --> src/char.rs:109:87 [INFO] [stdout] | [INFO] [stdout] 109 | self.personality.used = data::data::usedTo[Rng::thread_rng::gen_range(0,data::data::usedTo.len())]; [INFO] [stdout] | ^^^^ could not find `data` in `data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `data` in `data` [INFO] [stdout] --> src/char.rs:113:34 [INFO] [stdout] | [INFO] [stdout] 113 | self.looks.build = data::data::build[Rng::thread_rng::gen_range(0,data::data::build.len())]; [INFO] [stdout] | ^^^^ could not find `data` in `data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `data` in `data` [INFO] [stdout] --> src/char.rs:113:81 [INFO] [stdout] | [INFO] [stdout] 113 | self.looks.build = data::data::build[Rng::thread_rng::gen_range(0,data::data::build.len())]; [INFO] [stdout] | ^^^^ could not find `data` in `data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `data` in `data` [INFO] [stdout] --> src/char.rs:114:33 [INFO] [stdout] | [INFO] [stdout] 114 | self.looks.eyes = data::data::eyes[Rng::thread_rng::gen_range(0,data::data::eyes.len())]; [INFO] [stdout] | ^^^^ could not find `data` in `data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `data` in `data` [INFO] [stdout] --> src/char.rs:114:79 [INFO] [stdout] | [INFO] [stdout] 114 | self.looks.eyes = data::data::eyes[Rng::thread_rng::gen_range(0,data::data::eyes.len())]; [INFO] [stdout] | ^^^^ could not find `data` in `data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `data` in `data` [INFO] [stdout] --> src/char.rs:115:33 [INFO] [stdout] | [INFO] [stdout] 115 | self.looks.hair = data::data::hair[Rng::thread_rng::gen_range(0,data::data::hair.len())]; [INFO] [stdout] | ^^^^ could not find `data` in `data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `data` in `data` [INFO] [stdout] --> src/char.rs:115:79 [INFO] [stdout] | [INFO] [stdout] 115 | self.looks.hair = data::data::hair[Rng::thread_rng::gen_range(0,data::data::hair.len())]; [INFO] [stdout] | ^^^^ could not find `data` in `data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `data` in `data` [INFO] [stdout] --> src/char.rs:116:33 [INFO] [stdout] | [INFO] [stdout] 116 | self.looks.skin = data::data::skin[Rng::thread_rng::gen_range(0,data::data::skin.len())]; [INFO] [stdout] | ^^^^ could not find `data` in `data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `data` in `data` [INFO] [stdout] --> src/char.rs:116:79 [INFO] [stdout] | [INFO] [stdout] 116 | self.looks.skin = data::data::skin[Rng::thread_rng::gen_range(0,data::data::skin.len())]; [INFO] [stdout] | ^^^^ could not find `data` in `data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found builtin type `char` [INFO] [stdout] --> src/char.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | char = Char { [INFO] [stdout] | ^^^^ not a value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a` [INFO] [stdout] --> src/char.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 13 | struct Char { [INFO] [stdout] | - help: consider introducing lifetime `'a` here: `<'a>` [INFO] [stdout] ... [INFO] [stdout] 18 | stats: HashMap<&'a str, i64>, [INFO] [stdout] | ^^ undeclared lifetime [INFO] [stdout] | [INFO] [stdout] = help: if you want to experiment with in-band lifetime bindings, add `#![feature(in_band_lifetimes)]` to the crate attributes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rouler` [INFO] [stdout] --> src/char.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rouler::roll_dice; [INFO] [stdout] | ^^^^^^ help: a similar path exists: `self::rouler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand` [INFO] [stdout] --> src/char.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use rand::Rng; [INFO] [stdout] | ^^^^ help: a similar path exists: `self::rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Name` in `fake` [INFO] [stdout] --> src/char.rs:72:27 [INFO] [stdout] | [INFO] [stdout] 72 | self.name = fake::Name::first_name; [INFO] [stdout] | ^^^^ could not find `Name` in `fake` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Name` in `fake` [INFO] [stdout] --> src/char.rs:73:31 [INFO] [stdout] | [INFO] [stdout] 73 | self.trueName = fake::Name::first_name; [INFO] [stdout] | ^^^^ could not find `Name` in `fake` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `data` in `data` [INFO] [stdout] --> src/char.rs:106:42 [INFO] [stdout] | [INFO] [stdout] 106 | self.personality.desires = data::data::desires[Rng::thread_rng::gen_range(0,data::data::desires.len())]; [INFO] [stdout] | ^^^^ could not find `data` in `data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `data` in `data` [INFO] [stdout] --> src/char.rs:106:91 [INFO] [stdout] | [INFO] [stdout] 106 | self.personality.desires = data::data::desires[Rng::thread_rng::gen_range(0,data::data::desires.len())]; [INFO] [stdout] | ^^^^ could not find `data` in `data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `data` in `data` [INFO] [stdout] --> src/char.rs:107:40 [INFO] [stdout] | [INFO] [stdout] 107 | self.personality.fears = data::data::fears[Rng::thread_rng::gen_range(0,data::data::fears.len())]; [INFO] [stdout] | ^^^^ could not find `data` in `data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `data` in `data` [INFO] [stdout] --> src/char.rs:107:87 [INFO] [stdout] | [INFO] [stdout] 107 | self.personality.fears = data::data::fears[Rng::thread_rng::gen_range(0,data::data::fears.len())]; [INFO] [stdout] | ^^^^ could not find `data` in `data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `data` in `data` [INFO] [stdout] --> src/char.rs:108:40 [INFO] [stdout] | [INFO] [stdout] 108 | self.personality.tends = data::data::tendsTo[Rng::thread_rng::gen_range(0,data::data::tendsTo.len())]; [INFO] [stdout] | ^^^^ could not find `data` in `data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `data` in `data` [INFO] [stdout] --> src/char.rs:108:89 [INFO] [stdout] | [INFO] [stdout] 108 | self.personality.tends = data::data::tendsTo[Rng::thread_rng::gen_range(0,data::data::tendsTo.len())]; [INFO] [stdout] | ^^^^ could not find `data` in `data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `data` in `data` [INFO] [stdout] --> src/char.rs:109:39 [INFO] [stdout] | [INFO] [stdout] 109 | self.personality.used = data::data::usedTo[Rng::thread_rng::gen_range(0,data::data::usedTo.len())]; [INFO] [stdout] | ^^^^ could not find `data` in `data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `data` in `data` [INFO] [stdout] --> src/char.rs:109:87 [INFO] [stdout] | [INFO] [stdout] 109 | self.personality.used = data::data::usedTo[Rng::thread_rng::gen_range(0,data::data::usedTo.len())]; [INFO] [stdout] | ^^^^ could not find `data` in `data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `data` in `data` [INFO] [stdout] --> src/char.rs:113:34 [INFO] [stdout] | [INFO] [stdout] 113 | self.looks.build = data::data::build[Rng::thread_rng::gen_range(0,data::data::build.len())]; [INFO] [stdout] | ^^^^ could not find `data` in `data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `data` in `data` [INFO] [stdout] --> src/char.rs:113:81 [INFO] [stdout] | [INFO] [stdout] 113 | self.looks.build = data::data::build[Rng::thread_rng::gen_range(0,data::data::build.len())]; [INFO] [stdout] | ^^^^ could not find `data` in `data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `data` in `data` [INFO] [stdout] --> src/char.rs:114:33 [INFO] [stdout] | [INFO] [stdout] 114 | self.looks.eyes = data::data::eyes[Rng::thread_rng::gen_range(0,data::data::eyes.len())]; [INFO] [stdout] | ^^^^ could not find `data` in `data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `data` in `data` [INFO] [stdout] --> src/char.rs:114:79 [INFO] [stdout] | [INFO] [stdout] 114 | self.looks.eyes = data::data::eyes[Rng::thread_rng::gen_range(0,data::data::eyes.len())]; [INFO] [stdout] | ^^^^ could not find `data` in `data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `data` in `data` [INFO] [stdout] --> src/char.rs:115:33 [INFO] [stdout] | [INFO] [stdout] 115 | self.looks.hair = data::data::hair[Rng::thread_rng::gen_range(0,data::data::hair.len())]; [INFO] [stdout] | ^^^^ could not find `data` in `data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `data` in `data` [INFO] [stdout] --> src/char.rs:115:79 [INFO] [stdout] | [INFO] [stdout] 115 | self.looks.hair = data::data::hair[Rng::thread_rng::gen_range(0,data::data::hair.len())]; [INFO] [stdout] | ^^^^ could not find `data` in `data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `data` in `data` [INFO] [stdout] --> src/char.rs:116:33 [INFO] [stdout] | [INFO] [stdout] 116 | self.looks.skin = data::data::skin[Rng::thread_rng::gen_range(0,data::data::skin.len())]; [INFO] [stdout] | ^^^^ could not find `data` in `data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `data` in `data` [INFO] [stdout] --> src/char.rs:116:79 [INFO] [stdout] | [INFO] [stdout] 116 | self.looks.skin = data::data::skin[Rng::thread_rng::gen_range(0,data::data::skin.len())]; [INFO] [stdout] | ^^^^ could not find `data` in `data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found builtin type `char` [INFO] [stdout] --> src/char.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | char = Char { [INFO] [stdout] | ^^^^ not a value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a` [INFO] [stdout] --> src/char.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 13 | struct Char { [INFO] [stdout] | - help: consider introducing lifetime `'a` here: `<'a>` [INFO] [stdout] ... [INFO] [stdout] 18 | stats: HashMap<&'a str, i64>, [INFO] [stdout] | ^^ undeclared lifetime [INFO] [stdout] | [INFO] [stdout] = help: if you want to experiment with in-band lifetime bindings, add `#![feature(in_band_lifetimes)]` to the crate attributes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/char.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 48 | name: "", [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `String`, found `&str` [INFO] [stdout] | help: try using a conversion method: `"".to_string()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/char.rs:49:23 [INFO] [stdout] | [INFO] [stdout] 49 | trueName: "", [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `String`, found `&str` [INFO] [stdout] | help: try using a conversion method: `"".to_string()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/char.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 50 | race: "", [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `String`, found `&str` [INFO] [stdout] | help: try using a conversion method: `"".to_string()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/char.rs:56:26 [INFO] [stdout] | [INFO] [stdout] 56 | desires: "", [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `String`, found `&str` [INFO] [stdout] | help: try using a conversion method: `"".to_string()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/char.rs:57:24 [INFO] [stdout] | [INFO] [stdout] 57 | fears: "", [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `String`, found `&str` [INFO] [stdout] | help: try using a conversion method: `"".to_string()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/char.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 48 | name: "", [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `String`, found `&str` [INFO] [stdout] | help: try using a conversion method: `"".to_string()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/char.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | tends: "", [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `String`, found `&str` [INFO] [stdout] | help: try using a conversion method: `"".to_string()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/char.rs:59:23 [INFO] [stdout] | [INFO] [stdout] 59 | used: "" [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `String`, found `&str` [INFO] [stdout] | help: try using a conversion method: `"".to_string()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/char.rs:49:23 [INFO] [stdout] | [INFO] [stdout] 49 | trueName: "", [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `String`, found `&str` [INFO] [stdout] | help: try using a conversion method: `"".to_string()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/char.rs:55:26 [INFO] [stdout] | [INFO] [stdout] 55 | personality: self.personality = Personality { [INFO] [stdout] | __________________________^ [INFO] [stdout] 56 | | desires: "", [INFO] [stdout] 57 | | fears: "", [INFO] [stdout] 58 | | tends: "", [INFO] [stdout] 59 | | used: "" [INFO] [stdout] 60 | | }, [INFO] [stdout] | |_____________^ expected struct `Personality`, found `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/char.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 50 | race: "", [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `String`, found `&str` [INFO] [stdout] | help: try using a conversion method: `"".to_string()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/char.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 62 | build: "", [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `String`, found `&str` [INFO] [stdout] | help: try using a conversion method: `"".to_string()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/char.rs:63:23 [INFO] [stdout] | [INFO] [stdout] 63 | eyes: "", [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `String`, found `&str` [INFO] [stdout] | help: try using a conversion method: `"".to_string()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/char.rs:56:26 [INFO] [stdout] | [INFO] [stdout] 56 | desires: "", [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `String`, found `&str` [INFO] [stdout] | help: try using a conversion method: `"".to_string()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/char.rs:64:23 [INFO] [stdout] | [INFO] [stdout] 64 | hair: "", [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `String`, found `&str` [INFO] [stdout] | help: try using a conversion method: `"".to_string()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/char.rs:57:24 [INFO] [stdout] | [INFO] [stdout] 57 | fears: "", [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `String`, found `&str` [INFO] [stdout] | help: try using a conversion method: `"".to_string()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/char.rs:65:23 [INFO] [stdout] | [INFO] [stdout] 65 | skin: "" [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `String`, found `&str` [INFO] [stdout] | help: try using a conversion method: `"".to_string()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/char.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 61 | looks: self.looks = Looks { [INFO] [stdout] | ____________________^ [INFO] [stdout] 62 | | build: "", [INFO] [stdout] 63 | | eyes: "", [INFO] [stdout] 64 | | hair: "", [INFO] [stdout] 65 | | skin: "" [INFO] [stdout] 66 | | } [INFO] [stdout] | |_____________^ expected struct `Looks`, found `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `age` in initializer of `Char` [INFO] [stdout] --> src/char.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 47 | char = Char { [INFO] [stdout] | ^^^^ missing `age` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/char.rs:46:30 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn new(&mut self) -> Char { [INFO] [stdout] | --- ^^^^ expected struct `Char`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/char.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 82 | match &self.race { [INFO] [stdout] | ---------- this expression has type `&String` [INFO] [stdout] 83 | "Elf" => self.age = Rng::thread_rng::gen_range(26,500), [INFO] [stdout] | ^^^^^ expected struct `String`, found `str` [INFO] [stdout] | [INFO] [stdout] = note: expected type `&String` [INFO] [stdout] found reference `&'static str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/char.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 82 | match &self.race { [INFO] [stdout] | ---------- this expression has type `&String` [INFO] [stdout] 83 | "Elf" => self.age = Rng::thread_rng::gen_range(26,500), [INFO] [stdout] 84 | "Human" => self.age = Rng::thread_rng::gen_range(15,100), [INFO] [stdout] | ^^^^^^^ expected struct `String`, found `str` [INFO] [stdout] | [INFO] [stdout] = note: expected type `&String` [INFO] [stdout] found reference `&'static str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/char.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 82 | match &self.race { [INFO] [stdout] | ---------- this expression has type `&String` [INFO] [stdout] ... [INFO] [stdout] 85 | "Dwarf" => self.age = Rng::thread_rng::gen_range(20,300), [INFO] [stdout] | ^^^^^^^ expected struct `String`, found `str` [INFO] [stdout] | [INFO] [stdout] = note: expected type `&String` [INFO] [stdout] found reference `&'static str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/char.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | tends: "", [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `String`, found `&str` [INFO] [stdout] | help: try using a conversion method: `"".to_string()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot add `{integer}` to `Option<&i64>` [INFO] [stdout] --> src/char.rs:96:51 [INFO] [stdout] | [INFO] [stdout] 96 | self.health = self.stats.get("Endurance") + 5 ; [INFO] [stdout] | --------------------------- ^ - {integer} [INFO] [stdout] | | [INFO] [stdout] | Option<&i64> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot add `{integer}` to `Option<&i64>` [INFO] [stdout] --> src/char.rs:97:44 [INFO] [stdout] | [INFO] [stdout] 97 | self.mana = self.stats.get("Will") + 5; [INFO] [stdout] | ---------------------- ^ - {integer} [INFO] [stdout] | | [INFO] [stdout] | Option<&i64> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[&str]` cannot be known at compilation time [INFO] [stdout] --> src/char.rs:125:29 [INFO] [stdout] | [INFO] [stdout] 125 | fn genStats(char: &mut Char,statList: [&str], diceType: &str ) { [INFO] [stdout] | ^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[&str]` [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 125 | fn genStats(char: &mut Char,&statList: [&str], diceType: &str ) { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 44 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0261, E0277, E0308, E0369, E0423, E0432, E0433, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] error: could not compile `CryptoActorGenerator` [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/char.rs:59:23 [INFO] [stdout] | [INFO] [stdout] 59 | used: "" [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `String`, found `&str` [INFO] [stdout] | help: try using a conversion method: `"".to_string()` [INFO] [stdout] [INFO] [stdout] [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[E0308]: mismatched types [INFO] [stdout] --> src/char.rs:55:26 [INFO] [stdout] | [INFO] [stdout] 55 | personality: self.personality = Personality { [INFO] [stdout] | __________________________^ [INFO] [stdout] 56 | | desires: "", [INFO] [stdout] 57 | | fears: "", [INFO] [stdout] 58 | | tends: "", [INFO] [stdout] 59 | | used: "" [INFO] [stdout] 60 | | }, [INFO] [stdout] | |_____________^ expected struct `Personality`, found `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/char.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 62 | build: "", [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `String`, found `&str` [INFO] [stdout] | help: try using a conversion method: `"".to_string()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/char.rs:63:23 [INFO] [stdout] | [INFO] [stdout] 63 | eyes: "", [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `String`, found `&str` [INFO] [stdout] | help: try using a conversion method: `"".to_string()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/char.rs:64:23 [INFO] [stdout] | [INFO] [stdout] 64 | hair: "", [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `String`, found `&str` [INFO] [stdout] | help: try using a conversion method: `"".to_string()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/char.rs:65:23 [INFO] [stdout] | [INFO] [stdout] 65 | skin: "" [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `String`, found `&str` [INFO] [stdout] | help: try using a conversion method: `"".to_string()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/char.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 61 | looks: self.looks = Looks { [INFO] [stdout] | ____________________^ [INFO] [stdout] 62 | | build: "", [INFO] [stdout] 63 | | eyes: "", [INFO] [stdout] 64 | | hair: "", [INFO] [stdout] 65 | | skin: "" [INFO] [stdout] 66 | | } [INFO] [stdout] | |_____________^ expected struct `Looks`, found `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `age` in initializer of `Char` [INFO] [stdout] --> src/char.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 47 | char = Char { [INFO] [stdout] | ^^^^ missing `age` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/char.rs:46:30 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn new(&mut self) -> Char { [INFO] [stdout] | --- ^^^^ expected struct `Char`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/char.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 82 | match &self.race { [INFO] [stdout] | ---------- this expression has type `&String` [INFO] [stdout] 83 | "Elf" => self.age = Rng::thread_rng::gen_range(26,500), [INFO] [stdout] | ^^^^^ expected struct `String`, found `str` [INFO] [stdout] | [INFO] [stdout] = note: expected type `&String` [INFO] [stdout] found reference `&'static str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/char.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 82 | match &self.race { [INFO] [stdout] | ---------- this expression has type `&String` [INFO] [stdout] 83 | "Elf" => self.age = Rng::thread_rng::gen_range(26,500), [INFO] [stdout] 84 | "Human" => self.age = Rng::thread_rng::gen_range(15,100), [INFO] [stdout] | ^^^^^^^ expected struct `String`, found `str` [INFO] [stdout] | [INFO] [stdout] = note: expected type `&String` [INFO] [stdout] found reference `&'static str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/char.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 82 | match &self.race { [INFO] [stdout] | ---------- this expression has type `&String` [INFO] [stdout] ... [INFO] [stdout] 85 | "Dwarf" => self.age = Rng::thread_rng::gen_range(20,300), [INFO] [stdout] | ^^^^^^^ expected struct `String`, found `str` [INFO] [stdout] | [INFO] [stdout] = note: expected type `&String` [INFO] [stdout] found reference `&'static str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot add `{integer}` to `Option<&i64>` [INFO] [stdout] --> src/char.rs:96:51 [INFO] [stdout] | [INFO] [stdout] 96 | self.health = self.stats.get("Endurance") + 5 ; [INFO] [stdout] | --------------------------- ^ - {integer} [INFO] [stdout] | | [INFO] [stdout] | Option<&i64> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot add `{integer}` to `Option<&i64>` [INFO] [stdout] --> src/char.rs:97:44 [INFO] [stdout] | [INFO] [stdout] 97 | self.mana = self.stats.get("Will") + 5; [INFO] [stdout] | ---------------------- ^ - {integer} [INFO] [stdout] | | [INFO] [stdout] | Option<&i64> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[&str]` cannot be known at compilation time [INFO] [stdout] --> src/char.rs:125:29 [INFO] [stdout] | [INFO] [stdout] 125 | fn genStats(char: &mut Char,statList: [&str], diceType: &str ) { [INFO] [stdout] | ^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[&str]` [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 125 | fn genStats(char: &mut Char,&statList: [&str], diceType: &str ) { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 44 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0261, E0277, E0308, E0369, E0423, E0432, E0433, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8478d465e065fb2fb65cc0e2c4d2e875a2885ed62c3ce266e1201ab8587ee0e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8478d465e065fb2fb65cc0e2c4d2e875a2885ed62c3ce266e1201ab8587ee0e4", kill_on_drop: false }` [INFO] [stdout] 8478d465e065fb2fb65cc0e2c4d2e875a2885ed62c3ce266e1201ab8587ee0e4