[INFO] fetching crate api-guidelines 0.1.1...
[INFO] testing api-guidelines-0.1.1 against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] extracting crate api-guidelines 0.1.1 into /workspace/builds/worker-4-tc2/source
[INFO] started tweaking crates.io crate api-guidelines 0.1.1
[INFO] finished tweaking crates.io crate api-guidelines 0.1.1
[INFO] tweaked toml for crates.io crate api-guidelines 0.1.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate api-guidelines 0.1.1 on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate api-guidelines 0.1.1 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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4229adae3c05daf3780f01d5632269115afd93359eadf9666d77053ffe63bd5a
[INFO] running `Command { std: "docker" "start" "-a" "4229adae3c05daf3780f01d5632269115afd93359eadf9666d77053ffe63bd5a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4229adae3c05daf3780f01d5632269115afd93359eadf9666d77053ffe63bd5a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4229adae3c05daf3780f01d5632269115afd93359eadf9666d77053ffe63bd5a", kill_on_drop: false }`
[INFO] [stdout] 4229adae3c05daf3780f01d5632269115afd93359eadf9666d77053ffe63bd5a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 37f5f925f1cf416fabefa1caa2fbd35f696f0c6beb8270425074d120e5c188cf
[INFO] running `Command { std: "docker" "start" "-a" "37f5f925f1cf416fabefa1caa2fbd35f696f0c6beb8270425074d120e5c188cf", kill_on_drop: false }`
[INFO] [stderr]    Compiling api-guidelines v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.09s
[INFO] running `Command { std: "docker" "inspect" "37f5f925f1cf416fabefa1caa2fbd35f696f0c6beb8270425074d120e5c188cf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "37f5f925f1cf416fabefa1caa2fbd35f696f0c6beb8270425074d120e5c188cf", kill_on_drop: false }`
[INFO] [stdout] 37f5f925f1cf416fabefa1caa2fbd35f696f0c6beb8270425074d120e5c188cf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 2ccf2754ec4a4d9988ba324e713391153ec29f9a2c9aef08568ae3b5708981fb
[INFO] running `Command { std: "docker" "start" "-a" "2ccf2754ec4a4d9988ba324e713391153ec29f9a2c9aef08568ae3b5708981fb", kill_on_drop: false }`
[INFO] [stderr]    Compiling api-guidelines v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s
[INFO] running `Command { std: "docker" "inspect" "2ccf2754ec4a4d9988ba324e713391153ec29f9a2c9aef08568ae3b5708981fb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2ccf2754ec4a4d9988ba324e713391153ec29f9a2c9aef08568ae3b5708981fb", kill_on_drop: false }`
[INFO] [stdout] 2ccf2754ec4a4d9988ba324e713391153ec29f9a2c9aef08568ae3b5708981fb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 06ddf68e8f91b28849fae5a0b7755dddadcc3435dc4ae605833ca8fa10310128
[INFO] running `Command { std: "docker" "start" "-a" "06ddf68e8f91b28849fae5a0b7755dddadcc3435dc4ae605833ca8fa10310128", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/build/api-guidelines/264a28744efec59d/deps/api_guidelines-264a28744efec59d)
[INFO] [stdout] running 0 tests
[INFO] [stderr]    Doc-tests api_guidelines
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 53 tests
[INFO] [stdout] test src/lib.rs - Documentation::C_RELNOTES (line 1148) ... FAILED
[INFO] [stdout] test src/lib.rs - Documentation::C_LINK (line 1117) ... FAILED
[INFO] [stdout] test src/lib.rs - Documentation::C_LINK (line 1109) ... FAILED
[INFO] [stdout] test src/lib.rs - Documentation::C_LINK (line 1113) ... FAILED
[INFO] [stdout] test src/lib.rs - Dependability::C_VALIDATE (line 791) ... FAILED
[INFO] [stdout] test src/lib.rs - Documentation::C_HIDDEN (line 1166) ... FAILED
[INFO] [stdout] test src/lib.rs - Documentation::C_FAILURE (line 1067) ... ok
[INFO] [stdout] test src/lib.rs - Flexibility::C_GENERIC (line 579) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 33) ... ok
[INFO] [stdout] test src/lib.rs - Flexibility::C_OBJECT (line 614) ... FAILED
[INFO] [stdout] test src/lib.rs - Documentation::C_FAILURE (line 1052) ... ok
[INFO] [stdout] test src/lib.rs - Flexibility::C_CALLER_CONTROL (line 533) ... FAILED
[INFO] [stdout] test src/lib.rs - Documentation::C_FAILURE (line 1077) ... FAILED
[INFO] [stdout] test src/lib.rs - Debuggability::C_DEBUG_NONEMPTY (line 841) ... ok
[INFO] [stdout] test src/lib.rs - Documentation::C_QUESTION_MARK (line 1035) ... ok
[INFO] [stdout] test src/lib.rs - Flexibility::C_GENERIC (line 561) ... FAILED
[INFO] [stdout] test src/lib.rs - FutureProofing::C_SEALED (line 853) ... FAILED
[INFO] [stdout] test src/lib.rs - Interoperability::C_RW_VALUE (line 392) ... FAILED
[INFO] [stdout] test src/lib.rs - FutureProofing::C_STRUCT_BOUNDS (line 933) ... FAILED
[INFO] [stdout] test src/lib.rs - Documentation::C_EXAMPLE (line 1021) ... ok
[INFO] [stdout] test src/lib.rs - Flexibility::C_CALLER_CONTROL (line 546) ... FAILED
[INFO] [stdout] test src/lib.rs - Macro::C_EVOCATIVE (line 1208) ... FAILED
[INFO] [stdout] test src/lib.rs - Macro::C_ANYWHERE (line 1272) ... FAILED
[INFO] [stdout] test src/lib.rs - Flexibility::C_OBJECT (line 607) ... ok
[INFO] [stdout] test src/lib.rs - Naming::C_ITER (line 248) ... FAILED
[INFO] [stdout] test src/lib.rs - Macro::C_MACRO_VIS (line 1289) ... FAILED
[INFO] [stdout] test src/lib.rs - Macro::C_MACRO_ATTR (line 1247) ... FAILED
[INFO] [stdout] test src/lib.rs - FutureProofing::C_NEWTYPE_HIDE (line 916) ... ok
[INFO] [stdout] test src/lib.rs - Macro::C_EVOCATIVE (line 1193) ... FAILED
[INFO] [stdout] test src/lib.rs - Necessities::C_PERMISSIVE (line 991) ... FAILED
[INFO] [stdout] test src/lib.rs - Naming::C_CONV (line 208) ... FAILED
[INFO] [stdout] test src/lib.rs - Necessities::C_STABLE (line 977) ... FAILED
[INFO] [stdout] test src/lib.rs - FutureProofing::C_NEWTYPE_HIDE (line 893) ... ok
[INFO] [stdout] test src/lib.rs - Documentation::C_FAILURE (line 1089) ... ok
[INFO] [stdout] test src/lib.rs - Macro::C_MACRO_TY (line 1313) ... FAILED
[INFO] [stdout] test src/lib.rs - Predictability::C_NO_OUT (line 463) ... FAILED
[INFO] [stdout] test src/lib.rs - Predictability::C_SMART_PTR (line 426) ... FAILED
[INFO] [stdout] test src/lib.rs - Predictability::C_SMART_PTR (line 417) ... FAILED
[INFO] [stdout] test src/lib.rs - Macro::C_MACRO_ATTR (line 1236) ... FAILED
[INFO] [stdout] test src/lib.rs - FutureProofing::C_NEWTYPE_HIDE (line 900) ... ok
[INFO] [stdout] test src/lib.rs - FutureProofing::C_STRUCT_BOUNDS (line 924) ... FAILED
[INFO] [stdout] test src/lib.rs - TypeSafety::C_NEWTYPE (line 650) ... FAILED
[INFO] [stdout] test src/lib.rs - TypeSafety::C_BUILDER (line 764) ... FAILED
[INFO] [stdout] test src/lib.rs - Macro::C_ANYWHERE (line 1260) ... ok
[INFO] [stdout] test src/lib.rs - TypeSafety::C_BUILDER (line 744) ... FAILED
[INFO] [stdout] test src/lib.rs - Naming::C_GETTER (line 226) ... FAILED
[INFO] [stdout] test src/lib.rs - TypeSafety::C_CUSTOM_TYPE (line 658) ... FAILED
[INFO] [stdout] test src/lib.rs - TypeSafety::C_NEWTYPE (line 638) ... FAILED
[INFO] [stdout] test src/lib.rs - TypeSafety::C_BITFLAG (line 685) ... FAILED
[INFO] [stdout] test src/lib.rs - Predictability::C_NO_OUT (line 459) ... FAILED
[INFO] [stdout] test src/lib.rs - Interoperability::C_SEND_SYNC (line 338) ... ok
[INFO] [stdout] test src/lib.rs - Predictability::C_NO_OUT (line 471) ... FAILED
[INFO] [stdout] test src/lib.rs - TypeSafety::C_BITFLAG (line 675) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - Documentation::C_RELNOTES (line 1148) stdout ----
[INFO] [stdout] error: expected one of `!` or `::`, found `the`
[INFO] [stdout]     --> src/lib.rs:1149:5
[INFO] [stdout]      |
[INFO] [stdout] 1149 | Tag the current commit
[INFO] [stdout]      |     ^^^ expected one of `!` or `::`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Documentation::C_LINK (line 1117) stdout ----
[INFO] [stdout] error: unknown start of token: `
[INFO] [stdout]     --> src/lib.rs:1118:2
[INFO] [stdout]      |
[INFO] [stdout] 1118 | [`Value`]: ../enum.Value.html
[INFO] [stdout]      |  ^
[INFO] [stdout]      |
[INFO] [stdout] help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not
[INFO] [stdout]      |
[INFO] [stdout] 1118 - [`Value`]: ../enum.Value.html
[INFO] [stdout] 1118 + ['Value`]: ../enum.Value.html
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: `
[INFO] [stdout]     --> src/lib.rs:1118:8
[INFO] [stdout]      |
[INFO] [stdout] 1118 | [`Value`]: ../enum.Value.html
[INFO] [stdout]      |        ^
[INFO] [stdout]      |
[INFO] [stdout] help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not
[INFO] [stdout]      |
[INFO] [stdout] 1118 - [`Value`]: ../enum.Value.html
[INFO] [stdout] 1118 + [`Value']: ../enum.Value.html
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: `
[INFO] [stdout]     --> src/lib.rs:1119:2
[INFO] [stdout]      |
[INFO] [stdout] 1119 | [`DeserializeOwned`]: de/trait.DeserializeOwned.html
[INFO] [stdout]      |  ^
[INFO] [stdout]      |
[INFO] [stdout] help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not
[INFO] [stdout]      |
[INFO] [stdout] 1119 - [`DeserializeOwned`]: de/trait.DeserializeOwned.html
[INFO] [stdout] 1119 + ['DeserializeOwned`]: de/trait.DeserializeOwned.html
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: `
[INFO] [stdout]     --> src/lib.rs:1119:19
[INFO] [stdout]      |
[INFO] [stdout] 1119 | [`DeserializeOwned`]: de/trait.DeserializeOwned.html
[INFO] [stdout]      |                   ^
[INFO] [stdout]      |
[INFO] [stdout] help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not
[INFO] [stdout]      |
[INFO] [stdout] 1119 - [`DeserializeOwned`]: de/trait.DeserializeOwned.html
[INFO] [stdout] 1119 + [`DeserializeOwned']: de/trait.DeserializeOwned.html
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] error: expected item, found `[`
[INFO] [stdout]     --> src/lib.rs:1118:1
[INFO] [stdout]      |
[INFO] [stdout] 1118 | [`Value`]: ../enum.Value.html
[INFO] [stdout]      | ^ expected item
[INFO] [stdout]      |
[INFO] [stdout]      = note: for a full list of items that can appear in modules, see <https://doc.rust-lang.org/reference/items.html>
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Documentation::C_LINK (line 1109) stdout ----
[INFO] [stdout] error: unknown start of token: `
[INFO] [stdout]     --> src/lib.rs:1110:2
[INFO] [stdout]      |
[INFO] [stdout] 1110 | [`serialize_struct`]: #method.serialize_struct
[INFO] [stdout]      |  ^
[INFO] [stdout]      |
[INFO] [stdout] help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not
[INFO] [stdout]      |
[INFO] [stdout] 1110 - [`serialize_struct`]: #method.serialize_struct
[INFO] [stdout] 1110 + ['serialize_struct`]: #method.serialize_struct
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: `
[INFO] [stdout]     --> src/lib.rs:1110:19
[INFO] [stdout]      |
[INFO] [stdout] 1110 | [`serialize_struct`]: #method.serialize_struct
[INFO] [stdout]      |                   ^
[INFO] [stdout]      |
[INFO] [stdout] help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not
[INFO] [stdout]      |
[INFO] [stdout] 1110 - [`serialize_struct`]: #method.serialize_struct
[INFO] [stdout] 1110 + [`serialize_struct']: #method.serialize_struct
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] error: expected item, found `[`
[INFO] [stdout]     --> src/lib.rs:1110:1
[INFO] [stdout]      |
[INFO] [stdout] 1110 | [`serialize_struct`]: #method.serialize_struct
[INFO] [stdout]      | ^ expected item
[INFO] [stdout]      |
[INFO] [stdout]      = note: for a full list of items that can appear in modules, see <https://doc.rust-lang.org/reference/items.html>
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Documentation::C_LINK (line 1113) stdout ----
[INFO] [stdout] error: unknown start of token: `
[INFO] [stdout]     --> src/lib.rs:1114:2
[INFO] [stdout]      |
[INFO] [stdout] 1114 | [`Deserialize`]: trait.Deserialize.html
[INFO] [stdout]      |  ^
[INFO] [stdout]      |
[INFO] [stdout] help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not
[INFO] [stdout]      |
[INFO] [stdout] 1114 - [`Deserialize`]: trait.Deserialize.html
[INFO] [stdout] 1114 + ['Deserialize`]: trait.Deserialize.html
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: `
[INFO] [stdout]     --> src/lib.rs:1114:14
[INFO] [stdout]      |
[INFO] [stdout] 1114 | [`Deserialize`]: trait.Deserialize.html
[INFO] [stdout]      |              ^
[INFO] [stdout]      |
[INFO] [stdout] help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not
[INFO] [stdout]      |
[INFO] [stdout] 1114 - [`Deserialize`]: trait.Deserialize.html
[INFO] [stdout] 1114 + [`Deserialize']: trait.Deserialize.html
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] error: expected item, found `[`
[INFO] [stdout]     --> src/lib.rs:1114:1
[INFO] [stdout]      |
[INFO] [stdout] 1114 | [`Deserialize`]: trait.Deserialize.html
[INFO] [stdout]      | ^ expected item
[INFO] [stdout]      |
[INFO] [stdout]      = note: for a full list of items that can appear in modules, see <https://doc.rust-lang.org/reference/items.html>
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Dependability::C_VALIDATE (line 791) stdout ----
[INFO] [stdout] error[E0428]: the name `foo` is defined multiple times
[INFO] [stdout]    --> src/lib.rs:795:1
[INFO] [stdout]     |
[INFO] [stdout] 793 | fn foo(a: Ascii) { /* ... */ }
[INFO] [stdout]     | ---------------- previous definition of the value `foo` here
[INFO] [stdout] 794 | // over
[INFO] [stdout] 795 | fn foo(a: u8) { /* ... */ }
[INFO] [stdout]     | ^^^^^^^^^^^^^ `foo` redefined here
[INFO] [stdout]     |
[INFO] [stdout]     = note: `foo` must be defined only once in the value namespace of this block
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Ascii` in this scope
[INFO] [stdout]    --> src/lib.rs:793:11
[INFO] [stdout]     |
[INFO] [stdout] 793 | fn foo(a: Ascii) { /* ... */ }
[INFO] [stdout]     |           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0428.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Documentation::C_HIDDEN (line 1166) stdout ----
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> src/lib.rs:1174:35
[INFO] [stdout]      |
[INFO] [stdout] 1174 |     fn from(err: PrivateError) -> PublicError {
[INFO] [stdout]      |        ----                       ^^^^^^^^^^^ expected `PublicError`, found `()`
[INFO] [stdout]      |        |
[INFO] [stdout]      |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Flexibility::C_GENERIC (line 579) stdout ----
[INFO] [stdout] error: expected one of `!`, `(`, `+`, `::`, `<`, `where`, or `{`, found `}`
[INFO] [stdout]    --> src/lib.rs:581:1
[INFO] [stdout]     |
[INFO] [stdout] 580 | fn binary<T: Trait>(x: T, y: T) -> T
[INFO] [stdout]     |    ------ while parsing this `fn`   - expected one of 7 possible tokens
[INFO] [stdout] 581 | } _doctest_main_src_lib_rs_579_0() }
[INFO] [stdout]     | ^ unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: free function without a body
[INFO] [stdout]    --> src/lib.rs:580:1
[INFO] [stdout]     |
[INFO] [stdout] 580 | fn binary<T: Trait>(x: T, y: T) -> T
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: provide a definition for the function: `{ <body> }`
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Trait` in this scope
[INFO] [stdout]    --> src/lib.rs:580:14
[INFO] [stdout]     |
[INFO] [stdout] 580 | fn binary<T: Trait>(x: T, y: T) -> T
[INFO] [stdout]     |              ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Flexibility::C_OBJECT (line 614) stdout ----
[INFO] [stdout] error: this file contains an unclosed delimiter
[INFO] [stdout]    --> src/lib.rs:617:58
[INFO] [stdout]     |
[INFO] [stdout] 615 | trait MyTrait {
[INFO] [stdout]     |               - unclosed delimiter
[INFO] [stdout] 616 |     fn object_safe(&self, i: i32);
[INFO] [stdout] 617 |     fn not_object_safe<T>(&self, t: T) where Self: Sized;
[INFO] [stdout]     |                                                          ^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Flexibility::C_CALLER_CONTROL (line 533) stdout ----
[INFO] [stdout] error[E0428]: the name `foo` is defined multiple times
[INFO] [stdout]    --> src/lib.rs:539:1
[INFO] [stdout]     |
[INFO] [stdout] 535 | fn foo(b: Bar) {
[INFO] [stdout]     | -------------- previous definition of the value `foo` here
[INFO] [stdout] ...
[INFO] [stdout] 539 | fn foo(b: &Bar) {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^ `foo` redefined here
[INFO] [stdout]     |
[INFO] [stdout]     = note: `foo` must be defined only once in the value namespace of this block
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Bar` in this scope
[INFO] [stdout]    --> src/lib.rs:535:11
[INFO] [stdout]     |
[INFO] [stdout] 535 | fn foo(b: Bar) {
[INFO] [stdout]     |           ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Bar` in this scope
[INFO] [stdout]    --> src/lib.rs:539:12
[INFO] [stdout]     |
[INFO] [stdout] 539 | fn foo(b: &Bar) {
[INFO] [stdout]     |            ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0428.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Documentation::C_FAILURE (line 1077) stdout ----
[INFO] [stdout] error[E0405]: cannot find trait `Display` in this scope
[INFO] [stdout]     --> src/lib.rs:1081:17
[INFO] [stdout]      |
[INFO] [stdout] 1081 | pub fn print<T: Display>(t: T) {
[INFO] [stdout]      |                 ^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]      |
[INFO] [stdout] 1077 + use std::fmt::Display;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Flexibility::C_GENERIC (line 561) stdout ----
[INFO] [stdout] error[E0428]: the name `foo` is defined multiple times
[INFO] [stdout]    --> src/lib.rs:565:1
[INFO] [stdout]     |
[INFO] [stdout] 563 | fn foo<I: IntoIterator<Item = i64>>(iter: I) { /* ... */ }
[INFO] [stdout]     | -------------------------------------------- previous definition of the value `foo` here
[INFO] [stdout] 564 | //over any of
[INFO] [stdout] 565 | fn foo(c: &[i64]) { /* ... */ }
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^ `foo` redefined here
[INFO] [stdout]     |
[INFO] [stdout]     = note: `foo` must be defined only once in the value namespace of this block
[INFO] [stdout] 
[INFO] [stdout] error[E0428]: the name `foo` is defined multiple times
[INFO] [stdout]    --> src/lib.rs:566:1
[INFO] [stdout]     |
[INFO] [stdout] 563 | fn foo<I: IntoIterator<Item = i64>>(iter: I) { /* ... */ }
[INFO] [stdout]     | -------------------------------------------- previous definition of the value `foo` here
[INFO] [stdout] ...
[INFO] [stdout] 566 | fn foo(c: &Vec<i64>) { /* ... */ }
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^ `foo` redefined here
[INFO] [stdout]     |
[INFO] [stdout]     = note: `foo` must be defined only once in the value namespace of this block
[INFO] [stdout] 
[INFO] [stdout] error[E0428]: the name `foo` is defined multiple times
[INFO] [stdout]    --> src/lib.rs:567:1
[INFO] [stdout]     |
[INFO] [stdout] 563 | fn foo<I: IntoIterator<Item = i64>>(iter: I) { /* ... */ }
[INFO] [stdout]     | -------------------------------------------- previous definition of the value `foo` here
[INFO] [stdout] ...
[INFO] [stdout] 567 | fn foo(c: &SomeOtherCollection<i64>) { /* ... */ }
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `foo` redefined here
[INFO] [stdout]     |
[INFO] [stdout]     = note: `foo` must be defined only once in the value namespace of this block
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SomeOtherCollection` in this scope
[INFO] [stdout]    --> src/lib.rs:567:12
[INFO] [stdout]     |
[INFO] [stdout] 567 | fn foo(c: &SomeOtherCollection<i64>) { /* ... */ }
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0428.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - FutureProofing::C_SEALED (line 853) stdout ----
[INFO] [stdout] error: expected identifier, found `...`
[INFO] [stdout]    --> src/lib.rs:857:8
[INFO] [stdout]     |
[INFO] [stdout] 855 | pub trait TheTrait: private::Sealed {
[INFO] [stdout]     |                                     - while parsing this item list starting here
[INFO] [stdout] 856 |     // Zero or more methods that the user is allowed to call.
[INFO] [stdout] 857 |     fn ...();
[INFO] [stdout]     |        ^^^ expected identifier
[INFO] [stdout] ...
[INFO] [stdout] 861 | }
[INFO] [stdout]     | - the item list ends here
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Interoperability::C_RW_VALUE (line 392) stdout ----
[INFO] [stdout] error[E0405]: cannot find trait `Read` in this scope
[INFO] [stdout]    --> src/lib.rs:393:28
[INFO] [stdout]     |
[INFO] [stdout] 393 | impl<'a, R: Read + ?Sized> Read for &'a mut R { /* ... */ }
[INFO] [stdout]     |                            ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout] 392 + use std::io::Read;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Read` in this scope
[INFO] [stdout]    --> src/lib.rs:393:13
[INFO] [stdout]     |
[INFO] [stdout] 393 | impl<'a, R: Read + ?Sized> Read for &'a mut R { /* ... */ }
[INFO] [stdout]     |             ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout] 392 + use std::io::Read;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Write` in this scope
[INFO] [stdout]    --> src/lib.rs:394:29
[INFO] [stdout]     |
[INFO] [stdout] 394 | impl<'a, W: Write + ?Sized> Write for &'a mut W { /* ... */ }
[INFO] [stdout]     |                             ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these traits
[INFO] [stdout]     |
[INFO] [stdout] 392 + use std::fmt::Write;
[INFO] [stdout]     |
[INFO] [stdout] 392 + use std::io::Write;
[INFO] [stdout]     |
[INFO] [stdout] 392 + use core::fmt::Write;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Write` in this scope
[INFO] [stdout]    --> src/lib.rs:394:13
[INFO] [stdout]     |
[INFO] [stdout] 394 | impl<'a, W: Write + ?Sized> Write for &'a mut W { /* ... */ }
[INFO] [stdout]     |             ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these traits
[INFO] [stdout]     |
[INFO] [stdout] 392 + use std::fmt::Write;
[INFO] [stdout]     |
[INFO] [stdout] 392 + use std::io::Write;
[INFO] [stdout]     |
[INFO] [stdout] 392 + use core::fmt::Write;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - FutureProofing::C_STRUCT_BOUNDS (line 933) stdout ----
[INFO] [stdout] error[E0404]: expected trait, found derive macro `Debug`
[INFO] [stdout]    --> src/lib.rs:939:23
[INFO] [stdout]     |
[INFO] [stdout] 939 | struct Bad<T: Clone + Debug + PartialEq + PartialOrd> { /* ... */ }
[INFO] [stdout]     |                       ^^^^^ not a trait
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this trait instead
[INFO] [stdout]     |
[INFO] [stdout] 933 + use std::fmt::Debug;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0392]: type parameter `T` is never used
[INFO] [stdout]    --> src/lib.rs:936:13
[INFO] [stdout]     |
[INFO] [stdout] 936 | struct Good<T> { /* ... */ }
[INFO] [stdout]     |             ^ unused type parameter
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider removing `T`, referring to it in a field, or using a marker such as `PhantomData`
[INFO] [stdout]     = help: if you intended `T` to be a const parameter, use `const T: /* Type */` instead
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0392, E0404.
[INFO] [stdout] For more information about an error, try `rustc --explain E0392`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Flexibility::C_CALLER_CONTROL (line 546) stdout ----
[INFO] [stdout] error[E0428]: the name `foo` is defined multiple times
[INFO] [stdout]    --> src/lib.rs:552:1
[INFO] [stdout]     |
[INFO] [stdout] 548 | fn foo(b: &Bar) {
[INFO] [stdout]     | --------------- previous definition of the value `foo` here
[INFO] [stdout] ...
[INFO] [stdout] 552 | fn foo(b: Bar) {
[INFO] [stdout]     | ^^^^^^^^^^^^^^ `foo` redefined here
[INFO] [stdout]     |
[INFO] [stdout]     = note: `foo` must be defined only once in the value namespace of this block
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Bar` in this scope
[INFO] [stdout]    --> src/lib.rs:548:12
[INFO] [stdout]     |
[INFO] [stdout] 548 | fn foo(b: &Bar) {
[INFO] [stdout]     |            ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Bar` in this scope
[INFO] [stdout]    --> src/lib.rs:552:11
[INFO] [stdout]     |
[INFO] [stdout] 552 | fn foo(b: Bar) {
[INFO] [stdout]     |           ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0428.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Macro::C_EVOCATIVE (line 1208) stdout ----
[INFO] [stdout] error: cannot find macro `bitflags` in this scope
[INFO] [stdout]     --> src/lib.rs:1220:1
[INFO] [stdout]      |
[INFO] [stdout] 1220 | bitflags! {
[INFO] [stdout]      | ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `bitflags` in this scope
[INFO] [stdout]     --> src/lib.rs:1213:1
[INFO] [stdout]      |
[INFO] [stdout] 1213 | bitflags! {
[INFO] [stdout]      | ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Macro::C_ANYWHERE (line 1272) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `super::T`
[INFO] [stdout]     --> src/lib.rs:1277:21
[INFO] [stdout]      |
[INFO] [stdout] 1277 |             pub use super::$t;
[INFO] [stdout]      |                     ^^^^^^^^^ no `T` in the root
[INFO] [stdout] ...
[INFO] [stdout] 1281 | broken!(m::T); // okay, expands to T and m::T
[INFO] [stdout]      | ------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `broken` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `super::U`
[INFO] [stdout]     --> src/lib.rs:1277:21
[INFO] [stdout]      |
[INFO] [stdout] 1277 |             pub use super::$t;
[INFO] [stdout]      |                     ^^^^^^^^^ no `U` in the root
[INFO] [stdout] ...
[INFO] [stdout] 1283 |     broken!(m::U); // fails to compile, super::U refers to the containing module not g
[INFO] [stdout]      |     ------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `broken` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Naming::C_ITER (line 248) stdout ----
[INFO] [stdout] error: expected one of `!`, `(`, `+`, `::`, `<`, `where`, or `{`, found keyword `fn`
[INFO] [stdout]    --> src/lib.rs:250:1
[INFO] [stdout]     |
[INFO] [stdout] 249 | fn iter(&self) -> Iter             // Iter implements Iterator<Item = &U>
[INFO] [stdout]     |                       - expected one of 7 possible tokens
[INFO] [stdout] 250 | fn iter_mut(&mut self) -> IterMut  // IterMut implements Iterator<Item = &mut U>
[INFO] [stdout]     | ^^ unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Macro::C_MACRO_VIS (line 1289) stdout ----
[INFO] [stdout] error: cannot find macro `bitflags` in this scope
[INFO] [stdout]     --> src/lib.rs:1296:1
[INFO] [stdout]      |
[INFO] [stdout] 1296 | bitflags! {
[INFO] [stdout]      | ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `bitflags` in this scope
[INFO] [stdout]     --> src/lib.rs:1290:1
[INFO] [stdout]      |
[INFO] [stdout] 1290 | bitflags! {
[INFO] [stdout]      | ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Macro::C_MACRO_ATTR (line 1247) stdout ----
[INFO] [stdout] error: cannot find macro `bitflags` in this scope
[INFO] [stdout]     --> src/lib.rs:1248:1
[INFO] [stdout]      |
[INFO] [stdout] 1248 | bitflags! {
[INFO] [stdout]      | ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Macro::C_EVOCATIVE (line 1193) stdout ----
[INFO] [stdout] error: cannot find macro `bitflags` in this scope
[INFO] [stdout]     --> src/lib.rs:1203:1
[INFO] [stdout]      |
[INFO] [stdout] 1203 | bitflags! {
[INFO] [stdout]      | ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `bitflags` in this scope
[INFO] [stdout]     --> src/lib.rs:1199:1
[INFO] [stdout]      |
[INFO] [stdout] 1199 | bitflags! {
[INFO] [stdout]      | ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `bitflags` in this scope
[INFO] [stdout]     --> src/lib.rs:1195:1
[INFO] [stdout]      |
[INFO] [stdout] 1195 | bitflags! {
[INFO] [stdout]      | ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Necessities::C_PERMISSIVE (line 991) stdout ----
[INFO] [stdout] error: expected item, found `[`
[INFO] [stdout]    --> src/lib.rs:992:1
[INFO] [stdout]     |
[INFO] [stdout] 992 | [package]
[INFO] [stdout]     | ^ expected item
[INFO] [stdout]     |
[INFO] [stdout]     = note: for a full list of items that can appear in modules, see <https://doc.rust-lang.org/reference/items.html>
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Naming::C_CONV (line 208) stdout ----
[INFO] [stdout] error: free function without a body
[INFO] [stdout]    --> src/lib.rs:210:1
[INFO] [stdout]     |
[INFO] [stdout] 210 | fn as_mut_slice(&mut self) -> &mut [T];
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-
[INFO] [stdout]     |                                       |
[INFO] [stdout]     |                                       help: provide a definition for the function: `{ <body> }`
[INFO] [stdout] 
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]    --> src/lib.rs:210:17
[INFO] [stdout]     |
[INFO] [stdout] 210 | fn as_mut_slice(&mut self) -> &mut [T];
[INFO] [stdout]     |                 ^^^^^^^^^ not semantically valid as function parameter
[INFO] [stdout]     |
[INFO] [stdout]     = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `T` in this scope
[INFO] [stdout]    --> src/lib.rs:210:37
[INFO] [stdout]     |
[INFO] [stdout] 210 | fn as_mut_slice(&mut self) -> &mut [T];
[INFO] [stdout]     |                                     ^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 210 | fn as_mut_slice<T>(&mut self) -> &mut [T];
[INFO] [stdout]     |                +++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Necessities::C_STABLE (line 977) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `other_crate`
[INFO] [stdout]    --> src/lib.rs:978:25
[INFO] [stdout]     |
[INFO] [stdout] 978 | pub fn do_my_thing(arg: other_crate::TheirThing) { /* ... */ }
[INFO] [stdout]     |                         ^^^^^^^^^^^ use of unresolved module or unlinked crate `other_crate`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `other_crate`, use `cargo add other_crate` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Macro::C_MACRO_TY (line 1313) stdout ----
[INFO] [stdout] error[E0425]: cannot find type `S` in this scope
[INFO] [stdout]     --> src/lib.rs:1324:14
[INFO] [stdout]      |
[INFO] [stdout] 1324 | broken!(c => S);
[INFO] [stdout]      |              ^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Predictability::C_NO_OUT (line 463) stdout ----
[INFO] [stdout] error: expected one of `!`, `(`, `+`, `::`, `<`, `where`, or `{`, found `}`
[INFO] [stdout]    --> src/lib.rs:465:1
[INFO] [stdout]     |
[INFO] [stdout] 464 | fn foo(output: &mut Bar) -> Bar
[INFO] [stdout]     |    --- while parsing this `fn` - expected one of 7 possible tokens
[INFO] [stdout] 465 | } _doctest_main_src_lib_rs_463_0() }
[INFO] [stdout]     | ^ unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: free function without a body
[INFO] [stdout]    --> src/lib.rs:464:1
[INFO] [stdout]     |
[INFO] [stdout] 464 | fn foo(output: &mut Bar) -> Bar
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: provide a definition for the function: `{ <body> }`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Bar` in this scope
[INFO] [stdout]    --> src/lib.rs:464:21
[INFO] [stdout]     |
[INFO] [stdout] 464 | fn foo(output: &mut Bar) -> Bar
[INFO] [stdout]     |                     ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Bar` in this scope
[INFO] [stdout]    --> src/lib.rs:464:29
[INFO] [stdout]     |
[INFO] [stdout] 464 | fn foo(output: &mut Bar) -> Bar
[INFO] [stdout]     |                             ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Predictability::C_SMART_PTR (line 426) stdout ----
[INFO] [stdout] error: expected item, found keyword `let`
[INFO] [stdout]    --> src/lib.rs:431:1
[INFO] [stdout]     |
[INFO] [stdout] 431 | let boxed_str: Box<str> = /* ... */;
[INFO] [stdout]     | ^^^
[INFO] [stdout]     | |
[INFO] [stdout]     | `let` cannot be used for global variables
[INFO] [stdout]     | help: consider using `static` or `const` instead of `let`
[INFO] [stdout]     |
[INFO] [stdout]     = note: for a full list of items that can appear in modules, see <https://doc.rust-lang.org/reference/items.html>
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Predictability::C_SMART_PTR (line 417) stdout ----
[INFO] [stdout] error: unexpected closing delimiter: `}`
[INFO] [stdout]    --> src/lib.rs:423:1
[INFO] [stdout]     |
[INFO] [stdout] 418 | impl<T> Box<T> where T: ?Sized {
[INFO] [stdout]     |                                - this opening brace...
[INFO] [stdout] 419 |     fn into_raw(b: Box<T>) -> *mut T { /* ... */ }
[INFO] [stdout] 420 | }
[INFO] [stdout]     | - ...matches this closing brace
[INFO] [stdout] ...
[INFO] [stdout] 423 | }
[INFO] [stdout]     | ^ unexpected closing delimiter
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Macro::C_MACRO_ATTR (line 1236) stdout ----
[INFO] [stdout] error: cannot find macro `bitflags` in this scope
[INFO] [stdout]     --> src/lib.rs:1237:1
[INFO] [stdout]      |
[INFO] [stdout] 1237 | bitflags! {
[INFO] [stdout]      | ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - FutureProofing::C_STRUCT_BOUNDS (line 924) stdout ----
[INFO] [stdout] error[E0404]: expected trait, found derive macro `Debug`
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] [stdout]    --> src/lib.rs:930:23
[INFO] [stdout]     |
[INFO] [stdout] 930 | struct Bad<T: Clone + Debug + PartialEq> { /* ... */ }
[INFO] [stdout]     |                       ^^^^^ not a trait
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this trait instead
[INFO] [stdout]     |
[INFO] [stdout] 924 + use std::fmt::Debug;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0392]: type parameter `T` is never used
[INFO] [stdout]    --> src/lib.rs:927:13
[INFO] [stdout]     |
[INFO] [stdout] 927 | struct Good<T> { /* ... */ }
[INFO] [stdout]     |             ^ unused type parameter
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider removing `T`, referring to it in a field, or using a marker such as `PhantomData`
[INFO] [stdout]     = help: if you intended `T` to be a const parameter, use `const T: /* Type */` instead
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0392, E0404.
[INFO] [stdout] For more information about an error, try `rustc --explain E0392`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - TypeSafety::C_NEWTYPE (line 650) stdout ----
[INFO] [stdout] error[E0425]: cannot find type `Miles` in this scope
[INFO] [stdout]    --> src/lib.rs:651:41
[INFO] [stdout]     |
[INFO] [stdout] 651 | fn are_we_there_yet(distance_travelled: Miles) -> bool { /* ... */ }
[INFO] [stdout]     |                                         ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:651:51
[INFO] [stdout]     |
[INFO] [stdout] 651 | fn are_we_there_yet(distance_travelled: Miles) -> bool { /* ... */ }
[INFO] [stdout]     |    ----------------                               ^^^^ expected `bool`, found `()`
[INFO] [stdout]     |    |
[INFO] [stdout]     |    implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - TypeSafety::C_BUILDER (line 764) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `reroute` in this scope
[INFO] [stdout]    --> src/lib.rs:770:4
[INFO] [stdout]     |
[INFO] [stdout] 770 | if reroute {
[INFO] [stdout]     |    ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `mywriter` in this scope
[INFO] [stdout]    --> src/lib.rs:771:24
[INFO] [stdout]     |
[INFO] [stdout] 771 |     task = task.stdout(mywriter);
[INFO] [stdout]     |                        ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TaskBuilder`
[INFO] [stdout]    --> src/lib.rs:766:1
[INFO] [stdout]     |
[INFO] [stdout] 766 | TaskBuilder::new("my_task").spawn(|| { /* ... */ });
[INFO] [stdout]     | ^^^^^^^^^^^ use of undeclared type `TaskBuilder`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TaskBuilder`
[INFO] [stdout]    --> src/lib.rs:768:16
[INFO] [stdout]     |
[INFO] [stdout] 768 | let mut task = TaskBuilder::new();
[INFO] [stdout]     |                ^^^^^^^^^^^ use of undeclared type `TaskBuilder`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - TypeSafety::C_BUILDER (line 744) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Command`
[INFO] [stdout]    --> src/lib.rs:746:1
[INFO] [stdout]     |
[INFO] [stdout] 746 | Command::new("/bin/cat").arg("file.txt").spawn();
[INFO] [stdout]     | ^^^^^^^ use of undeclared type `Command`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 744 + use std::process::Command;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Command`
[INFO] [stdout]    --> src/lib.rs:748:15
[INFO] [stdout]     |
[INFO] [stdout] 748 | let mut cmd = Command::new("/bin/ls");
[INFO] [stdout]     |               ^^^^^^^ use of undeclared type `Command`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 744 + use std::process::Command;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `size_sorted` in this scope
[INFO] [stdout]    --> src/lib.rs:749:4
[INFO] [stdout]     |
[INFO] [stdout] 749 | if size_sorted {
[INFO] [stdout]     |    ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Naming::C_GETTER (line 226) stdout ----
[INFO] [stdout] error: free function without a body
[INFO] [stdout]    --> src/lib.rs:227:1
[INFO] [stdout]     |
[INFO] [stdout] 227 | fn get(&self, index: K) -> Option<&V>;
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-
[INFO] [stdout]     |                                      |
[INFO] [stdout]     |                                      help: provide a definition for the function: `{ <body> }`
[INFO] [stdout] 
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]    --> src/lib.rs:227:8
[INFO] [stdout]     |
[INFO] [stdout] 227 | fn get(&self, index: K) -> Option<&V>;
[INFO] [stdout]     |        ^^^^^ not semantically valid as function parameter
[INFO] [stdout]     |
[INFO] [stdout]     = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] error: free function without a body
[INFO] [stdout]    --> src/lib.rs:228:1
[INFO] [stdout]     |
[INFO] [stdout] 228 | fn get_mut(&mut self, index: K) -> Option<&mut V>;
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-
[INFO] [stdout]     |                                                  |
[INFO] [stdout]     |                                                  help: provide a definition for the function: `{ <body> }`
[INFO] [stdout] 
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]    --> src/lib.rs:228:12
[INFO] [stdout]     |
[INFO] [stdout] 228 | fn get_mut(&mut self, index: K) -> Option<&mut V>;
[INFO] [stdout]     |            ^^^^^^^^^ not semantically valid as function parameter
[INFO] [stdout]     |
[INFO] [stdout]     = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] error: free function without a body
[INFO] [stdout]    --> src/lib.rs:229:1
[INFO] [stdout]     |
[INFO] [stdout] 229 | unsafe fn get_unchecked(&self, index: K) -> &V;
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-
[INFO] [stdout]     |                                               |
[INFO] [stdout]     |                                               help: provide a definition for the function: `{ <body> }`
[INFO] [stdout] 
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]    --> src/lib.rs:229:25
[INFO] [stdout]     |
[INFO] [stdout] 229 | unsafe fn get_unchecked(&self, index: K) -> &V;
[INFO] [stdout]     |                         ^^^^^ not semantically valid as function parameter
[INFO] [stdout]     |
[INFO] [stdout]     = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] error: free function without a body
[INFO] [stdout]    --> src/lib.rs:230:1
[INFO] [stdout]     |
[INFO] [stdout] 230 | unsafe fn get_unchecked_mut(&mut self, index: K) -> &mut V;
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-
[INFO] [stdout]     |                                                           |
[INFO] [stdout]     |                                                           help: provide a definition for the function: `{ <body> }`
[INFO] [stdout] 
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]    --> src/lib.rs:230:29
[INFO] [stdout]     |
[INFO] [stdout] 230 | unsafe fn get_unchecked_mut(&mut self, index: K) -> &mut V;
[INFO] [stdout]     |                             ^^^^^^^^^ not semantically valid as function parameter
[INFO] [stdout]     |
[INFO] [stdout]     = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `K` in this scope
[INFO] [stdout]    --> src/lib.rs:227:22
[INFO] [stdout]     |
[INFO] [stdout] 227 | fn get(&self, index: K) -> Option<&V>;
[INFO] [stdout]     |                      ^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 227 | fn get<K>(&self, index: K) -> Option<&V>;
[INFO] [stdout]     |       +++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `V` in this scope
[INFO] [stdout]    --> src/lib.rs:227:36
[INFO] [stdout]     |
[INFO] [stdout] 227 | fn get(&self, index: K) -> Option<&V>;
[INFO] [stdout]     |                                    ^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 227 | fn get<V>(&self, index: K) -> Option<&V>;
[INFO] [stdout]     |       +++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `K` in this scope
[INFO] [stdout]    --> src/lib.rs:228:30
[INFO] [stdout]     |
[INFO] [stdout] 228 | fn get_mut(&mut self, index: K) -> Option<&mut V>;
[INFO] [stdout]     |                              ^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 228 | fn get_mut<K>(&mut self, index: K) -> Option<&mut V>;
[INFO] [stdout]     |           +++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `V` in this scope
[INFO] [stdout]    --> src/lib.rs:228:48
[INFO] [stdout]     |
[INFO] [stdout] 228 | fn get_mut(&mut self, index: K) -> Option<&mut V>;
[INFO] [stdout]     |                                                ^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 228 | fn get_mut<V>(&mut self, index: K) -> Option<&mut V>;
[INFO] [stdout]     |           +++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `K` in this scope
[INFO] [stdout]    --> src/lib.rs:229:39
[INFO] [stdout]     |
[INFO] [stdout] 229 | unsafe fn get_unchecked(&self, index: K) -> &V;
[INFO] [stdout]     |                                       ^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 229 | unsafe fn get_unchecked<K>(&self, index: K) -> &V;
[INFO] [stdout]     |                        +++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `V` in this scope
[INFO] [stdout]    --> src/lib.rs:229:46
[INFO] [stdout]     |
[INFO] [stdout] 229 | unsafe fn get_unchecked(&self, index: K) -> &V;
[INFO] [stdout]     |                                              ^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 229 | unsafe fn get_unchecked<V>(&self, index: K) -> &V;
[INFO] [stdout]     |                        +++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `K` in this scope
[INFO] [stdout]    --> src/lib.rs:230:47
[INFO] [stdout]     |
[INFO] [stdout] 230 | unsafe fn get_unchecked_mut(&mut self, index: K) -> &mut V;
[INFO] [stdout]     |                                               ^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 230 | unsafe fn get_unchecked_mut<K>(&mut self, index: K) -> &mut V;
[INFO] [stdout]     |                            +++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `V` in this scope
[INFO] [stdout]    --> src/lib.rs:230:58
[INFO] [stdout]     |
[INFO] [stdout] 230 | unsafe fn get_unchecked_mut(&mut self, index: K) -> &mut V;
[INFO] [stdout]     |                                                          ^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 230 | unsafe fn get_unchecked_mut<V>(&mut self, index: K) -> &mut V;
[INFO] [stdout]     |                            +++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 16 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - TypeSafety::C_CUSTOM_TYPE (line 658) stdout ----
[INFO] [stdout] error: expected `;`, found keyword `let`
[INFO] [stdout]    --> src/lib.rs:660:34
[INFO] [stdout]     |
[INFO] [stdout] 660 | let w = Widget::new(Small, Round)
[INFO] [stdout]     |                                  ^ help: add `;` here
[INFO] [stdout] 661 | // over
[INFO] [stdout] 662 | let w = Widget::new(true, false)
[INFO] [stdout]     | --- unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `}`
[INFO] [stdout]    --> src/lib.rs:662:33
[INFO] [stdout]     |
[INFO] [stdout] 662 | let w = Widget::new(true, false)
[INFO] [stdout]     |                                 ^ help: add `;` here
[INFO] [stdout] 663 | } _doctest_main_src_lib_rs_658_0() }
[INFO] [stdout]     | - unexpected token
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `Small` in this scope
[INFO] [stdout]    --> src/lib.rs:660:21
[INFO] [stdout]     |
[INFO] [stdout] 660 | let w = Widget::new(Small, Round)
[INFO] [stdout]     |                     ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `Round` in this scope
[INFO] [stdout]    --> src/lib.rs:660:28
[INFO] [stdout]     |
[INFO] [stdout] 660 | let w = Widget::new(Small, Round)
[INFO] [stdout]     |                            ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Widget`
[INFO] [stdout]    --> src/lib.rs:660:9
[INFO] [stdout]     |
[INFO] [stdout] 660 | let w = Widget::new(Small, Round)
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `Widget`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Widget`
[INFO] [stdout]    --> src/lib.rs:662:9
[INFO] [stdout]     |
[INFO] [stdout] 662 | let w = Widget::new(true, false)
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `Widget`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - TypeSafety::C_NEWTYPE (line 638) stdout ----
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:642:31
[INFO] [stdout]     |
[INFO] [stdout] 642 |     fn to_kilometers(self) -> Kilometers { /* ... */ }
[INFO] [stdout]     |        -------------          ^^^^^^^^^^ expected `Kilometers`, found `()`
[INFO] [stdout]     |        |
[INFO] [stdout]     |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:645:26
[INFO] [stdout]     |
[INFO] [stdout] 645 |     fn to_miles(self) -> Miles { /* ... */ }
[INFO] [stdout]     |        --------          ^^^^^ expected `Miles`, found `()`
[INFO] [stdout]     |        |
[INFO] [stdout]     |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - TypeSafety::C_BITFLAG (line 685) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `bitflags`
[INFO] [stdout]    --> src/lib.rs:686:5
[INFO] [stdout]     |
[INFO] [stdout] 686 | use bitflags::bitflags;
[INFO] [stdout]     |     ^^^^^^^^ use of unresolved module or unlinked crate `bitflags`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `bitflags`, use `cargo add bitflags` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Flags` in this scope
[INFO] [stdout]    --> src/lib.rs:694:16
[INFO] [stdout]     |
[INFO] [stdout] 694 | fn f(settings: Flags) {
[INFO] [stdout]     |                ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flags`
[INFO] [stdout]    --> src/lib.rs:695:26
[INFO] [stdout]     |
[INFO] [stdout] 695 |     if settings.contains(Flags::FLAG_A) {
[INFO] [stdout]     |                          ^^^^^ use of undeclared type `Flags`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flags`
[INFO] [stdout]    --> src/lib.rs:698:26
[INFO] [stdout]     |
[INFO] [stdout] 698 |     if settings.contains(Flags::FLAG_B) {
[INFO] [stdout]     |                          ^^^^^ use of undeclared type `Flags`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flags`
[INFO] [stdout]    --> src/lib.rs:701:26
[INFO] [stdout]     |
[INFO] [stdout] 701 |     if settings.contains(Flags::FLAG_C) {
[INFO] [stdout]     |                          ^^^^^ use of undeclared type `Flags`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flags`
[INFO] [stdout]    --> src/lib.rs:706:7
[INFO] [stdout]     |
[INFO] [stdout] 706 |     f(Flags::FLAG_A | Flags::FLAG_C);
[INFO] [stdout]     |       ^^^^^ use of undeclared type `Flags`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Flags`
[INFO] [stdout]    --> src/lib.rs:706:23
[INFO] [stdout]     |
[INFO] [stdout] 706 |     f(Flags::FLAG_A | Flags::FLAG_C);
[INFO] [stdout]     |                       ^^^^^ use of undeclared type `Flags`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Predictability::C_NO_OUT (line 459) stdout ----
[INFO] [stdout] error: expected one of `where` or `{`, found `}`
[INFO] [stdout]    --> src/lib.rs:461:1
[INFO] [stdout]     |
[INFO] [stdout] 460 | fn foo() -> (Bar, Bar)
[INFO] [stdout]     |    ---                - expected one of `where` or `{`
[INFO] [stdout]     |    |
[INFO] [stdout]     |    while parsing this `fn`
[INFO] [stdout] 461 | } _doctest_main_src_lib_rs_459_0() }
[INFO] [stdout]     | ^ unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: free function without a body
[INFO] [stdout]    --> src/lib.rs:460:1
[INFO] [stdout]     |
[INFO] [stdout] 460 | fn foo() -> (Bar, Bar)
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^- help: provide a definition for the function: `{ <body> }`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Bar` in this scope
[INFO] [stdout]    --> src/lib.rs:460:14
[INFO] [stdout]     |
[INFO] [stdout] 460 | fn foo() -> (Bar, Bar)
[INFO] [stdout]     |              ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Bar` in this scope
[INFO] [stdout]    --> src/lib.rs:460:19
[INFO] [stdout]     |
[INFO] [stdout] 460 | fn foo() -> (Bar, Bar)
[INFO] [stdout]     |                   ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Predictability::C_NO_OUT (line 471) stdout ----
[INFO] [stdout] error: expected one of `!`, `+`, `::`, `where`, or `{`, found `}`
[INFO] [stdout]    --> src/lib.rs:473:1
[INFO] [stdout]     |
[INFO] [stdout] 472 | fn read(&mut self, buf: &mut [u8]) -> io::Result<usize>
[INFO] [stdout]     |    ---- while parsing this `fn`                        - expected one of `!`, `+`, `::`, `where`, or `{`
[INFO] [stdout] 473 | } _doctest_main_src_lib_rs_471_0() }
[INFO] [stdout]     | ^ unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: free function without a body
[INFO] [stdout]    --> src/lib.rs:472:1
[INFO] [stdout]     |
[INFO] [stdout] 472 | fn read(&mut self, buf: &mut [u8]) -> io::Result<usize>
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: provide a definition for the function: `{ <body> }`
[INFO] [stdout] 
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]    --> src/lib.rs:472:9
[INFO] [stdout]     |
[INFO] [stdout] 472 | fn read(&mut self, buf: &mut [u8]) -> io::Result<usize>
[INFO] [stdout]     |         ^^^^^^^^^ not semantically valid as function parameter
[INFO] [stdout]     |
[INFO] [stdout]     = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `io`
[INFO] [stdout]    --> src/lib.rs:472:39
[INFO] [stdout]     |
[INFO] [stdout] 472 | fn read(&mut self, buf: &mut [u8]) -> io::Result<usize>
[INFO] [stdout]     |                                       ^^ use of unresolved module or unlinked crate `io`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `io`, use `cargo add io` to add it to your `Cargo.toml`
[INFO] [stdout] help: a builtin type with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 472 - fn read(&mut self, buf: &mut [u8]) -> io::Result<usize>
[INFO] [stdout] 472 + fn read(&mut self, buf: &mut [u8]) -> i8::Result<usize>
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout] 471 + use std::io;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - Dependability::C_VALIDATE (line 791)
[INFO] [stdout]     src/lib.rs - Documentation::C_FAILURE (line 1077)
[INFO] [stdout]     src/lib.rs - Documentation::C_HIDDEN (line 1166)
[INFO] [stdout]     src/lib.rs - Documentation::C_LINK (line 1109)
[INFO] [stdout]     src/lib.rs - Documentation::C_LINK (line 1113)
[INFO] [stdout]     src/lib.rs - Documentation::C_LINK (line 1117)
[INFO] [stdout]     src/lib.rs - Documentation::C_RELNOTES (line 1148)
[INFO] [stdout]     src/lib.rs - Flexibility::C_CALLER_CONTROL (line 533)
[INFO] [stdout]     src/lib.rs - Flexibility::C_CALLER_CONTROL (line 546)
[INFO] [stdout]     src/lib.rs - Flexibility::C_GENERIC (line 561)
[INFO] [stdout]     src/lib.rs - Flexibility::C_GENERIC (line 579)
[INFO] [stdout]     src/lib.rs - Flexibility::C_OBJECT (line 614)
[INFO] [stdout]     src/lib.rs - FutureProofing::C_SEALED (line 853)
[INFO] [stdout]     src/lib.rs - FutureProofing::C_STRUCT_BOUNDS (line 924)
[INFO] [stdout]     src/lib.rs - FutureProofing::C_STRUCT_BOUNDS (line 933)
[INFO] [stdout]     src/lib.rs - Interoperability::C_RW_VALUE (line 392)
[INFO] [stdout]     src/lib.rs - Macro::C_ANYWHERE (line 1272)
[INFO] [stdout]     src/lib.rs - Macro::C_EVOCATIVE (line 1193)
[INFO] [stdout]     src/lib.rs - Macro::C_EVOCATIVE (line 1208)
[INFO] [stdout]     src/lib.rs - Macro::C_MACRO_ATTR (line 1236)
[INFO] [stdout]     src/lib.rs - Macro::C_MACRO_ATTR (line 1247)
[INFO] [stdout]     src/lib.rs - Macro::C_MACRO_TY (line 1313)
[INFO] [stdout]     src/lib.rs - Macro::C_MACRO_VIS (line 1289)
[INFO] [stdout]     src/lib.rs - Naming::C_CONV (line 208)
[INFO] [stdout]     src/lib.rs - Naming::C_GETTER (line 226)
[INFO] [stdout]     src/lib.rs - Naming::C_ITER (line 248)
[INFO] [stdout]     src/lib.rs - Necessities::C_PERMISSIVE (line 991)
[INFO] [stdout]     src/lib.rs - Necessities::C_STABLE (line 977)
[INFO] [stdout]     src/lib.rs - Predictability::C_NO_OUT (line 459)
[INFO] [stdout]     src/lib.rs - Predictability::C_NO_OUT (line 463)
[INFO] [stdout]     src/lib.rs - Predictability::C_NO_OUT (line 471)
[INFO] [stdout]     src/lib.rs - Predictability::C_SMART_PTR (line 417)
[INFO] [stdout]     src/lib.rs - Predictability::C_SMART_PTR (line 426)
[INFO] [stdout]     src/lib.rs - TypeSafety::C_BITFLAG (line 685)
[INFO] [stdout]     src/lib.rs - TypeSafety::C_BUILDER (line 744)
[INFO] [stdout]     src/lib.rs - TypeSafety::C_BUILDER (line 764)
[INFO] [stdout]     src/lib.rs - TypeSafety::C_CUSTOM_TYPE (line 658)
[INFO] [stdout]     src/lib.rs - TypeSafety::C_NEWTYPE (line 638)
[INFO] [stdout]     src/lib.rs - TypeSafety::C_NEWTYPE (line 650)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 14 passed; 39 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.36s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 1.65s; merged doctests compilation took 0.29s
[INFO] running `Command { std: "docker" "inspect" "06ddf68e8f91b28849fae5a0b7755dddadcc3435dc4ae605833ca8fa10310128", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "06ddf68e8f91b28849fae5a0b7755dddadcc3435dc4ae605833ca8fa10310128", kill_on_drop: false }`
[INFO] [stdout] 06ddf68e8f91b28849fae5a0b7755dddadcc3435dc4ae605833ca8fa10310128
