[INFO] cloning repository https://github.com/logist322/redefine_demo
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/logist322/redefine_demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flogist322%2Fredefine_demo", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flogist322%2Fredefine_demo'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 05dd7e44e60d52728f4c99c6f7dc9a7486a53f10
[INFO] documenting logist322/redefine_demo against 1.69.0 for beta-1.70-rustdoc-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flogist322%2Fredefine_demo" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/logist322/redefine_demo on toolchain 1.69.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.69.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/logist322/redefine_demo
[INFO] finished tweaking git repo https://github.com/logist322/redefine_demo
[INFO] tweaked toml for git repo https://github.com/logist322/redefine_demo written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/logist322/redefine_demo 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.69.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 16cd4e4c66db202f7b01571b329fefe359f2f721d777e98f36d05828b36b1223
[INFO] running `Command { std: "docker" "start" "-a" "16cd4e4c66db202f7b01571b329fefe359f2f721d777e98f36d05828b36b1223", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "16cd4e4c66db202f7b01571b329fefe359f2f721d777e98f36d05828b36b1223", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "16cd4e4c66db202f7b01571b329fefe359f2f721d777e98f36d05828b36b1223", kill_on_drop: false }`
[INFO] [stdout] 16cd4e4c66db202f7b01571b329fefe359f2f721d777e98f36d05828b36b1223
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b2e7e9b62135d9909838a07cd9c70b306ccef1f4dbbbb059418871e59f5a3da1
[INFO] running `Command { std: "docker" "start" "-a" "b2e7e9b62135d9909838a07cd9c70b306ccef1f4dbbbb059418871e59f5a3da1", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.104
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]    Compiling radium v0.5.3
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling glob v0.3.0
[INFO] [stderr]    Compiling tap v1.0.1
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling wyz v0.2.0
[INFO] [stderr]    Compiling funty v1.1.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.30
[INFO] [stderr]    Compiling unicode-width v0.1.9
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling bindgen v0.59.1
[INFO] [stderr]    Compiling libloading v0.7.1
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling termcolor v1.1.2
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling nom v6.2.1
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[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 clang-sys v1.2.2
[INFO] [stderr]    Compiling bitvec v0.19.5
[INFO] [stderr]    Compiling aho-corasick v0.7.15
[INFO] [stderr]    Compiling quote v1.0.10
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling which v3.1.1
[INFO] [stderr]    Compiling clap v2.33.3
[INFO] [stderr]    Compiling regex v1.4.6
[INFO] [stderr]    Compiling env_logger v0.8.4
[INFO] [stderr]    Compiling cexpr v0.5.0
[INFO] [stderr]    Compiling redefine_demo v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]  Documenting redefine_demo v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0428]: the name `size_type` is defined multiple times
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/redefine_demo-283a7b2c11e653af/out/bindings.rs:3:146350
[INFO] [stdout]   |
[INFO] [stdout] 3 | ... } pub type size_type = size_type ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_1 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_2 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_3 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_4 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_5 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_6 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_7 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_8 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_9 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_10 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_11 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_12 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_13 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_14 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_15 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_16 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_17 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_18 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_19 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_20 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_21 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_22 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_23 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_24 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_25 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_26 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_27 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_28 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_29 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_30 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_31 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_32 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_33 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_34 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_35 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_36 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_37 { pub _address : u8 , } # [test] fn __bindgen_test_layout_std_iterator_open0_std_output_iterator_tag_void_void_void_void_close0_instantiation () { assert_eq ! (:: std :: mem :: size_of :: < std_iterator > () , 1usize , concat ! ("Size of template specialization: " , stringify ! (std_iterator))) ; assert_eq ! (:: std :: mem :: align_of :: < std_iterator > () , 1usize , concat ! ("Alignment of template specialization: " , stringify ! (std_iterator))) ; } # [test] fn __bindgen_test_layout_std_iterator_open0_std_output_iterator_tag_void_void_void_void_close0_instantiation_1 () { assert_eq ! (:: std :: mem :: size_of :: < std_iterator > () , 1usize , concat ! ("Size of template specialization: " , stringify ! (std_iterator))) ; assert_eq ! (:: std :: mem :: align_of :: < std_iterator > () , 1usize , concat ! ("Alignment of template specialization: " , stringify ! (std_iterator))) ; } # [test] fn __bindgen_test_layout_std_iterator_open0_std_output_iterator_tag_void_void_void_void_close0_instantiation_2 () { assert_eq ! (:: std :: mem :: size_of :: < std_iterator > () , 1usize , concat ! ("Size of template specialization: " , stringify ! (std_iterator))) ; assert_eq ! (:: std :: mem :: align_of :: < std_iterator > () , 1usize , concat ! ("Alignment of template specialization: " , stringify ! (std_iterator))) ; } # [test] fn __bindgen_test_layout_std_allocator_open0_void_close0_instantiation_2 () { assert_eq ! (:: std :: mem :: size_of :: < std_allocator > () , 1usize , concat ! ("Size of template specialization: " , stringify ! (std_allocator))) ; assert_eq ! (:: std :: mem :: align_of :: < std_allocator > () , 1usize , concat ! ("Alignment of template specialization: " , stringify ! (std_allocator))) ; } # [test] fn __bindgen_test_layout_std_hash_open0_long_double_close0_instantiation_1 () { assert_eq ! (:: std :: mem :: size_of :: < std_hash > () , 1usize , concat ! ("Size of template specialization: " , stringify ! (std_hash))) ; assert_eq ! (:: std :: mem :: align_of :: < std_hash > () , 1usize , concat ! ("Alignment of template specialization: " , stringify ! (std_hash))) ; } # [test] fn __bindgen_test_layout_std_iterator_open0_std_random_access_iterator_tag_bool__long_ptr_bool_ref_bool_close0_instantiation () { assert_eq ! (:: std :: mem :: size_of :: < std_iterator > () , 1usize , concat ! ("Size of template specialization: " , stringify ! (std_iterator))) ; assert_eq ! (:: std :: mem :: align_of :: < std_iterator > () , 1usize , concat ! ("Alignment of template specialization: " , stringify ! (std_iterator))) ; } pub type size_type = std_size_t ; pu...
[INFO] [stdout]   |       -------------------------------- previous definition of the type `size_type` here                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `size_type` redefined here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `size_type` must be defined only once in the type namespace of this module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0428]: the name `size_type` is defined multiple times
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/redefine_demo-283a7b2c11e653af/out/bindings.rs:3:146424
[INFO] [stdout]   |
[INFO] [stdout] 3 | ... } pub type size_type = size_type ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_1 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_2 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_3 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_4 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_5 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_6 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_7 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_8 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_9 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_10 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_11 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_12 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_13 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_14 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_15 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_16 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_17 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_18 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_19 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_20 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_21 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_22 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_23 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_24 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_25 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_26 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_27 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_28 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_29 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_30 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_31 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_32 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_33 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_34 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_35 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_36 { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _bindgen_ty_37 { pub _address : u8 , } # [test] fn __bindgen_test_layout_std_iterator_open0_std_output_iterator_tag_void_void_void_void_close0_instantiation () { assert_eq ! (:: std :: mem :: size_of :: < std_iterator > () , 1usize , concat ! ("Size of template specialization: " , stringify ! (std_iterator))) ; assert_eq ! (:: std :: mem :: align_of :: < std_iterator > () , 1usize , concat ! ("Alignment of template specialization: " , stringify ! (std_iterator))) ; } # [test] fn __bindgen_test_layout_std_iterator_open0_std_output_iterator_tag_void_void_void_void_close0_instantiation_1 () { assert_eq ! (:: std :: mem :: size_of :: < std_iterator > () , 1usize , concat ! ("Size of template specialization: " , stringify ! (std_iterator))) ; assert_eq ! (:: std :: mem :: align_of :: < std_iterator > () , 1usize , concat ! ("Alignment of template specialization: " , stringify ! (std_iterator))) ; } # [test] fn __bindgen_test_layout_std_iterator_open0_std_output_iterator_tag_void_void_void_void_close0_instantiation_2 () { assert_eq ! (:: std :: mem :: size_of :: < std_iterator > () , 1usize , concat ! ("Size of template specialization: " , stringify ! (std_iterator))) ; assert_eq ! (:: std :: mem :: align_of :: < std_iterator > () , 1usize , concat ! ("Alignment of template specialization: " , stringify ! (std_iterator))) ; } # [test] fn __bindgen_test_layout_std_allocator_open0_void_close0_instantiation_2 () { assert_eq ! (:: std :: mem :: size_of :: < std_allocator > () , 1usize , concat ! ("Size of template specialization: " , stringify ! (std_allocator))) ; assert_eq ! (:: std :: mem :: align_of :: < std_allocator > () , 1usize , concat ! ("Alignment of template specialization: " , stringify ! (std_allocator))) ; } # [test] fn __bindgen_test_layout_std_hash_open0_long_double_close0_instantiation_1 () { assert_eq ! (:: std :: mem :: size_of :: < std_hash > () , 1usize , concat ! ("Size of template specialization: " , stringify ! (std_hash))) ; assert_eq ! (:: std :: mem :: align_of :: < std_hash > () , 1usize , concat ! ("Alignment of template specialization: " , stringify ! (std_hash))) ; } # [test] fn __bindgen_test_layout_std_iterator_open0_std_random_access_iterator_tag_bool__long_ptr_bool_ref_bool_close0_instantiation () { assert_eq ! (:: std :: mem :: size_of :: < std_iterator > () , 1usize , concat ! ("Size of template specialization: " , stringify ! (std_iterator))) ; assert_eq ! (:: std :: mem :: align_of :: < std_iterator > () , 1usize , concat ! ("Alignment of template specialization: " , stringify ! (std_iterator))) ; } pub type size_type = std_size_t ; pub type iterator = std__Bit_iterator ; pub type size_type = std_size_t ;
[INFO] [stdout]   |       -------------------------------- previous definition of the type `size_type` here                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `size_type` redefined here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `size_type` must be defined only once in the type namespace of this module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `_Tp` in this scope
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/redefine_demo-283a7b2c11e653af/out/bindings.rs:3:33554
[INFO] [stdout]   |
[INFO] [stdout] 3 | ... # [link_name = "\u{1}value"] pub static std_value : _Tp ; } pub type std_true_type = u8 ; pub type std_false_type = u8 ; pub type std...
[INFO] [stdout]   |                                                         ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `_Value` in this scope
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/redefine_demo-283a7b2c11e653af/out/bindings.rs:3:129941
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...k_name = "\u{1}__min"] pub static __gnu_cxx___min : _Value ; } extern "C" { # [link_name = "\u{1}__max"] pub static __gnu_cxx___max : ...
[INFO] [stdout]   |                                                        ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `_Value` in this scope
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/redefine_demo-283a7b2c11e653af/out/bindings.rs:3:130023
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...k_name = "\u{1}__max"] pub static __gnu_cxx___max : _Value ; } extern "C" { # [link_name = "\u{1}__is_signed"] pub static __gnu_cxx___...
[INFO] [stdout]   |                                                        ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0391]: cycle detected when expanding type alias `size_type`
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/redefine_demo-283a7b2c11e653af/out/bindings.rs:3:140222
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...g__Safe_iterator { pub _address : u8 , } pub type size_type = size_type ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _b...
[INFO] [stdout]   |                                                                  ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: ...which immediately requires expanding type alias `size_type` again
[INFO] [stdout]   = note: type aliases cannot be recursive
[INFO] [stdout]   = help: consider using a struct, enum, or union instead to break the cycle
[INFO] [stdout]   = help: see <https://doc.rust-lang.org/reference/types.html#recursive-types> for more information
[INFO] [stdout] note: cycle used when checking item types in top-level module
[INFO] [stdout]  --> src/main.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / #![allow(non_upper_case_globals)]
[INFO] [stdout] 2 | | #![allow(non_camel_case_types)]
[INFO] [stdout] 3 | | #![allow(non_snake_case)]
[INFO] [stdout] 4 | |
[INFO] [stdout] ... |
[INFO] [stdout] 8 | |     println!("Hello, world!");
[INFO] [stdout] 9 | | }
[INFO] [stdout]   | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0391, E0412, E0428.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0391`.
[INFO] [stdout] 
[INFO] [stderr] error: could not document `redefine_demo`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --edition=2018 --crate-type bin --crate-name redefine_demo src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items '-Arustdoc::private-intra-doc-links' -C metadata=cc7126381038c4e4 -L dependency=/opt/rustwide/target/debug/deps --cap-lints=warn --crate-version 0.1.0` (exit status: 1)
[INFO] running `Command { std: "docker" "inspect" "b2e7e9b62135d9909838a07cd9c70b306ccef1f4dbbbb059418871e59f5a3da1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b2e7e9b62135d9909838a07cd9c70b306ccef1f4dbbbb059418871e59f5a3da1", kill_on_drop: false }`
[INFO] [stdout] b2e7e9b62135d9909838a07cd9c70b306ccef1f4dbbbb059418871e59f5a3da1
