[INFO] fetching crate overrider 0.7.0... [INFO] testing overrider-0.7.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate overrider 0.7.0 into /workspace/builds/worker-4-tc2/source [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-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate overrider 0.7.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 4 packages to latest compatible versions [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.106) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 14f600c633affbfd37310c472ebd6e1a985c838760aacbb162ff3a175883da65 [INFO] running `Command { std: "docker" "start" "-a" "14f600c633affbfd37310c472ebd6e1a985c838760aacbb162ff3a175883da65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "14f600c633affbfd37310c472ebd6e1a985c838760aacbb162ff3a175883da65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14f600c633affbfd37310c472ebd6e1a985c838760aacbb162ff3a175883da65", kill_on_drop: false }` [INFO] [stdout] 14f600c633affbfd37310c472ebd6e1a985c838760aacbb162ff3a175883da65 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6681ba87fcba679f8dafd7ccf0106fb147f37aac31a0126afa4d254551e50dc7 [INFO] running `Command { std: "docker" "start" "-a" "6681ba87fcba679f8dafd7ccf0106fb147f37aac31a0126afa4d254551e50dc7", kill_on_drop: false }` [INFO] [stderr] Compiling overrider v0.7.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.76s [INFO] running `Command { std: "docker" "inspect" "6681ba87fcba679f8dafd7ccf0106fb147f37aac31a0126afa4d254551e50dc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6681ba87fcba679f8dafd7ccf0106fb147f37aac31a0126afa4d254551e50dc7", kill_on_drop: false }` [INFO] [stdout] 6681ba87fcba679f8dafd7ccf0106fb147f37aac31a0126afa4d254551e50dc7 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ef37ee4f0dbe3a6c469fa45ff044f30bbc181402dd633786123ac0e2047561b [INFO] running `Command { std: "docker" "start" "-a" "0ef37ee4f0dbe3a6c469fa45ff044f30bbc181402dd633786123ac0e2047561b", kill_on_drop: false }` [INFO] [stderr] Compiling overrider v0.7.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.72s [INFO] running `Command { std: "docker" "inspect" "0ef37ee4f0dbe3a6c469fa45ff044f30bbc181402dd633786123ac0e2047561b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ef37ee4f0dbe3a6c469fa45ff044f30bbc181402dd633786123ac0e2047561b", kill_on_drop: false }` [INFO] [stdout] 0ef37ee4f0dbe3a6c469fa45ff044f30bbc181402dd633786123ac0e2047561b [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d0f8c5de50c50d4ba0c2142a1e1836ed340d2ec81ace233a828b5386995058c1 [INFO] running `Command { std: "docker" "start" "-a" "d0f8c5de50c50d4ba0c2142a1e1836ed340d2ec81ace233a828b5386995058c1", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/overrider-55dfd8d4d85c8ed9) [INFO] [stdout] [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.00s [INFO] [stdout] [INFO] [stderr] Doc-tests overrider [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test src/lib.rs - (line 122) ... FAILED [INFO] [stdout] test src/lib.rs - (line 99) ... FAILED [INFO] [stdout] test src/lib.rs - (line 32) ... FAILED [INFO] [stdout] test src/lib.rs - default (line 263) ... FAILED [INFO] [stdout] test src/lib.rs - (line 106) ... 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 - override_flag (line 598) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] 1 | 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] 1 - For more information, see the `overrider_build` documentation. [INFO] [stdout] 1 + 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] 1 | 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] 1 - For more information, see the `overrider_build` documentation. [INFO] [stdout] 1 + 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] 7 | 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] 7 - Try cloning the repository and running examples with `cargo run -p EXAMPLE_NAME` [INFO] [stdout] 7 + 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] 7 | 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] 7 - Try cloning the repository and running examples with `cargo run -p EXAMPLE_NAME` [INFO] [stdout] 7 + Try cloning the repository and running examples with `cargo run -p EXAMPLE_NAME' [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: this file contains an unclosed delimiter [INFO] [stdout] --> src/lib.rs:129:81 [INFO] [stdout] | [INFO] [stdout] 6 | [online](https://github.com/Shizcow/overrider-rs/tree/master/examples). [INFO] [stdout] | - unclosed delimiter [INFO] [stdout] 7 | Try cloning the repository and running examples with `cargo run -p EXAMPLE_NAME` [INFO] [stdout] | ^ [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 - (line 99) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `following` [INFO] [stdout] --> src/lib.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 1 | The following is __not__ correct; [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 - (line 32) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `clap` [INFO] [stdout] --> src/lib.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 5 | use clap::{Arg, ArgMatches, App}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `clap` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `clap`, use `cargo add clap` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `lazy_static` [INFO] [stdout] --> src/lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 6 | use lazy_static::lazy_static; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `lazy_static` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `lazy_static`, use `cargo add lazy_static` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `__override_priority_0_func_main` [INFO] [stdout] --> src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[default] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `default` may come from an old version of the `overrider` crate, try updating your dependency with `cargo update -p overrider` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `default` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `__override_priority_0_flag_change_func_main` [INFO] [stdout] --> src/lib.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 21 | #[override_flag(flag = change)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `override_flag` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `override_flag` may come from an old version of the `overrider` crate, try updating your dependency with `cargo update -p overrider` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `override_flag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [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 - 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] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use overrider::default; [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 - (line 106) stdout ---- [INFO] [stdout] error: unknown start of token: ` [INFO] [stdout] --> src/lib.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 1 | 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] 1 - Currently, `overrider` allows for the following items inside an `impl` block to [INFO] [stdout] 1 + 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] 1 | 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] 1 - Currently, `overrider` allows for the following items inside an `impl` block to [INFO] [stdout] 1 + 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] 1 | 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] 1 - Currently, `overrider` allows for the following items inside an `impl` block to [INFO] [stdout] 1 + 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] 1 | 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] 1 - Currently, `overrider` allows for the following items inside an `impl` block to [INFO] [stdout] 1 + 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] 3 | - `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] 3 - - `fn` (methods) [INFO] [stdout] 3 + - 'fn` (methods) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: unknown start of token: ` [INFO] [stdout] --> src/lib.rs:109:6 [INFO] [stdout] | [INFO] [stdout] 3 | - `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] 3 - - `fn` (methods) [INFO] [stdout] 3 + - `fn' (methods) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: unknown start of token: ` [INFO] [stdout] --> src/lib.rs:110:3 [INFO] [stdout] | [INFO] [stdout] 4 | - `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] 4 - - `const`ants [INFO] [stdout] 4 + - 'const`ants [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: unknown start of token: ` [INFO] [stdout] --> src/lib.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 4 | - `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] 4 - - `const`ants [INFO] [stdout] 4 + - `const'ants [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: unknown start of token: ` [INFO] [stdout] --> src/lib.rs:114:27 [INFO] [stdout] | [INFO] [stdout] 8 | 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] 8 - Because of limitations in `proc_macro`, `overrider` **will not work** without [INFO] [stdout] 8 + 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] 8 | 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] 8 - Because of limitations in `proc_macro`, `overrider` **will not work** without [INFO] [stdout] 8 + 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] 8 | 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] 8 - Because of limitations in `proc_macro`, `overrider` **will not work** without [INFO] [stdout] 8 + 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] 8 | 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] 8 - Because of limitations in `proc_macro`, `overrider` **will not work** without [INFO] [stdout] 8 + 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] 9 | 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] 9 - it's sister crate `overrider_build`. This is because `overrider_build` parses [INFO] [stdout] 9 + 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] 9 | 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] 9 - it's sister crate `overrider_build`. This is because `overrider_build` parses [INFO] [stdout] 9 + 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] 9 | 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] 9 - it's sister crate `overrider_build`. This is because `overrider_build` parses [INFO] [stdout] 9 + 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] 9 | 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] 9 - it's sister crate `overrider_build`. This is because `overrider_build` parses [INFO] [stdout] 9 + 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] 10 | 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] 10 - Rust files, supplying the `rustc` configuration flags nessicary for conditional [INFO] [stdout] 10 + 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] 10 | 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] 10 - Rust files, supplying the `rustc` configuration flags nessicary for conditional [INFO] [stdout] 10 + 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] 11 | 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] 11 - compilation. For the above files, placing this code in `build.rs` will do the trick: [INFO] [stdout] 11 + 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] 11 | 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] 11 - compilation. For the above files, placing this code in `build.rs` will do the trick: [INFO] [stdout] 11 + 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 `::`, found `,` [INFO] [stdout] --> src/lib.rs:107:10 [INFO] [stdout] | [INFO] [stdout] 1 | Currently, `overrider` allows for the following items inside an `impl` block to [INFO] [stdout] | ^ expected one of `!` or `::` [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 16) stdout ---- [INFO] [stdout] error[E0428]: the name `main` is defined multiple times [INFO] [stdout] --> src/lib.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 7 | fn main() { [INFO] [stdout] | --------- previous definition of the value `main` here [INFO] [stdout] ... [INFO] [stdout] 12 | 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] warning: unexpected `cfg` condition name: `__override_priority_0_func_main` [INFO] [stdout] --> src/lib.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[default] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `default` may come from an old version of the `overrider` crate, try updating your dependency with `cargo update -p overrider` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `default` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `__override_priority_1_func_main` [INFO] [stdout] --> src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[override_default] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `override_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `override_default` may come from an old version of the `overrider` crate, try updating your dependency with `cargo update -p overrider` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `override_default` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 2 warnings emitted [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] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use overrider::override_default; [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] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use overrider::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 - 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 1 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 0.27s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "d0f8c5de50c50d4ba0c2142a1e1836ed340d2ec81ace233a828b5386995058c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0f8c5de50c50d4ba0c2142a1e1836ed340d2ec81ace233a828b5386995058c1", kill_on_drop: false }` [INFO] [stdout] d0f8c5de50c50d4ba0c2142a1e1836ed340d2ec81ace233a828b5386995058c1