[INFO] updating cached repository https://github.com/demandre/rust-ppm [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] ce5a92401e90405980bd13e34f4bda2b7e3da397 [INFO] documenting demandre/rust-ppm against master#394e1b40d264aa6928811919c1124fa248e7d802 for pr-73566 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdemandre%2Frust-ppm" "/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/demandre/rust-ppm on toolchain 394e1b40d264aa6928811919c1124fa248e7d802 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/demandre/rust-ppm [INFO] finished tweaking git repo https://github.com/demandre/rust-ppm [INFO] tweaked toml for git repo https://github.com/demandre/rust-ppm written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "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" "+394e1b40d264aa6928811919c1124fa248e7d802" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 643d4eb0ea718a0293de230452e247572093bc402affead0991219760ac95a46 [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" "643d4eb0ea718a0293de230452e247572093bc402affead0991219760ac95a46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "643d4eb0ea718a0293de230452e247572093bc402affead0991219760ac95a46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "643d4eb0ea718a0293de230452e247572093bc402affead0991219760ac95a46", kill_on_drop: false }` [INFO] [stdout] 643d4eb0ea718a0293de230452e247572093bc402affead0991219760ac95a46 [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" "+394e1b40d264aa6928811919c1124fa248e7d802" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1cc101b3e9f61a11b5d37ef50c13d9f295c572e87887007e171f83838403d1da [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" "1cc101b3e9f61a11b5d37ef50c13d9f295c572e87887007e171f83838403d1da", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling inventory v0.1.7 [INFO] [stderr] Checking smallvec v1.4.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling unindent v0.1.6 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling cc v1.0.57 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling ppm v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking paste v0.1.18 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling pyo3-derive-backend v0.9.2 [INFO] [stderr] Compiling inventory-impl v0.1.7 [INFO] [stderr] Compiling indoc-impl v0.3.6 [INFO] [stderr] Compiling ghost v0.1.2 [INFO] [stderr] Compiling ctor v0.1.15 [INFO] [stderr] Compiling dict_derive v0.2.0 [INFO] [stderr] Checking indoc v0.3.6 [INFO] [stderr] Compiling pyo3cls v0.9.2 [INFO] [stderr] Compiling pyo3 v0.9.2 [INFO] [stderr] Documenting ppm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `extern` fn uses type `std::string::String`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:16:37 [INFO] [stdout] | [INFO] [stdout] 16 | pub extern fn read_ppm(input_name : String) -> PyResult { [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:16:49 [INFO] [stdout] | [INFO] [stdout] 16 | pub extern fn read_ppm(input_name : String) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::string::String`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:22:41 [INFO] [stdout] | [INFO] [stdout] 22 | pub extern fn write_ppm(file_out_name : String, image: Image) { [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `ppma_wrapper::image::Image`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:22:56 [INFO] [stdout] | [INFO] [stdout] 22 | pub extern fn write_ppm(file_out_name : String, image: Image) { [INFO] [stdout] | ^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/ppma_wrapper/image.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | / pub struct Image { [INFO] [stdout] 60 | | pub width: u32, [INFO] [stdout] 61 | | pub height: u32, [INFO] [stdout] 62 | | content: Vec [INFO] [stdout] 63 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:28:55 [INFO] [stdout] | [INFO] [stdout] 28 | pub extern fn create_ppm(xsize : i32, ysize : i32) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `ppma_wrapper::image::Image`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | pub extern fn invert(image : Image) -> PyResult { [INFO] [stdout] | ^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/ppma_wrapper/image.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | / pub struct Image { [INFO] [stdout] 60 | | pub width: u32, [INFO] [stdout] 61 | | pub height: u32, [INFO] [stdout] 62 | | content: Vec [INFO] [stdout] 63 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:34:40 [INFO] [stdout] | [INFO] [stdout] 34 | pub extern fn invert(image : Image) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `ppma_wrapper::image::Image`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:40:33 [INFO] [stdout] | [INFO] [stdout] 40 | pub extern fn grayscale(image : Image) -> PyResult { [INFO] [stdout] | ^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/ppma_wrapper/image.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | / pub struct Image { [INFO] [stdout] 60 | | pub width: u32, [INFO] [stdout] 61 | | pub height: u32, [INFO] [stdout] 62 | | content: Vec [INFO] [stdout] 63 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:40:43 [INFO] [stdout] | [INFO] [stdout] 40 | pub extern fn grayscale(image : Image) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 30s [INFO] running `Command { std: "docker" "inspect" "1cc101b3e9f61a11b5d37ef50c13d9f295c572e87887007e171f83838403d1da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cc101b3e9f61a11b5d37ef50c13d9f295c572e87887007e171f83838403d1da", kill_on_drop: false }` [INFO] [stdout] 1cc101b3e9f61a11b5d37ef50c13d9f295c572e87887007e171f83838403d1da