[INFO] cloning repository https://github.com/gridgentoo/c2rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gridgentoo/c2rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgridgentoo%2Fc2rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgridgentoo%2Fc2rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6674d785fabd54ce3a1df70591f583d0048bea52
[INFO] documenting gridgentoo/c2rust against 1.66.0 for beta-1.67-rustdoc-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgridgentoo%2Fc2rust" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/gridgentoo/c2rust on toolchain 1.66.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.66.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-3-tc1/source/rust-toolchain
[INFO] started tweaking git repo https://github.com/gridgentoo/c2rust
[INFO] finished tweaking git repo https://github.com/gridgentoo/c2rust
[INFO] tweaked toml for git repo https://github.com/gridgentoo/c2rust written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/gridgentoo/c2rust 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" "+1.66.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded half v1.4.0
[INFO] [stderr]   Downloaded serde_bencode v0.2.0
[INFO] [stderr]   Downloaded markup5ever v0.9.0
[INFO] [stderr]   Downloaded quickcheck v0.9.0
[INFO] [stderr]   Downloaded serde_bytes v0.10.5
[INFO] [stderr]   Downloaded rlua v0.17.0
[INFO] [stderr]   Downloaded im-rc v14.3.0
[INFO] [stderr]   Downloaded ignore v0.4.10
[INFO] [stderr]   Downloaded crates-io v0.31.0
[INFO] [stderr]   Downloaded bytesize v1.0.0
[INFO] [stderr]   Downloaded serde_ignored v0.1.1
[INFO] [stderr]   Downloaded z3 v0.4.0
[INFO] [stderr]   Downloaded home v0.5.1
[INFO] [stderr]   Downloaded z3-sys v0.5.0
[INFO] [stderr]   Downloaded html5ever v0.24.1
[INFO] [stderr]   Downloaded serde_cbor v0.10.2
[INFO] [stderr]   Downloaded libssh2-sys v0.2.13
[INFO] [stderr]   Downloaded cargo v0.44.1
[INFO] [stderr]   Downloaded mdbook v0.3.5
[INFO] [stderr]   Downloaded shell-escape v0.1.4
[INFO] [stderr]   Downloaded flamer v0.4.0
[INFO] [stderr]   Downloaded pulldown-cmark-to-cmark v1.2.0
[INFO] [stderr]   Downloaded ammonia v3.0.0
[INFO] [stderr]   Downloaded handlebars v2.0.2
[INFO] [stderr]   Downloaded sized-chunks v0.5.3
[INFO] [stderr]   Downloaded json v0.12.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+1.66.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c5446071200a23652644e6e80ccca2ed6c1c913da35232ad73e76fa9587d8aa7
[INFO] running `Command { std: "docker" "start" "-a" "c5446071200a23652644e6e80ccca2ed6c1c913da35232ad73e76fa9587d8aa7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c5446071200a23652644e6e80ccca2ed6c1c913da35232ad73e76fa9587d8aa7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c5446071200a23652644e6e80ccca2ed6c1c913da35232ad73e76fa9587d8aa7", kill_on_drop: false }`
[INFO] [stdout] c5446071200a23652644e6e80ccca2ed6c1c913da35232ad73e76fa9587d8aa7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "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:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+1.66.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 47035323e45370ac7a2ec448fc79fc33b9f5a61d4e725380dcb1ed19a307dcf6
[INFO] running `Command { std: "docker" "start" "-a" "47035323e45370ac7a2ec448fc79fc33b9f5a61d4e725380dcb1ed19a307dcf6", kill_on_drop: false }`
[INFO] [stderr] warning: output filename collision.
[INFO] [stderr] The lib target `c2rust_refactor` in package `c2rust-refactor v0.15.0 (/opt/rustwide/workdir/c2rust-refactor)` has the same output filename as the bin target `c2rust-refactor` in package `c2rust v0.15.1 (/opt/rustwide/workdir/c2rust)`.
[INFO] [stderr] Colliding filename is: /opt/rustwide/target/doc/c2rust_refactor/index.html
[INFO] [stderr] The output filenames should be unique.
[INFO] [stderr] This is a known bug where multiple crates with the same name use
[INFO] [stderr] the same path; see <https://github.com/rust-lang/cargo/issues/6313>.
[INFO] [stderr] If this looks unexpected, it may be a bug in Cargo. Please file a bug report at
[INFO] [stderr] https://github.com/rust-lang/cargo/issues/ with as much information as you
[INFO] [stderr] can provide.
[INFO] [stderr] cargo 1.66.0 (d65d197ad 2022-11-15) running on `x86_64-unknown-linux-gnu` target `x86_64-unknown-linux-gnu`
[INFO] [stderr] First unit: Unit { pkg: Package { id: PackageId { name: "c2rust-refactor", version: "0.15.0", source: "/opt/rustwide/workdir/c2rust-refactor" }, ..: ".." }, target: TargetInner { ..: lib_target("c2rust_refactor", ["lib"], "/opt/rustwide/workdir/c2rust-refactor/src/lib.rs", Edition2018) }, profile: Profile { incremental: false, ..: default_dev() }, kind: Host, mode: Doc { deps: false }, features: ["default"], artifact: false, is_std: false, dep_hash: 11436023738581706050 }
[INFO] [stderr] Second unit: Unit { pkg: Package { id: PackageId { name: "c2rust", version: "0.15.1", source: "/opt/rustwide/workdir/c2rust" }, ..: ".." }, target: TargetInner { name: "c2rust-refactor", doc: true, ..: with_path("/opt/rustwide/workdir/c2rust/src/bin/c2rust-refactor.rs", Edition2018) }, profile: Profile { incremental: false, ..: default_dev() }, kind: Host, mode: Doc { deps: false }, features: [], artifact: false, is_std: false, dep_hash: 5249027304758755289 }
[INFO] [stderr] warning: output filename collision.
[INFO] [stderr] The lib target `c2rust-transpile` in package `c2rust-transpile v0.15.1 (/opt/rustwide/workdir/c2rust-transpile)` has the same output filename as the bin target `c2rust-transpile` in package `c2rust v0.15.1 (/opt/rustwide/workdir/c2rust)`.
[INFO] [stderr] Colliding filename is: /opt/rustwide/target/doc/c2rust_transpile/index.html
[INFO] [stderr] The targets should have unique names.
[INFO] [stderr] This is a known bug where multiple crates with the same name use
[INFO] [stderr] the same path; see <https://github.com/rust-lang/cargo/issues/6313>.
[INFO] [stderr]    Compiling libc v0.2.66
[INFO] [stderr]    Compiling autocfg v0.1.7
[INFO] [stderr]    Compiling proc-macro2 v1.0.6
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]    Compiling syn v1.0.11
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling serde v1.0.104
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]    Compiling pkg-config v0.3.17
[INFO] [stderr]    Compiling version_check v0.1.5
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]    Compiling byteorder v1.3.2
[INFO] [stderr]    Compiling version_check v0.9.1
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling quote v1.0.2
[INFO] [stderr]    Compiling unicase v1.4.2
[INFO] [stderr]    Compiling jobserver v0.1.21
[INFO] [stderr]    Compiling num_cpus v1.11.1
[INFO] [stderr]     Checking smallvec v1.0.0
[INFO] [stderr]    Compiling cc v1.0.48
[INFO] [stderr]    Compiling ryu v1.0.2
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]     Checking matches v0.1.8
[INFO] [stderr]     Checking unicode-bidi v0.3.4
[INFO] [stderr]     Checking unicode-normalization v0.1.11
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[INFO] [stderr]    Compiling num-traits v0.2.10
[INFO] [stderr]    Compiling siphasher v0.2.3
[INFO] [stderr]    Compiling typenum v1.11.2
[INFO] [stderr]    Compiling phf_shared v0.7.24
[INFO] [stderr]     Checking aho-corasick v0.7.6
[INFO] [stderr]    Compiling openssl-sys v0.9.53
[INFO] [stderr]    Compiling libz-sys v1.0.25
[INFO] [stderr]     Checking thread_local v0.3.6
[INFO] [stderr]     Checking regex-syntax v0.6.12
[INFO] [stderr]    Compiling getrandom v0.1.13
[INFO] [stderr]     Checking unicode-width v0.1.7
[INFO] [stderr]     Checking atty v0.2.13
[INFO] [stderr]    Compiling phf_generator v0.7.24
[INFO] [stderr]    Compiling num-integer v0.1.41
[INFO] [stderr]     Checking itoa v0.4.4
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]    Compiling libnghttp2-sys v0.1.2
[INFO] [stderr]     Checking idna v0.2.0
[INFO] [stderr]     Checking quick-error v1.2.2
[INFO] [stderr]    Compiling glob v0.3.0
[INFO] [stderr]     Checking percent-encoding v2.1.0
[INFO] [stderr]     Checking regex v1.3.1
[INFO] [stderr]     Checking same-file v1.0.5
[INFO] [stderr]    Compiling phf_codegen v0.7.24
[INFO] [stderr]     Checking walkdir v2.2.9
[INFO] [stderr]     Checking url v2.1.0
[INFO] [stderr]    Compiling backtrace-sys v0.1.32
[INFO] [stderr]    Compiling libloading v0.5.2
[INFO] [stderr]    Compiling nom v5.1.2
[INFO] [stderr]     Checking time v0.1.42
[INFO] [stderr]    Compiling clang-sys v0.29.3
[INFO] [stderr]     Checking ppv-lite86 v0.2.6
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]     Checking c2-chacha v0.2.3
[INFO] [stderr]    Compiling libssh2-sys v0.2.13
[INFO] [stderr]    Compiling curl-sys v0.4.24
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling ucd-trie v0.1.2
[INFO] [stderr]    Compiling pest v2.1.2
[INFO] [stderr]    Compiling humantime v1.3.0
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]     Checking rand_chacha v0.2.1
[INFO] [stderr]    Compiling string_cache_shared v0.3.0
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]     Checking lazycell v1.2.1
[INFO] [stderr]    Compiling unicode-segmentation v1.6.0
[INFO] [stderr]    Compiling failure_derive v0.1.6
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling yaml-rust v0.3.5
[INFO] [stderr]    Compiling vec_map v0.8.1
[INFO] [stderr]    Compiling bindgen v0.53.3
[INFO] [stderr]    Compiling maplit v1.0.2
[INFO] [stderr]    Compiling termcolor v1.0.5
[INFO] [stderr]     Checking rustc-demangle v0.1.16
[INFO] [stderr]    Compiling env_logger v0.7.1
[INFO] [stderr]     Checking clap v2.33.0
[INFO] [stderr]     Checking backtrace v0.3.40
[INFO] [stderr]    Compiling pest_meta v2.1.2
[INFO] [stderr]    Compiling cexpr v0.4.0
[INFO] [stderr]    Compiling serde_derive v1.0.104
[INFO] [stderr]    Compiling heck v0.3.1
[INFO] [stderr]    Compiling rustc-hash v1.0.1
[INFO] [stderr]    Compiling string_cache_codegen v0.4.4
[INFO] [stderr]     Checking rand v0.7.2
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling synstructure v0.12.3
[INFO] [stderr]    Compiling libgit2-sys v0.12.7+1.0.0
[INFO] [stderr]     Checking filetime v0.2.10
[INFO] [stderr]    Compiling which v3.1.1
[INFO] [stderr]    Compiling anyhow v1.0.31
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]     Checking openssl-probe v0.1.2
[INFO] [stderr]    Compiling shlex v0.1.1
[INFO] [stderr]    Compiling peeking_take_while v0.1.2
[INFO] [stderr]    Compiling curl v0.4.25
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling pest_generator v2.1.1
[INFO] [stderr]     Checking phf v0.7.24
[INFO] [stderr]     Checking bstr v0.2.8
[INFO] [stderr]    Compiling cmake v0.1.42
[INFO] [stderr]     Checking socket2 v0.3.11
[INFO] [stderr]    Compiling indexmap v1.3.0
[INFO] [stdout] error[E0512]: cannot transmute between types of different sizes, or dependently-sized types
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/socket2-0.3.11/src/sockaddr.rs:156:9
[INFO] [stdout]     |
[INFO] [stdout] 156 |         mem::transmute::<SocketAddrV4, sockaddr_in>(v4);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: source type: `SocketAddrV4` (48 bits)
[INFO] [stdout]     = note: target type: `sockaddr_in` (128 bits)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0512`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `socket2` due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "47035323e45370ac7a2ec448fc79fc33b9f5a61d4e725380dcb1ed19a307dcf6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "47035323e45370ac7a2ec448fc79fc33b9f5a61d4e725380dcb1ed19a307dcf6", kill_on_drop: false }`
[INFO] [stdout] 47035323e45370ac7a2ec448fc79fc33b9f5a61d4e725380dcb1ed19a307dcf6
