[INFO] cloning repository https://github.com/rainbowflesh/rs-mpp
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rainbowflesh/rs-mpp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frainbowflesh%2Frs-mpp", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frainbowflesh%2Frs-mpp'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 83a8c937f99e14bc35a24f435901063f4ba18145
[INFO] checking rainbowflesh/rs-mpp against 65b20a97de33e9e59992793a144aef2950c48c76 for pr-154715
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frainbowflesh%2Frs-mpp" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-1-tc2/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/rainbowflesh/rs-mpp
[INFO] finished tweaking git repo https://github.com/rainbowflesh/rs-mpp
[INFO] tweaked toml for git repo https://github.com/rainbowflesh/rs-mpp written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/rainbowflesh/rs-mpp on toolchain 65b20a97de33e9e59992793a144aef2950c48c76
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65b20a97de33e9e59992793a144aef2950c48c76" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/rainbowflesh/rs-mpp already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65b20a97de33e9e59992793a144aef2950c48c76" "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] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded shlex v0.1.1
[INFO] [stderr]   Downloaded which v3.1.1
[INFO] [stderr]   Downloaded strsim v0.8.0
[INFO] [stderr]   Downloaded termcolor v1.2.0
[INFO] [stderr]   Downloaded unicode-width v0.1.10
[INFO] [stderr]   Downloaded textwrap v0.11.0
[INFO] [stderr]   Downloaded libloading v0.5.2
[INFO] [stderr]   Downloaded quote v1.0.26
[INFO] [stderr]   Downloaded env_logger v0.7.1
[INFO] [stderr]   Downloaded humantime v1.3.0
[INFO] [stderr]   Downloaded vec_map v0.8.2
[INFO] [stderr]   Downloaded ansi_term v0.12.1
[INFO] [stderr]   Downloaded cexpr v0.4.0
[INFO] [stderr]   Downloaded anyhow v1.0.69
[INFO] [stderr]   Downloaded clang-sys v0.29.3
[INFO] [stderr]   Downloaded proc-macro2 v1.0.52
[INFO] [stderr]   Downloaded unicode-ident v1.0.8
[INFO] [stderr]   Downloaded cc v1.0.79
[INFO] [stderr]   Downloaded regex v1.7.1
[INFO] [stderr]   Downloaded aho-corasick v0.7.20
[INFO] [stderr]   Downloaded nom v5.1.2
[INFO] [stderr]   Downloaded bindgen v0.53.3
[INFO] [stderr]   Downloaded clap v2.34.0
[INFO] [stderr]   Downloaded regex-syntax v0.6.28
[INFO] [stderr]   Downloaded libc v0.2.140
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] b63425bfb216368ab5d6f7ec157ae1212c484148b2358fd9d574c645b21fa3ac
[INFO] running `Command { std: "docker" "start" "b63425bfb216368ab5d6f7ec157ae1212c484148b2358fd9d574c645b21fa3ac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b63425bfb216368ab5d6f7ec157ae1212c484148b2358fd9d574c645b21fa3ac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b63425bfb216368ab5d6f7ec157ae1212c484148b2358fd9d574c645b21fa3ac" "/opt/rustwide/cargo-home/bin/cargo" "+65b20a97de33e9e59992793a144aef2950c48c76" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b63425bfb216368ab5d6f7ec157ae1212c484148b2358fd9d574c645b21fa3ac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b63425bfb216368ab5d6f7ec157ae1212c484148b2358fd9d574c645b21fa3ac" "/opt/rustwide/cargo-home/bin/cargo" "+65b20a97de33e9e59992793a144aef2950c48c76" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling anyhow v1.0.69
[INFO] [stderr]     Checking mpp-ffi v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: dereferencing a null pointer
[INFO] [stdout]   --> src/./mpp/mpp_log.h.rs:33:14
[INFO] [stdout]    |
[INFO] [stdout] 33 |             &(*(::std::ptr::null::<max_align_t>())).__clang_max_align_nonce1 as *const _ as usize
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[deny(deref_nullptr)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: dereferencing a null pointer
[INFO] [stdout]   --> src/./mpp/mpp_log.h.rs:45:14
[INFO] [stdout]    |
[INFO] [stdout] 45 |             &(*(::std::ptr::null::<max_align_t>())).__clang_max_align_nonce2 as *const _ as usize
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: dereferencing a null pointer
[INFO] [stdout]   --> src/./mpp/mpp_compat.h.rs:63:19
[INFO] [stdout]    |
[INFO] [stdout] 63 |         unsafe { &(*(::std::ptr::null::<MppCompat_t>())).feature_id as *const _ as usize },
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: dereferencing a null pointer
[INFO] [stdout]   --> src/./mpp/mpp_compat.h.rs:73:19
[INFO] [stdout]    |
[INFO] [stdout] 73 |         unsafe { &(*(::std::ptr::null::<MppCompat_t>())).feature_type as *const _ as usize },
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: dereferencing a null pointer
[INFO] [stdout]   --> src/./mpp/mpp_compat.h.rs:83:19
[INFO] [stdout]    |
[INFO] [stdout] 83 |         unsafe { &(*(::std::ptr::null::<MppCompat_t>())).value_mpp as *const _ as usize },
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: dereferencing a null pointer
[INFO] [stdout]   --> src/./mpp/mpp_compat.h.rs:93:19
[INFO] [stdout]    |
[INFO] [stdout] 93 |         unsafe { &(*(::std::ptr::null::<MppCompat_t>())).value_usr as *const _ as usize },
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: dereferencing a null pointer
[INFO] [stdout]    --> src/./mpp/mpp_compat.h.rs:103:19
[INFO] [stdout]     |
[INFO] [stdout] 103 |         unsafe { &(*(::std::ptr::null::<MppCompat_t>())).name as *const _ as usize },
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: dereferencing a null pointer
[INFO] [stdout]    --> src/./mpp/mpp_compat.h.rs:113:19
[INFO] [stdout]     |
[INFO] [stdout] 113 |         unsafe { &(*(::std::ptr::null::<MppCompat_t>())).next as *const _ as usize },
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mpp-ffi` (lib test) due to 8 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:26:30
[INFO] [stdout]    |
[INFO] [stdout] 26 |             (mpp_env_set_u32(mpp_show_history as *const u8, 0));
[INFO] [stdout]    |              --------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `*const i8`, found `*const u8`
[INFO] [stdout]    |              |
[INFO] [stdout]    |              arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected raw pointer `*const i8`
[INFO] [stdout]               found raw pointer `*const u8`
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/./mpp/mpp_env.h.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub fn mpp_env_set_u32(name: *const ::std::os::raw::c_char, value: RK_U32) -> RK_S32;
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:30:29
[INFO] [stdout]    |
[INFO] [stdout] 30 |             mpp_env_set_u32(mpp_show_history as *const u8, 1);
[INFO] [stdout]    |             --------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `*const i8`, found `*const u8`
[INFO] [stdout]    |             |
[INFO] [stdout]    |             arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected raw pointer `*const i8`
[INFO] [stdout]               found raw pointer `*const u8`
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/./mpp/mpp_env.h.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub fn mpp_env_set_u32(name: *const ::std::os::raw::c_char, value: RK_U32) -> RK_S32;
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:33:29
[INFO] [stdout]    |
[INFO] [stdout] 33 |             mpp_env_set_u32(mpp_show_history as *const u8, 0);
[INFO] [stdout]    |             --------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `*const i8`, found `*const u8`
[INFO] [stdout]    |             |
[INFO] [stdout]    |             arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected raw pointer `*const i8`
[INFO] [stdout]               found raw pointer `*const u8`
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/./mpp/mpp_env.h.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub fn mpp_env_set_u32(name: *const ::std::os::raw::c_char, value: RK_U32) -> RK_S32;
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mpp-ffi` (bin "mpp-ffi" test) due to 3 previous errors
[INFO] running `Command { std: "docker" "inspect" "b63425bfb216368ab5d6f7ec157ae1212c484148b2358fd9d574c645b21fa3ac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b63425bfb216368ab5d6f7ec157ae1212c484148b2358fd9d574c645b21fa3ac", kill_on_drop: false }`
[INFO] [stdout] b63425bfb216368ab5d6f7ec157ae1212c484148b2358fd9d574c645b21fa3ac
