[INFO] updating cached repository https://github.com/ca1ek/game [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] bf5d5499d280b3c603218ad52b6a0fbba2522794 [INFO] documenting ca1ek/game against try#66dfc4e010913fbed0c4ea91fc2c010004b0f441 for pr-73566 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fca1ek%2Fgame" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ca1ek/game on toolchain 66dfc4e010913fbed0c4ea91fc2c010004b0f441 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ca1ek/game [INFO] removed path dependency engine from git repo https://github.com/ca1ek/game [INFO] finished tweaking git repo https://github.com/ca1ek/game [INFO] tweaked toml for git repo https://github.com/ca1ek/game written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/ca1ek/game already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (engine) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-9/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" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (engine) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "metadata" "--no-deps" "--format-version=1", 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] f3a3fe500922b94f20498d0822c4d54e0c42b6b2cd6ffe0ff4f683fb4c97861f [INFO] running `Command { std: "docker" "start" "-a" "f3a3fe500922b94f20498d0822c4d54e0c42b6b2cd6ffe0ff4f683fb4c97861f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f3a3fe500922b94f20498d0822c4d54e0c42b6b2cd6ffe0ff4f683fb4c97861f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3a3fe500922b94f20498d0822c4d54e0c42b6b2cd6ffe0ff4f683fb4c97861f", kill_on_drop: false }` [INFO] [stdout] f3a3fe500922b94f20498d0822c4d54e0c42b6b2cd6ffe0ff4f683fb4c97861f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "RUSTDOCFLAGS=--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:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 392ed16b7fa9230ed27e312b3788de513ef07f9503e9539a61cb5170ab8a127d [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" "392ed16b7fa9230ed27e312b3788de513ef07f9503e9539a61cb5170ab8a127d", kill_on_drop: false }` [INFO] [stderr] warning: dependency (engine) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking gimli v0.21.0 [INFO] [stderr] Checking object v0.20.0 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling sdl2 v0.34.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Compiling sdl2-sys v0.34.2 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Checking addr2line v0.12.2 [INFO] [stderr] Checking backtrace v0.3.49 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking engine v0.0.0 [INFO] [stderr] Documenting game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `engine::Message` [INFO] [stdout] --> src/messages.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use engine::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `Message` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `entity_prototype` in this scope [INFO] [stdout] --> src/player.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | entity_prototype!(Player { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SystemId` in this scope [INFO] [stdout] --> src/systems.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Sdl { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 9 | id: Option, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `System` in this scope [INFO] [stdout] --> src/systems.rs:42:6 [INFO] [stdout] | [INFO] [stdout] 42 | impl System for Sdl { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityFactory` in this scope [INFO] [stdout] --> src/systems.rs:43:41 [INFO] [stdout] | [INFO] [stdout] 43 | fn update(&mut self, entities: &mut EntityFactory, message_broker: &mut MessageBroker) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MessageBroker` in this scope [INFO] [stdout] --> src/systems.rs:43:77 [INFO] [stdout] | [INFO] [stdout] 43 | fn update(&mut self, entities: &mut EntityFactory, message_broker: &mut MessageBroker) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SystemId` in this scope [INFO] [stdout] --> src/systems.rs:58:28 [INFO] [stdout] | [INFO] [stdout] 58 | fn init(&mut self, id: SystemId, _: &mut EntityFactory, _: &mut MessageBroker) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityFactory` in this scope [INFO] [stdout] --> src/systems.rs:58:46 [INFO] [stdout] | [INFO] [stdout] 58 | fn init(&mut self, id: SystemId, _: &mut EntityFactory, _: &mut MessageBroker) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MessageBroker` in this scope [INFO] [stdout] --> src/systems.rs:58:69 [INFO] [stdout] | [INFO] [stdout] 58 | fn init(&mut self, id: SystemId, _: &mut EntityFactory, _: &mut MessageBroker) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Message` in this scope [INFO] [stdout] --> src/systems.rs:61:43 [INFO] [stdout] | [INFO] [stdout] 61 | fn accept_message(&mut self, message: Message) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SystemId` in this scope [INFO] [stdout] --> src/systems.rs:67:16 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct PlayerController { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 67 | id: Option, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityId` in this scope [INFO] [stdout] --> src/systems.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | player: EntityId, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityId` in this scope [INFO] [stdout] --> src/systems.rs:73:24 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn new(player: EntityId) -> Self { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `System` in this scope [INFO] [stdout] --> src/systems.rs:82:6 [INFO] [stdout] | [INFO] [stdout] 82 | impl System for PlayerController { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityFactory` in this scope [INFO] [stdout] --> src/systems.rs:83:41 [INFO] [stdout] | [INFO] [stdout] 83 | fn update(&mut self, entities: &mut EntityFactory, message_broker: &mut MessageBroker) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MessageBroker` in this scope [INFO] [stdout] --> src/systems.rs:83:77 [INFO] [stdout] | [INFO] [stdout] 83 | fn update(&mut self, entities: &mut EntityFactory, message_broker: &mut MessageBroker) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SystemId` in this scope [INFO] [stdout] --> src/systems.rs:114:28 [INFO] [stdout] | [INFO] [stdout] 114 | fn init(&mut self, id: SystemId, entities: &mut EntityFactory, message_broker: &mut MessageBroker) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityFactory` in this scope [INFO] [stdout] --> src/systems.rs:114:53 [INFO] [stdout] | [INFO] [stdout] 114 | fn init(&mut self, id: SystemId, entities: &mut EntityFactory, message_broker: &mut MessageBroker) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MessageBroker` in this scope [INFO] [stdout] --> src/systems.rs:114:89 [INFO] [stdout] | [INFO] [stdout] 114 | fn init(&mut self, id: SystemId, entities: &mut EntityFactory, message_broker: &mut MessageBroker) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Message` in this scope [INFO] [stdout] --> src/systems.rs:118:43 [INFO] [stdout] | [INFO] [stdout] 118 | fn accept_message(&mut self, message: Message) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: Could not document `game`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --crate-type bin --crate-name game src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi --document-private-items -L dependency=/opt/rustwide/target/debug/deps --extern engine=/opt/rustwide/target/debug/deps/libengine-6a395986afb3fee7.rmeta --extern sdl2=/opt/rustwide/target/debug/deps/libsdl2-7d137aa36b095646.rmeta --cap-lints=forbid` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "392ed16b7fa9230ed27e312b3788de513ef07f9503e9539a61cb5170ab8a127d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "392ed16b7fa9230ed27e312b3788de513ef07f9503e9539a61cb5170ab8a127d", kill_on_drop: false }` [INFO] [stdout] 392ed16b7fa9230ed27e312b3788de513ef07f9503e9539a61cb5170ab8a127d