[INFO] fetching crate livox-sys 0.1.1... [INFO] documenting livox-sys-0.1.1 against try#6ee483316d2e4581572121d60a955affb2032eb3+cargoflags=-Zrustdoc-scrape-examples for scrape-examples [INFO] extracting crate livox-sys 0.1.1 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate livox-sys 0.1.1 on toolchain 6ee483316d2e4581572121d60a955affb2032eb3 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6ee483316d2e4581572121d60a955affb2032eb3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate livox-sys 0.1.1 [INFO] finished tweaking crates.io crate livox-sys 0.1.1 [INFO] tweaked toml for crates.io crate livox-sys 0.1.1 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate crates.io crate livox-sys 0.1.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6ee483316d2e4581572121d60a955affb2032eb3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+6ee483316d2e4581572121d60a955affb2032eb3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3ebda877c3eb87d8b14006a321da621eab1aa2dbadcd71a307a05daaf302d360 [INFO] running `Command { std: "docker" "start" "-a" "3ebda877c3eb87d8b14006a321da621eab1aa2dbadcd71a307a05daaf302d360", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3ebda877c3eb87d8b14006a321da621eab1aa2dbadcd71a307a05daaf302d360", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ebda877c3eb87d8b14006a321da621eab1aa2dbadcd71a307a05daaf302d360", kill_on_drop: false }` [INFO] [stdout] 3ebda877c3eb87d8b14006a321da621eab1aa2dbadcd71a307a05daaf302d360 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+6ee483316d2e4581572121d60a955affb2032eb3" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json" "-Zrustdoc-scrape-examples", kill_on_drop: false }` [INFO] [stdout] 01a37969d5ce575b3c3466a0acc7492854922cd81db3af2d9322e06879d287c0 [INFO] running `Command { std: "docker" "start" "-a" "01a37969d5ce575b3c3466a0acc7492854922cd81db3af2d9322e06879d287c0", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling cc v1.0.38 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling nom v5.1.1 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling clang-sys v0.29.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling bindgen v0.53.2 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling termcolor v1.0.5 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling cmake v0.1.40 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling livox-sys v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Scraping livox-sys v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: failed to check lib in package `livox-sys` as a prerequisite for scraping examples from: example "init" [INFO] [stderr] Try running with `--verbose` to see the error message. [INFO] [stderr] If an example or library should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` or `[lib]` definition in Cargo.toml [INFO] [stderr] warning: `livox-sys` (lib) generated 1 warning [INFO] [stderr] warning: failed to scan example "init" in package `livox-sys` for example code usage [INFO] [stderr] Try running with `--verbose` to see the error message. [INFO] [stderr] If an example or library should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` or `[lib]` definition in Cargo.toml [INFO] [stderr] warning: `livox-sys` (example "init") generated 1 warning [INFO] [stderr] Documenting livox-sys v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unresolved link to `timeout` [INFO] [stdout] --> /opt/rustwide/target/debug/build/livox-sys-7c3a54a6f486894f/out/bindings.rs:3:152942 [INFO] [stdout] | [INFO] [stdout] 3 | ... { # [ doc = " Reboot device." ] # [ doc = " @note \\ref RebootDevice is not supported for Mid40/100 firmware version < 03.07.0000." ] # [ doc = " @param handle device handle." ] # [ doc = " @param timeout reboot device after [timeout] ms." ] # [ doc = " @param cb callback for the command." ] # [ doc = " @param client_data user data associated with the command." ] # [ doc = " @return kStatusSuccess on successful return, see \\ref LivoxStatus for other error code." ] pu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the link appears in this line: [INFO] [stdout] [INFO] [stdout] @param timeout reboot device after [timeout] ms. [INFO] [stdout] ^^^^^^^ [INFO] [stdout] = note: no item named `timeout` in scope [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 26.44s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: livox-sys v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "01a37969d5ce575b3c3466a0acc7492854922cd81db3af2d9322e06879d287c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01a37969d5ce575b3c3466a0acc7492854922cd81db3af2d9322e06879d287c0", kill_on_drop: false }` [INFO] [stdout] 01a37969d5ce575b3c3466a0acc7492854922cd81db3af2d9322e06879d287c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "DOCS_RS=1" "-e" "RUSTC_BOOTSTRAP=1" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+6ee483316d2e4581572121d60a955affb2032eb3" "rustdoc" "--lib" "-Zrustdoc-map" "-Z" "unstable-options" "--config" "build.rustdocflags=[\"-Z\", \"unstable-options\", \"--document-private-items\"]" "--frozen" "--message-format=json" "-Zrustdoc-scrape-examples", kill_on_drop: false }` [INFO] [stdout] 0a35696bcb66cd30cabad00f93665985015fc854bdb511259233403a041ad260 [INFO] running `Command { std: "docker" "start" "-a" "0a35696bcb66cd30cabad00f93665985015fc854bdb511259233403a041ad260", kill_on_drop: false }` [INFO] [stderr] Compiling livox-sys v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Scraping livox-sys v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: failed to check lib in package `livox-sys` as a prerequisite for scraping examples from: example "init" [INFO] [stderr] Try running with `--verbose` to see the error message. [INFO] [stderr] If an example or library should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` or `[lib]` definition in Cargo.toml [INFO] [stderr] warning: `livox-sys` (lib) generated 1 warning [INFO] [stderr] warning: failed to scan example "init" in package `livox-sys` for example code usage [INFO] [stderr] Try running with `--verbose` to see the error message. [INFO] [stderr] If an example or library should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` or `[lib]` definition in Cargo.toml [INFO] [stderr] warning: `livox-sys` (example "init") generated 1 warning [INFO] [stderr] Documenting livox-sys v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unresolved link to `timeout` [INFO] [stdout] --> /opt/rustwide/target/debug/build/livox-sys-7c3a54a6f486894f/out/bindings.rs:3:152942 [INFO] [stdout] | [INFO] [stdout] 3 | ... { # [ doc = " Reboot device." ] # [ doc = " @note \\ref RebootDevice is not supported for Mid40/100 firmware version < 03.07.0000." ] # [ doc = " @param handle device handle." ] # [ doc = " @param timeout reboot device after [timeout] ms." ] # [ doc = " @param cb callback for the command." ] # [ doc = " @param client_data user data associated with the command." ] # [ doc = " @return kStatusSuccess on successful return, see \\ref LivoxStatus for other error code." ] pu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the link appears in this line: [INFO] [stdout] [INFO] [stdout] @param timeout reboot device after [timeout] ms. [INFO] [stdout] ^^^^^^^ [INFO] [stdout] = note: no item named `timeout` in scope [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.00s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: livox-sys v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "0a35696bcb66cd30cabad00f93665985015fc854bdb511259233403a041ad260", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a35696bcb66cd30cabad00f93665985015fc854bdb511259233403a041ad260", kill_on_drop: false }` [INFO] [stdout] 0a35696bcb66cd30cabad00f93665985015fc854bdb511259233403a041ad260