[INFO] updating cached repository https://github.com/ProCynic/hello-rust [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] c765f4a5be06a6192d02bb7f1a1e45489585f028 [INFO] documenting ProCynic/hello-rust against try#66dfc4e010913fbed0c4ea91fc2c010004b0f441 for pr-73566 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FProCynic%2Fhello-rust" "/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/ProCynic/hello-rust 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/ProCynic/hello-rust [INFO] finished tweaking git repo https://github.com/ProCynic/hello-rust [INFO] tweaked toml for git repo https://github.com/ProCynic/hello-rust written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/ProCynic/hello-rust 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] error: the lock file /workspace/builds/worker-8/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] 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" "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] [stdout] 899157c5e97d01e4650e98e9fda68dbc99160442f762277fea7be503b4c6bb3e [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" "899157c5e97d01e4650e98e9fda68dbc99160442f762277fea7be503b4c6bb3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "899157c5e97d01e4650e98e9fda68dbc99160442f762277fea7be503b4c6bb3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "899157c5e97d01e4650e98e9fda68dbc99160442f762277fea7be503b4c6bb3e", kill_on_drop: false }` [INFO] [stdout] 899157c5e97d01e4650e98e9fda68dbc99160442f762277fea7be503b4c6bb3e [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" "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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 959d51249479f6681305afb815d39c7a55fc95f77de22cc43c805153bd6b4770 [INFO] running `Command { std: "docker" "start" "-a" "959d51249479f6681305afb815d39c7a55fc95f77de22cc43c805153bd6b4770", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking tinyvec v0.3.3 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Checking once_cell v1.4.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Checking pin-project-lite v0.1.7 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking modifier v0.1.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Checking route-recognizer v0.1.13 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Checking unicode-normalization v0.1.13 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Checking plugin v0.2.6 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking tokio v0.2.21 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Checking postgres-protocol v0.5.1 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Checking postgres-types v0.1.1 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking iron v0.6.1 [INFO] [stderr] Checking persistent v0.4.0 [INFO] [stderr] Checking router v0.6.0 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling async-trait v0.1.36 [INFO] [stderr] Checking bodyparser v0.8.0 [INFO] [stderr] Checking pin-project v0.4.22 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking tokio-postgres v0.5.4 [INFO] [stderr] Checking postgres v0.17.3 [INFO] [stderr] Documenting hello_rust v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `self::postgres::Connection`, `self::postgres::SslMode` [INFO] [stdout] --> src/models/mod.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use self::postgres::{Connection, SslMode}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ no `SslMode` in the root [INFO] [stdout] | | [INFO] [stdout] | no `Connection` in the root [INFO] [stdout] | help: a similar name exists in the module (notice the capitalization): `connection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ConnectError` in this scope [INFO] [stdout] --> src/models/mod.rs:11:50 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Model { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 11 | fn get_db_connection() -> Result { [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 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432. [INFO] [stdout] [INFO] [stderr] error: Could not document `hello_rust`. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --crate-type bin --crate-name hello_rust 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 bodyparser=/opt/rustwide/target/debug/deps/libbodyparser-3fadeb99f05f68f6.rmeta --extern iron=/opt/rustwide/target/debug/deps/libiron-6fd001e216c89826.rmeta --extern postgres=/opt/rustwide/target/debug/deps/libpostgres-430acee9c05d3da1.rmeta --extern router=/opt/rustwide/target/debug/deps/librouter-c1134e796d2d864d.rmeta --extern rustc_serialize=/opt/rustwide/target/debug/deps/librustc_serialize-7ddf6b4d13e0395e.rmeta --cap-lints=forbid` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "959d51249479f6681305afb815d39c7a55fc95f77de22cc43c805153bd6b4770", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "959d51249479f6681305afb815d39c7a55fc95f77de22cc43c805153bd6b4770", kill_on_drop: false }` [INFO] [stdout] 959d51249479f6681305afb815d39c7a55fc95f77de22cc43c805153bd6b4770