[INFO] cloning repository https://github.com/kevin-june/rust-bindings-demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kevin-june/rust-bindings-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkevin-june%2Frust-bindings-demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkevin-june%2Frust-bindings-demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5880aa27be162be9f9e56efbaf01d26c8266388a [INFO] documenting kevin-june/rust-bindings-demo against beta-2022-05-20 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkevin-june%2Frust-bindings-demo" "/workspace/builds/worker-19/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-19/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kevin-june/rust-bindings-demo on toolchain beta-2022-05-20 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kevin-june/rust-bindings-demo [INFO] finished tweaking git repo https://github.com/kevin-june/rust-bindings-demo [INFO] tweaked toml for git repo https://github.com/kevin-june/rust-bindings-demo written to /workspace/builds/worker-19/source/Cargo.toml [INFO] crate git repo https://github.com/kevin-june/rust-bindings-demo already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3879e9e6eff26de5d50680dd23286d2150638614b9814d94d36ae9a2c645e147 [INFO] running `Command { std: "docker" "start" "-a" "3879e9e6eff26de5d50680dd23286d2150638614b9814d94d36ae9a2c645e147", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3879e9e6eff26de5d50680dd23286d2150638614b9814d94d36ae9a2c645e147", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3879e9e6eff26de5d50680dd23286d2150638614b9814d94d36ae9a2c645e147", kill_on_drop: false }` [INFO] [stdout] 3879e9e6eff26de5d50680dd23286d2150638614b9814d94d36ae9a2c645e147 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a46b6b526d69f278b2d476d67378132fc2963def7b7e65ce3a43e8a748696cdd [INFO] running `Command { std: "docker" "start" "-a" "a46b6b526d69f278b2d476d67378132fc2963def7b7e65ce3a43e8a748696cdd", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.124 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling bindgen v0.59.2 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling clang-sys v1.3.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v4.2.5 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling rust-bindings-demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Documenting rust-bindings-demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unresolved link to `in` [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust-bindings-demo-c64d49ec397ecb4c/out/bindings.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | ... { # [doc = " @brief Accept a pointer to a string that is owned by Rust."] # [doc = ""] # [doc = " This memory can be read but not modified by C."] # [doc = " This function prints the argument to the console."] # [doc = ""] # [doc = " @param[in] ptr A pointer to a null-terminated string."] pu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default [INFO] [stdout] = note: the link appears in this line: [INFO] [stdout] [INFO] [stdout] @param[in] ptr A pointer to a null-terminated string. [INFO] [stdout] ^^ [INFO] [stdout] = note: no item named `in` in scope [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `in` [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust-bindings-demo-c64d49ec397ecb4c/out/bindings.rs:3:1525 [INFO] [stdout] | [INFO] [stdout] 3 | ... { # [doc = " @brief Free memory that was returned by cmodule_return_const_char_ptr_alloc()."] # [doc = ""] # [doc = " There is some discussion as to whether a const pointer can be/should be freed:"] # [doc = " should freeing be considered a modification?"] # [doc = " This API takes an opinionated stance for the sake of illustration:"] # [doc = " users may want to dynamically allocate a string that should not be modified."] # [doc = " This requires that a const char * can be dynamically allocated and then freed."] # [doc = ""] # [doc = " @param[in] ptr A pointer to dynamically allocated memory."] pu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the link appears in this line: [INFO] [stdout] [INFO] [stdout] @param[in] ptr A pointer to dynamically allocated memory. [INFO] [stdout] ^^ [INFO] [stdout] = note: no item named `in` in scope [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 37.69s [INFO] running `Command { std: "docker" "inspect" "a46b6b526d69f278b2d476d67378132fc2963def7b7e65ce3a43e8a748696cdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a46b6b526d69f278b2d476d67378132fc2963def7b7e65ce3a43e8a748696cdd", kill_on_drop: false }` [INFO] [stdout] a46b6b526d69f278b2d476d67378132fc2963def7b7e65ce3a43e8a748696cdd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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=warn" "-e" "RUSTC_BOOTSTRAP=1" "-e" "DOCS_RS=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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "rustdoc" "--lib" "-Zrustdoc-map" "--frozen" "--message-format=json" "--" "-Z" "unstable-options" "--document-private-items", kill_on_drop: false }` [INFO] [stdout] c21c4e29ab65f99740fcb892da6db763382a294a70857daee17562eb18655e5b [INFO] running `Command { std: "docker" "start" "-a" "c21c4e29ab65f99740fcb892da6db763382a294a70857daee17562eb18655e5b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.124 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling bindgen v0.59.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling clang-sys v1.3.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v4.2.5 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling rust-bindings-demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Documenting rust-bindings-demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unresolved link to `in` [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust-bindings-demo-c64d49ec397ecb4c/out/bindings.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | ... { # [doc = " @brief Accept a pointer to a string that is owned by Rust."] # [doc = ""] # [doc = " This memory can be read but not modified by C."] # [doc = " This function prints the argument to the console."] # [doc = ""] # [doc = " @param[in] ptr A pointer to a null-terminated string."] pu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default [INFO] [stdout] = note: the link appears in this line: [INFO] [stdout] [INFO] [stdout] @param[in] ptr A pointer to a null-terminated string. [INFO] [stdout] ^^ [INFO] [stdout] = note: no item named `in` in scope [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `in` [INFO] [stdout] --> /opt/rustwide/target/debug/build/rust-bindings-demo-c64d49ec397ecb4c/out/bindings.rs:3:1525 [INFO] [stdout] | [INFO] [stdout] 3 | ... { # [doc = " @brief Free memory that was returned by cmodule_return_const_char_ptr_alloc()."] # [doc = ""] # [doc = " There is some discussion as to whether a const pointer can be/should be freed:"] # [doc = " should freeing be considered a modification?"] # [doc = " This API takes an opinionated stance for the sake of illustration:"] # [doc = " users may want to dynamically allocate a string that should not be modified."] # [doc = " This requires that a const char * can be dynamically allocated and then freed."] # [doc = ""] # [doc = " @param[in] ptr A pointer to dynamically allocated memory."] pu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the link appears in this line: [INFO] [stdout] [INFO] [stdout] @param[in] ptr A pointer to dynamically allocated memory. [INFO] [stdout] ^^ [INFO] [stdout] = note: no item named `in` in scope [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.93s [INFO] running `Command { std: "docker" "inspect" "c21c4e29ab65f99740fcb892da6db763382a294a70857daee17562eb18655e5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c21c4e29ab65f99740fcb892da6db763382a294a70857daee17562eb18655e5b", kill_on_drop: false }` [INFO] [stdout] c21c4e29ab65f99740fcb892da6db763382a294a70857daee17562eb18655e5b