[INFO] fetching crate rsoundio 0.1.6... [INFO] documenting rsoundio-0.1.6 against try#6ee483316d2e4581572121d60a955affb2032eb3+cargoflags=-Zrustdoc-scrape-examples for scrape-examples [INFO] extracting crate rsoundio 0.1.6 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate rsoundio 0.1.6 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 rsoundio 0.1.6 [INFO] finished tweaking crates.io crate rsoundio 0.1.6 [INFO] tweaked toml for crates.io crate rsoundio 0.1.6 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6ee483316d2e4581572121d60a955affb2032eb3" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [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] d584ab8401fc5b421de129e6a80aaa8d3d8b5f545e302b09b1201e73bb36a589 [INFO] running `Command { std: "docker" "start" "-a" "d584ab8401fc5b421de129e6a80aaa8d3d8b5f545e302b09b1201e73bb36a589", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d584ab8401fc5b421de129e6a80aaa8d3d8b5f545e302b09b1201e73bb36a589", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d584ab8401fc5b421de129e6a80aaa8d3d8b5f545e302b09b1201e73bb36a589", kill_on_drop: false }` [INFO] [stdout] d584ab8401fc5b421de129e6a80aaa8d3d8b5f545e302b09b1201e73bb36a589 [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] eb27c602822c4d4a24216123de5c23f9314ce7e82e80e6025bb13c31ca1d841a [INFO] running `Command { std: "docker" "start" "-a" "eb27c602822c4d4a24216123de5c23f9314ce7e82e80e6025bb13c31ca1d841a", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling rsoundio v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `host` [INFO] [stdout] --> build.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let host = env::var("HOST").unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_host` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> build.rs:77:10 [INFO] [stdout] | [INFO] [stdout] 77 | fn build(target: String) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> build.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | _ => panic!(format!("No release for format: {}", ext)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 73 - _ => panic!(format!("No release for format: {}", ext)), [INFO] [stdout] 73 + _ => panic!("No release for format: {}", ext), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> build.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | _ => panic!(format!("{}: {}", $msg, err)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | err_exists!(fs::create_dir(&lib_dir), &lib_dir.display()); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `err_exists` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 18 - _ => panic!(format!("{}: {}", $msg, err)), [INFO] [stdout] 18 + _ => panic!("{}: {}", $msg, err), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> build.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | _ => panic!(format!("{}: {}", $msg, err)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | err_exists!(fs::create_dir(&include_dir), &include_dir.display()); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `err_exists` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 18 - _ => panic!(format!("{}: {}", $msg, err)), [INFO] [stdout] 18 + _ => panic!("{}: {}", $msg, err), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> build.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | _ => panic!(format!("{}: {}", $msg, err)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | err_exists!(fs::create_dir(&build_dir), &build_dir.display()); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `err_exists` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 18 - _ => panic!(format!("{}: {}", $msg, err)), [INFO] [stdout] 18 + _ => panic!("{}: {}", $msg, err), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Scraping rsoundio v0.1.6 (/opt/rustwide/workdir) [INFO] [stderr] Documenting rsoundio v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/base.rs:330:80 [INFO] [stdout] | [INFO] [stdout] 330 | ... .map(|l| unsafe { (*l.layout) }) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 330 - .map(|l| unsafe { (*l.layout) }) [INFO] [stdout] 330 + .map(|l| unsafe { *l.layout }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/base.rs:333:80 [INFO] [stdout] | [INFO] [stdout] 333 | ... .map(|l| unsafe { (*l.layout) }) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 333 - .map(|l| unsafe { (*l.layout) }) [INFO] [stdout] 333 + .map(|l| unsafe { *l.layout }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.02s [INFO] running `Command { std: "docker" "inspect" "eb27c602822c4d4a24216123de5c23f9314ce7e82e80e6025bb13c31ca1d841a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb27c602822c4d4a24216123de5c23f9314ce7e82e80e6025bb13c31ca1d841a", kill_on_drop: false }` [INFO] [stdout] eb27c602822c4d4a24216123de5c23f9314ce7e82e80e6025bb13c31ca1d841a [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] cb1d6a92e5080bc6ee3c3ae78cde3364c56efa3a1bcd17c8efccb6ff3d2096e9 [INFO] running `Command { std: "docker" "start" "-a" "cb1d6a92e5080bc6ee3c3ae78cde3364c56efa3a1bcd17c8efccb6ff3d2096e9", kill_on_drop: false }` [INFO] [stdout] warning: unused variable: `host` [INFO] [stdout] --> build.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let host = env::var("HOST").unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_host` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> build.rs:77:10 [INFO] [stdout] | [INFO] [stdout] 77 | fn build(target: String) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> build.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | _ => panic!(format!("No release for format: {}", ext)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 73 - _ => panic!(format!("No release for format: {}", ext)), [INFO] [stdout] 73 + _ => panic!("No release for format: {}", ext), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> build.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | _ => panic!(format!("{}: {}", $msg, err)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | err_exists!(fs::create_dir(&lib_dir), &lib_dir.display()); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `err_exists` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 18 - _ => panic!(format!("{}: {}", $msg, err)), [INFO] [stdout] 18 + _ => panic!("{}: {}", $msg, err), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> build.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | _ => panic!(format!("{}: {}", $msg, err)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | err_exists!(fs::create_dir(&include_dir), &include_dir.display()); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `err_exists` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 18 - _ => panic!(format!("{}: {}", $msg, err)), [INFO] [stdout] 18 + _ => panic!("{}: {}", $msg, err), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> build.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | _ => panic!(format!("{}: {}", $msg, err)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | err_exists!(fs::create_dir(&build_dir), &build_dir.display()); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `err_exists` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 18 - _ => panic!(format!("{}: {}", $msg, err)), [INFO] [stdout] 18 + _ => panic!("{}: {}", $msg, err), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rsoundio v0.1.6 (/opt/rustwide/workdir) [INFO] [stderr] Scraping rsoundio v0.1.6 (/opt/rustwide/workdir) [INFO] [stderr] Documenting rsoundio v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/base.rs:330:80 [INFO] [stdout] | [INFO] [stdout] 330 | ... .map(|l| unsafe { (*l.layout) }) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 330 - .map(|l| unsafe { (*l.layout) }) [INFO] [stdout] 330 + .map(|l| unsafe { *l.layout }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/base.rs:333:80 [INFO] [stdout] | [INFO] [stdout] 333 | ... .map(|l| unsafe { (*l.layout) }) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 333 - .map(|l| unsafe { (*l.layout) }) [INFO] [stdout] 333 + .map(|l| unsafe { *l.layout }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.39s [INFO] running `Command { std: "docker" "inspect" "cb1d6a92e5080bc6ee3c3ae78cde3364c56efa3a1bcd17c8efccb6ff3d2096e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb1d6a92e5080bc6ee3c3ae78cde3364c56efa3a1bcd17c8efccb6ff3d2096e9", kill_on_drop: false }` [INFO] [stdout] cb1d6a92e5080bc6ee3c3ae78cde3364c56efa3a1bcd17c8efccb6ff3d2096e9