[INFO] fetching crate overrider 0.7.0... [INFO] testing overrider-0.7.0 against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] extracting crate overrider 0.7.0 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate overrider 0.7.0 on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate overrider 0.7.0 [INFO] finished tweaking crates.io crate overrider 0.7.0 [INFO] tweaked toml for crates.io crate overrider 0.7.0 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 563cfd412bdceb88f637bd4b962ec469ba1e53659644a953e330eb11c4c0d687 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "563cfd412bdceb88f637bd4b962ec469ba1e53659644a953e330eb11c4c0d687", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "563cfd412bdceb88f637bd4b962ec469ba1e53659644a953e330eb11c4c0d687", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "563cfd412bdceb88f637bd4b962ec469ba1e53659644a953e330eb11c4c0d687", kill_on_drop: false }` [INFO] [stdout] 563cfd412bdceb88f637bd4b962ec469ba1e53659644a953e330eb11c4c0d687 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d25d3c21c6320f2da3870c605dbd0841630caad6bbf481efebc3bfba30ce9519 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d25d3c21c6320f2da3870c605dbd0841630caad6bbf481efebc3bfba30ce9519", kill_on_drop: false }` [INFO] [stderr] Compiling overrider v0.7.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.89s [INFO] running `Command { std: "docker" "inspect" "d25d3c21c6320f2da3870c605dbd0841630caad6bbf481efebc3bfba30ce9519", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d25d3c21c6320f2da3870c605dbd0841630caad6bbf481efebc3bfba30ce9519", kill_on_drop: false }` [INFO] [stdout] d25d3c21c6320f2da3870c605dbd0841630caad6bbf481efebc3bfba30ce9519 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b6ec48cfc633019b24321c7c08a05157a4847432c73ba1d251aa8c3f8f9dcdf [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4b6ec48cfc633019b24321c7c08a05157a4847432c73ba1d251aa8c3f8f9dcdf", kill_on_drop: false }` [INFO] [stderr] Compiling overrider v0.7.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.46s [INFO] running `Command { std: "docker" "inspect" "4b6ec48cfc633019b24321c7c08a05157a4847432c73ba1d251aa8c3f8f9dcdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b6ec48cfc633019b24321c7c08a05157a4847432c73ba1d251aa8c3f8f9dcdf", kill_on_drop: false }` [INFO] [stdout] 4b6ec48cfc633019b24321c7c08a05157a4847432c73ba1d251aa8c3f8f9dcdf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3d39ef0efd71b5efaa70d993fd38efb7e4970193771729c47dfbb22288e7f1cf [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3d39ef0efd71b5efaa70d993fd38efb7e4970193771729c47dfbb22288e7f1cf", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/overrider-cc502f4d708ca39e) [INFO] [stdout] [INFO] [stderr] Doc-tests overrider [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test src/lib.rs - (line 32) ... FAILED [INFO] [stdout] test src/lib.rs - (line 106) ... FAILED [INFO] [stdout] test src/lib.rs - (line 99) ... FAILED [INFO] [stdout] test src/lib.rs - (line 16) ... FAILED [INFO] [stdout] test src/lib.rs - override_default (line 290) ... FAILED [INFO] [stdout] test src/lib.rs - (line 122) ... FAILED [INFO] [stdout] test src/lib.rs - override_flag (line 598) ... FAILED [INFO] [stdout] test src/lib.rs - default (line 263) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 32) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `clap` [INFO] [stdout] --> src/lib.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 4 | use clap::{Arg, ArgMatches, App}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `clap` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `lazy_static` [INFO] [stdout] --> src/lib.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 5 | use lazy_static::lazy_static; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `lazy_static` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `lazy_static` [INFO] [stdout] --> src/lib.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 7 | lazy_static! { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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 - (line 106) stdout ---- [INFO] [stdout] error: unknown start of token: ` [INFO] [stdout] --> src/lib.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 4 | Currently, `overrider` allows for the following items inside an `impl` block to [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not [INFO] [stdout] | [INFO] [stdout] 4 | Currently, 'overrider` allows for the following items inside an `impl` block to [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: unknown start of token: ` [INFO] [stdout] --> src/lib.rs:107:22 [INFO] [stdout] | [INFO] [stdout] 4 | Currently, `overrider` allows for the following items inside an `impl` block to [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not [INFO] [stdout] | [INFO] [stdout] 4 | Currently, `overrider' allows for the following items inside an `impl` block to [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: unknown start of token: ` [INFO] [stdout] --> src/lib.rs:107:65 [INFO] [stdout] | [INFO] [stdout] 4 | Currently, `overrider` allows for the following items inside an `impl` block to [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not [INFO] [stdout] | [INFO] [stdout] 4 | Currently, `overrider` allows for the following items inside an 'impl` block to [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: unknown start of token: ` [INFO] [stdout] --> src/lib.rs:107:70 [INFO] [stdout] | [INFO] [stdout] 4 | Currently, `overrider` allows for the following items inside an `impl` block to [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not [INFO] [stdout] | [INFO] [stdout] 4 | Currently, `overrider` allows for the following items inside an `impl' block to [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: unknown start of token: ` [INFO] [stdout] --> src/lib.rs:109:3 [INFO] [stdout] | [INFO] [stdout] 6 | - `fn` (methods) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not [INFO] [stdout] | [INFO] [stdout] 6 | - 'fn` (methods) [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: unknown start of token: ` [INFO] [stdout] --> src/lib.rs:109:6 [INFO] [stdout] | [INFO] [stdout] 6 | - `fn` (methods) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not [INFO] [stdout] | [INFO] [stdout] 6 | - `fn' (methods) [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: unknown start of token: ` [INFO] [stdout] --> src/lib.rs:110:3 [INFO] [stdout] | [INFO] [stdout] 7 | - `const`ants [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not [INFO] [stdout] | [INFO] [stdout] 7 | - 'const`ants [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: unknown start of token: ` [INFO] [stdout] --> src/lib.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 7 | - `const`ants [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not [INFO] [stdout] | [INFO] [stdout] 7 | - `const'ants [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: unknown start of token: ` [INFO] [stdout] --> src/lib.rs:114:27 [INFO] [stdout] | [INFO] [stdout] 11 | Because of limitations in `proc_macro`, `overrider` **will not work** without [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not [INFO] [stdout] | [INFO] [stdout] 11 | Because of limitations in 'proc_macro`, `overrider` **will not work** without [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: unknown start of token: ` [INFO] [stdout] --> src/lib.rs:114:38 [INFO] [stdout] | [INFO] [stdout] 11 | Because of limitations in `proc_macro`, `overrider` **will not work** without [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not [INFO] [stdout] | [INFO] [stdout] 11 | Because of limitations in `proc_macro', `overrider` **will not work** without [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: unknown start of token: ` [INFO] [stdout] --> src/lib.rs:114:41 [INFO] [stdout] | [INFO] [stdout] 11 | Because of limitations in `proc_macro`, `overrider` **will not work** without [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not [INFO] [stdout] | [INFO] [stdout] 11 | Because of limitations in `proc_macro`, 'overrider` **will not work** without [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: unknown start of token: ` [INFO] [stdout] --> src/lib.rs:114:51 [INFO] [stdout] | [INFO] [stdout] 11 | Because of limitations in `proc_macro`, `overrider` **will not work** without [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not [INFO] [stdout] | [INFO] [stdout] 11 | Because of limitations in `proc_macro`, `overrider' **will not work** without [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: unknown start of token: ` [INFO] [stdout] --> src/lib.rs:115:19 [INFO] [stdout] | [INFO] [stdout] 12 | it's sister crate `overrider_build`. This is because `overrider_build` parses [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not [INFO] [stdout] | [INFO] [stdout] 12 | it's sister crate 'overrider_build`. This is because `overrider_build` parses [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: unknown start of token: ` [INFO] [stdout] --> src/lib.rs:115:35 [INFO] [stdout] | [INFO] [stdout] 12 | it's sister crate `overrider_build`. This is because `overrider_build` parses [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not [INFO] [stdout] | [INFO] [stdout] 12 | it's sister crate `overrider_build'. This is because `overrider_build` parses [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: unknown start of token: ` [INFO] [stdout] --> src/lib.rs:115:54 [INFO] [stdout] | [INFO] [stdout] 12 | it's sister crate `overrider_build`. This is because `overrider_build` parses [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not [INFO] [stdout] | [INFO] [stdout] 12 | it's sister crate `overrider_build`. This is because 'overrider_build` parses [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: unknown start of token: ` [INFO] [stdout] --> src/lib.rs:115:70 [INFO] [stdout] | [INFO] [stdout] 12 | it's sister crate `overrider_build`. This is because `overrider_build` parses [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not [INFO] [stdout] | [INFO] [stdout] 12 | it's sister crate `overrider_build`. This is because `overrider_build' parses [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: unknown start of token: ` [INFO] [stdout] --> src/lib.rs:116:27 [INFO] [stdout] | [INFO] [stdout] 13 | Rust files, supplying the `rustc` configuration flags nessicary for conditional [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not [INFO] [stdout] | [INFO] [stdout] 13 | Rust files, supplying the 'rustc` configuration flags nessicary for conditional [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: unknown start of token: ` [INFO] [stdout] --> src/lib.rs:116:33 [INFO] [stdout] | [INFO] [stdout] 13 | Rust files, supplying the `rustc` configuration flags nessicary for conditional [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not [INFO] [stdout] | [INFO] [stdout] 13 | Rust files, supplying the `rustc' configuration flags nessicary for conditional [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: unknown start of token: ` [INFO] [stdout] --> src/lib.rs:117:56 [INFO] [stdout] | [INFO] [stdout] 14 | compilation. For the above files, placing this code in `build.rs` will do the trick: [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not [INFO] [stdout] | [INFO] [stdout] 14 | compilation. For the above files, placing this code in 'build.rs` will do the trick: [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: unknown start of token: ` [INFO] [stdout] --> src/lib.rs:117:65 [INFO] [stdout] | [INFO] [stdout] 14 | compilation. For the above files, placing this code in `build.rs` will do the trick: [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not [INFO] [stdout] | [INFO] [stdout] 14 | compilation. For the above files, placing this code in `build.rs' will do the trick: [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `,` [INFO] [stdout] --> src/lib.rs:107:10 [INFO] [stdout] | [INFO] [stdout] 4 | Currently, `overrider` allows for the following items inside an `impl` block to [INFO] [stdout] | ^ expected one of 8 possible tokens [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 99) stdout ---- [INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `following` [INFO] [stdout] --> src/lib.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 3 | The following is __not__ correct; [INFO] [stdout] | ^^^^^^^^^ expected one of 8 possible tokens [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 16) stdout ---- [INFO] [stdout] error[E0428]: the name `main` is defined multiple times [INFO] [stdout] --> src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 6 | fn main() { [INFO] [stdout] | --------- previous definition of the value `main` here [INFO] [stdout] ... [INFO] [stdout] 11 | fn main() { [INFO] [stdout] | ^^^^^^^^^ `main` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `main` must be defined only once in the value namespace of this module [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0428`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - override_default (line 290) stdout ---- [INFO] [stdout] error[E0428]: the name `main` is defined multiple times [INFO] [stdout] --> src/lib.rs:297:1 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { [INFO] [stdout] | --------- previous definition of the value `main` here [INFO] [stdout] ... [INFO] [stdout] 8 | fn main() { [INFO] [stdout] | ^^^^^^^^^ `main` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `main` must be defined only once in the value namespace of this module [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `override_default` in this scope [INFO] [stdout] --> src/lib.rs:296:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[override_default(priority = 2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `override_default` in this scope [INFO] [stdout] --> src/lib.rs:291:3 [INFO] [stdout] | [INFO] [stdout] 2 | #[override_default] [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 E0428`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 122) stdout ---- [INFO] [stdout] error: unknown start of token: ` [INFO] [stdout] --> src/lib.rs:123:31 [INFO] [stdout] | [INFO] [stdout] 4 | For more information, see the `overrider_build` documentation. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not [INFO] [stdout] | [INFO] [stdout] 4 | For more information, see the 'overrider_build` documentation. [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: unknown start of token: ` [INFO] [stdout] --> src/lib.rs:123:47 [INFO] [stdout] | [INFO] [stdout] 4 | For more information, see the `overrider_build` documentation. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not [INFO] [stdout] | [INFO] [stdout] 4 | For more information, see the `overrider_build' documentation. [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: unknown start of token: ` [INFO] [stdout] --> src/lib.rs:129:54 [INFO] [stdout] | [INFO] [stdout] 10 | Try cloning the repository and running examples with `cargo run -p EXAMPLE_NAME` [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not [INFO] [stdout] | [INFO] [stdout] 10 | Try cloning the repository and running examples with 'cargo run -p EXAMPLE_NAME` [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: unknown start of token: ` [INFO] [stdout] --> src/lib.rs:129:80 [INFO] [stdout] | [INFO] [stdout] 10 | Try cloning the repository and running examples with `cargo run -p EXAMPLE_NAME` [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not [INFO] [stdout] | [INFO] [stdout] 10 | Try cloning the repository and running examples with `cargo run -p EXAMPLE_NAME' [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `more` [INFO] [stdout] --> src/lib.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 4 | For more information, see the `overrider_build` documentation. [INFO] [stdout] | ^^^^ expected one of 8 possible tokens [INFO] [stdout] [INFO] [stdout] error: mismatched closing delimiter: `}` [INFO] [stdout] --> src/lib.rs:130:1 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_122_0() { [INFO] [stdout] | - closing delimiter possibly meant for this [INFO] [stdout] ... [INFO] [stdout] 9 | [online](https://github.com/Shizcow/overrider-rs/tree/master/examples). [INFO] [stdout] | - unclosed delimiter [INFO] [stdout] 10 | Try cloning the repository and running examples with `cargo run -p EXAMPLE_NAME` [INFO] [stdout] 11 | } _doctest_main_src_lib_rs_122_0() } [INFO] [stdout] | ^ mismatched closing delimiter [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - override_flag (line 598) stdout ---- [INFO] [stdout] error: cannot find macro `lazy_static` in this scope [INFO] [stdout] --> src/lib.rs:599:1 [INFO] [stdout] | [INFO] [stdout] 3 | lazy_static! { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - default (line 263) stdout ---- [INFO] [stdout] error: cannot find attribute `default` in this scope [INFO] [stdout] --> src/lib.rs:264:3 [INFO] [stdout] | [INFO] [stdout] 2 | #[default] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 106) [INFO] [stdout] src/lib.rs - (line 122) [INFO] [stdout] src/lib.rs - (line 16) [INFO] [stdout] src/lib.rs - (line 32) [INFO] [stdout] src/lib.rs - (line 99) [INFO] [stdout] src/lib.rs - default (line 263) [INFO] [stdout] src/lib.rs - override_default (line 290) [INFO] [stdout] src/lib.rs - override_flag (line 598) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 8 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.09s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "3d39ef0efd71b5efaa70d993fd38efb7e4970193771729c47dfbb22288e7f1cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d39ef0efd71b5efaa70d993fd38efb7e4970193771729c47dfbb22288e7f1cf", kill_on_drop: false }` [INFO] [stdout] 3d39ef0efd71b5efaa70d993fd38efb7e4970193771729c47dfbb22288e7f1cf