[INFO] updating cached repository https://github.com/gsquire/swell
[INFO] running `"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"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] f86a081fd7de1aabe242989241cb202e17965e07
[INFO] documenting gsquire/swell against 1.40.0 for beta-1.41-rustdoc-1
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgsquire%2Fswell" "/workspace/builds/worker-3/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/gsquire/swell on toolchain 1.40.0
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/gsquire/swell
[INFO] finished tweaking git repo https://github.com/gsquire/swell
[INFO] tweaked toml for git repo https://github.com/gsquire/swell written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] crate git repo https://github.com/gsquire/swell already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] warning: dependency (log) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions
[INFO] [stderr] warning: dependency (time) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions
[INFO] [stderr] warning: unused manifest key: dependencies.log.log
[INFO] [stderr] warning: unused manifest key: dependencies.time.time
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr] error: the lock file /workspace/builds/worker-3/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] the lockfile is outdated, regenerating it
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating git repository `https://github.com/hyperium/hyper.git`
[INFO] [stderr]     Updating git repository `https://github.com/Kimundi/lazy-static.rs`
[INFO] [stderr]     Updating git repository `https://github.com/alexcrichton/toml-rs.git`
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] warning: dependency (log) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions
[INFO] [stderr] warning: dependency (time) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions
[INFO] [stderr] warning: unused manifest key: dependencies.log.log
[INFO] [stderr] warning: unused manifest key: dependencies.time.time
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=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" "/opt/rustwide/cargo-home/bin/cargo" "+1.40.0" "doc" "--frozen" "--no-deps" "--document-private-items"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 254daad28d1f853e587fdd27741c0562fc4cb1bb7fb4d2409a00c54b4bd5842b
[INFO] running `"docker" "start" "-a" "254daad28d1f853e587fdd27741c0562fc4cb1bb7fb4d2409a00c54b4bd5842b"`
[INFO] [stderr] warning: dependency (log) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions
[INFO] [stderr] warning: dependency (time) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions
[INFO] [stderr] warning: unused manifest key: dependencies.log.log
[INFO] [stderr] warning: unused manifest key: dependencies.time.time
[INFO] [stderr]    Compiling libc v0.2.66
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]    Compiling proc-macro2 v1.0.6
[INFO] [stderr]     Checking fnv v1.0.6
[INFO] [stderr]    Compiling memchr v2.2.1
[INFO] [stderr]     Checking bytes v0.5.3
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]     Checking slab v0.4.2
[INFO] [stderr]    Compiling syn v1.0.11
[INFO] [stderr]    Compiling autocfg v0.1.7
[INFO] [stderr]     Checking futures-core v0.3.1
[INFO] [stderr]     Checking itoa v0.4.4
[INFO] [stderr]    Compiling cc v1.0.48
[INFO] [stderr]     Checking pin-project-lite v0.1.1
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking futures-task v0.3.1
[INFO] [stderr]     Checking futures-sink v0.3.1
[INFO] [stderr]    Compiling serde v1.0.104
[INFO] [stderr]     Checking pin-utils v0.1.0-alpha.4
[INFO] [stderr]    Compiling httparse v1.3.4
[INFO] [stderr]     Checking try-lock v0.2.2
[INFO] [stderr]     Checking tower-service v0.3.0
[INFO] [stderr]     Checking lazy_static v1.4.0 (https://github.com/Kimundi/lazy-static.rs#42166966)
[INFO] [stderr]     Checking time v0.2.1
[INFO] [stderr]     Checking futures-channel v0.3.1
[INFO] [stderr]     Checking futures-util v0.3.1
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]     Checking http v0.2.0
[INFO] [stderr]    Compiling indexmap v1.3.0
[INFO] [stderr]    Compiling quote v1.0.2
[INFO] [stderr]     Checking net2 v0.2.33
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking time v0.1.42
[INFO] [stderr]     Checking mio v0.6.21
[INFO] [stderr]     Checking http-body v0.3.1
[INFO] [stderr]     Checking tokio v0.2.6
[INFO] [stderr]    Compiling miniz-sys v0.1.12
[INFO] [stderr]     Checking tokio-util v0.2.0
[INFO] [stderr]     Checking toml v0.5.5 (https://github.com/alexcrichton/toml-rs.git#1b8e0d78)
[INFO] [stderr]     Checking h2 v0.2.1
[INFO] [stderr]     Checking flate2 v0.2.20
[INFO] [stderr]    Compiling pin-project-internal v0.4.6
[INFO] [stderr]     Checking pin-project v0.4.6
[INFO] [stderr]     Checking hyper v0.13.1 (https://github.com/hyperium/hyper.git#35825c46)
[INFO] [stderr]     Checking swell v0.0.1 (/opt/rustwide/workdir)
[INFO] [stderr]  Documenting swell v0.0.1 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0432]: unresolved imports `self::log::LogRecord`, `self::log::LogLevel`, `self::log::LogMetadata`
[INFO] [stderr]  --> src/logger/mod.rs:7:17
[INFO] [stderr]   |
[INFO] [stderr] 7 | use self::log::{LogRecord, LogLevel, LogMetadata};
[INFO] [stderr]   |                 ^^^^^^^^^  ^^^^^^^^  ^^^^^^^^^^^ no `LogMetadata` in the root
[INFO] [stderr]   |                 |          |
[INFO] [stderr]   |                 |          no `LogLevel` in the root
[INFO] [stderr]   |                 no `LogRecord` in the root
[INFO] [stderr]   |
[INFO] [stderr] help: a similar name exists in the module
[INFO] [stderr]   |
[INFO] [stderr] 7 | use self::log::{Record, LogLevel, LogMetadata};
[INFO] [stderr]   |                 ^^^^^^
[INFO] [stderr] help: a similar name exists in the module
[INFO] [stderr]   |
[INFO] [stderr] 7 | use self::log::{LogRecord, LogLevel, Metadata};
[INFO] [stderr]   |                                      ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved imports `self::log::LogRecord`, `self::log::LogLevel`, `self::log::LogMetadata`
[INFO] [stderr]  --> src/logger/mod.rs:7:17
[INFO] [stderr]   |
[INFO] [stderr] 7 | use self::log::{LogRecord, LogLevel, LogMetadata};
[INFO] [stderr]   |                 ^^^^^^^^^  ^^^^^^^^  ^^^^^^^^^^^ no `LogMetadata` in the root
[INFO] [stderr]   |                 |          |
[INFO] [stderr]   |                 |          no `LogLevel` in the root
[INFO] [stderr]   |                 no `LogRecord` in the root
[INFO] [stderr]   |
[INFO] [stderr] help: a similar name exists in the module
[INFO] [stderr]   |
[INFO] [stderr] 7 | use self::log::{Record, LogLevel, LogMetadata};
[INFO] [stderr]   |                 ^^^^^^
[INFO] [stderr] help: a similar name exists in the module
[INFO] [stderr]   |
[INFO] [stderr] 7 | use self::log::{LogRecord, LogLevel, Metadata};
[INFO] [stderr]   |                                      ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `Parser` in `toml`
[INFO] [stderr]   --> src/config/mod.rs:17:28
[INFO] [stderr]    |
[INFO] [stderr] 17 |     let mut parser = toml::Parser::new(buffer.as_ref());
[INFO] [stderr]    |                            ^^^^^^ could not find `Parser` in `toml`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `LogLevelFilter` in `log`
[INFO] [stderr]   --> src/logger/mod.rs:27:32
[INFO] [stderr]    |
[INFO] [stderr] 27 |         max_log_level.set(log::LogLevelFilter::Info);
[INFO] [stderr]    |                                ^^^^^^^^^^^^^^ could not find `LogLevelFilter` in `log`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Table` in crate `toml`
[INFO] [stderr]   --> src/config/mod.rs:12:49
[INFO] [stderr]    |
[INFO] [stderr] 12 | pub fn parse_config(config_path: &str) -> toml::Table {
[INFO] [stderr]    |                                                 ^^^^^ not found in `toml`
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 3  | use config::toml::value::Table;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LogRecord` in crate `log`
[INFO] [stderr]   --> src/logger/mod.rs:16:33
[INFO] [stderr]    |
[INFO] [stderr] 16 |     fn log(&self, record: &log::LogRecord) {
[INFO] [stderr]    |                                 ^^^^^^^^^ help: a struct with a similar name exists: `Record`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Table` in crate `toml`
[INFO] [stderr]   --> src/config/mod.rs:12:49
[INFO] [stderr]    |
[INFO] [stderr] 12 | pub fn parse_config(config_path: &str) -> toml::Table {
[INFO] [stderr]    |                                                 ^^^^^ not found in `toml`
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 3  | use config::toml::value::Table;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LogRecord` in crate `log`
[INFO] [stderr]   --> src/logger/mod.rs:16:33
[INFO] [stderr]    |
[INFO] [stderr] 16 |     fn log(&self, record: &log::LogRecord) {
[INFO] [stderr]    |                                 ^^^^^^^^^ help: a struct with a similar name exists: `Record`
[INFO] [stderr] 
[INFO] [stderr] error: Compilation failed, aborting rustdoc
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 4 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0432.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error[E0046]: not all trait items implemented, missing: `flush`
[INFO] [stderr]   --> src/logger/mod.rs:11:1
[INFO] [stderr]    |
[INFO] [stderr] 11 | impl log::Log for SwellLogger {
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `flush` in implementation
[INFO] [stderr]    |
[INFO] [stderr]    = note: `flush` from trait: `fn(&Self)`
[INFO] [stderr] 
[INFO] [stderr] error: Could not document `swell`.
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --crate-type lib --crate-name swell src/lib.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi --document-private-items -L dependency=/opt/rustwide/target/debug/deps --extern flate2=/opt/rustwide/target/debug/deps/libflate2-8009f46237e462e1.rmeta --extern hyper=/opt/rustwide/target/debug/deps/libhyper-245b2c8af8d4c839.rmeta --extern lazy_static=/opt/rustwide/target/debug/deps/liblazy_static-7ea8555a461258dd.rmeta --extern log=/opt/rustwide/target/debug/deps/liblog-526d39feb8f778c4.rmeta --extern time=/opt/rustwide/target/debug/deps/libtime-7cafdc3c8b9d22d9.rmeta --extern toml=/opt/rustwide/target/debug/deps/libtoml-e595e4771bc79b6f.rmeta --cap-lints=warn` (exit code: 1)
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error[E0282]: type annotations needed
[INFO] [stderr]   --> src/logger/mod.rs:26:22
[INFO] [stderr]    |
[INFO] [stderr] 26 |     log::set_logger(|max_log_level| {
[INFO] [stderr]    |                      ^^^^^^^^^^^^^ consider giving this closure parameter a type
[INFO] [stderr]    |
[INFO] [stderr]    = note: type must be known at this point
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 7 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0046, E0282, E0412, E0432, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0046`.
[INFO] [stderr] error: could not compile `swell`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "254daad28d1f853e587fdd27741c0562fc4cb1bb7fb4d2409a00c54b4bd5842b"`
[INFO] running `"docker" "rm" "-f" "254daad28d1f853e587fdd27741c0562fc4cb1bb7fb4d2409a00c54b4bd5842b"`
[INFO] [stdout] 254daad28d1f853e587fdd27741c0562fc4cb1bb7fb4d2409a00c54b4bd5842b
