[INFO] fetching crate simple_impl 0.1.5... [INFO] testing simple_impl-0.1.5 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate simple_impl 0.1.5 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate simple_impl 0.1.5 [INFO] finished tweaking crates.io crate simple_impl 0.1.5 [INFO] tweaked toml for crates.io crate simple_impl 0.1.5 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate simple_impl 0.1.5 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate simple_impl 0.1.5 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f202afe703824cfc49a965975757e3cc8e5b2c9295bc17d104f19f852b3fa900 [INFO] running `Command { std: "docker" "start" "-a" "f202afe703824cfc49a965975757e3cc8e5b2c9295bc17d104f19f852b3fa900", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f202afe703824cfc49a965975757e3cc8e5b2c9295bc17d104f19f852b3fa900", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f202afe703824cfc49a965975757e3cc8e5b2c9295bc17d104f19f852b3fa900", kill_on_drop: false }` [INFO] [stdout] f202afe703824cfc49a965975757e3cc8e5b2c9295bc17d104f19f852b3fa900 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 327b277aa98693e96d5712e7e25cee418d07cff44af5aa3c997a414c7b64e621 [INFO] running `Command { std: "docker" "start" "-a" "327b277aa98693e96d5712e7e25cee418d07cff44af5aa3c997a414c7b64e621", kill_on_drop: false }` [INFO] [stderr] Compiling simple_impl v0.1.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] running `Command { std: "docker" "inspect" "327b277aa98693e96d5712e7e25cee418d07cff44af5aa3c997a414c7b64e621", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "327b277aa98693e96d5712e7e25cee418d07cff44af5aa3c997a414c7b64e621", kill_on_drop: false }` [INFO] [stdout] 327b277aa98693e96d5712e7e25cee418d07cff44af5aa3c997a414c7b64e621 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3b20a4d91a6c0e3a73a5993f3aa61490c61c8dd3a29c6b1a4518ec50357055bf [INFO] running `Command { std: "docker" "start" "-a" "3b20a4d91a6c0e3a73a5993f3aa61490c61c8dd3a29c6b1a4518ec50357055bf", kill_on_drop: false }` [INFO] [stderr] Compiling simple_impl v0.1.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] running `Command { std: "docker" "inspect" "3b20a4d91a6c0e3a73a5993f3aa61490c61c8dd3a29c6b1a4518ec50357055bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b20a4d91a6c0e3a73a5993f3aa61490c61c8dd3a29c6b1a4518ec50357055bf", kill_on_drop: false }` [INFO] [stdout] 3b20a4d91a6c0e3a73a5993f3aa61490c61c8dd3a29c6b1a4518ec50357055bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fb3474456e64de8411846f2dfee2fd894041e28b1218eb02c722ec21e73ff7ae [INFO] running `Command { std: "docker" "start" "-a" "fb3474456e64de8411846f2dfee2fd894041e28b1218eb02c722ec21e73ff7ae", 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/simple_impl-3a203108b27b5360) [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 simple_impl [INFO] [stdout] [INFO] [stdout] running 42 tests [INFO] [stdout] test src/macros/mod.rs - macros::builder_new_default (line 302) ... FAILED [INFO] [stdout] test src/macros/mod.rs - macros::builder_push (line 476) ... FAILED [INFO] [stdout] test src/macros/mod.rs - macros::builder_vec_into (line 408) ... FAILED [INFO] [stdout] test src/macros/mod.rs - macros::builder_set (line 383) ... FAILED [INFO] [stdout] test src/macros/mod.rs - macros::builder_opt (line 333) ... FAILED [INFO] [stdout] test src/macros/mod.rs - macros::builder_opt_into (line 366) ... FAILED [INFO] [stdout] test src/macros/mod.rs - macros::builder_push (line 468) ... FAILED [INFO] [stdout] test src/macros/mod.rs - macros::builder_new_default (line 309) ... FAILED [INFO] [stdout] test src/macros/mod.rs - macros::builder_flag (line 493) ... FAILED [INFO] [stdout] test src/macros/mod.rs - macros::builder_opt_into (line 358) ... FAILED [INFO] [stdout] test src/macros/mod.rs - macros::builder_vec_iter (line 435) ... FAILED [INFO] [stdout] test src/macros/mod.rs - macros::builder_opt (line 341) ... FAILED [INFO] [stdout] test src/macros/mod.rs - macros::sc_flags_into (line 56) ... FAILED [INFO] [stdout] test src/macros/mod.rs - macros::sc_each_display (line 279) ... FAILED [INFO] [stdout] test src/macros/mod.rs - macros::sc_each (line 255) ... FAILED [INFO] [stdout] test src/macros/mod.rs - macros::builder_vec_iter (line 446) ... FAILED [INFO] [stdout] test src/macros/mod.rs - macros::builder_set (line 391) ... FAILED [INFO] [stdout] test src/macros/mod.rs - macros::builder_flag (line 501) ... FAILED [INFO] [stdout] test src/macros/mod.rs - macros::sc_flags_into (line 50) ... FAILED [INFO] [stdout] test src/macros/mod.rs - macros::sc_each_display (line 286) ... FAILED [INFO] [stdout] test src/macros/mod.rs - macros::sc_cmd (line 4) ... ok [INFO] [stdout] test src/macros/mod.rs - macros::sc_if_some_display (line 168) ... FAILED [INFO] [stdout] test src/macros/mod.rs - macros::sc_if_some_flag (line 537) ... FAILED [INFO] [stdout] test src/macros/mod.rs - macros::sc_if_some_flag (line 527) ... FAILED [INFO] [stdout] test src/macros/mod.rs - macros::sc_args (line 111) ... FAILED [INFO] [stdout] test src/macros/mod.rs - macros::builder_vec_into (line 416) ... FAILED [INFO] [stdout] test src/macros/mod.rs - macros::sc_if_some (line 137) ... FAILED [INFO] [stdout] test src/macros/mod.rs - macros::sc_cmd (line 11) ... FAILED [INFO] [stdout] test src/macros/mod.rs - macros::sc_if_some_into (line 184) ... FAILED [INFO] [stdout] test src/macros/mod.rs - macros::sc_if_some (line 144) ... FAILED [INFO] [stdout] test src/macros/mod.rs - macros::sc_args (line 117) ... FAILED [INFO] [stdout] test src/macros/mod.rs - macros::sc_flags (line 30) ... FAILED [INFO] [stdout] test src/macros/mod.rs - macros::sc_each (line 262) ... FAILED [INFO] [stdout] test src/macros/mod.rs - macros::sc_if_some_display (line 161) ... FAILED [INFO] [stdout] test src/macros/mod.rs - macros::sc_if_some_clone (line 207) ... FAILED [INFO] [stdout] test src/macros/mod.rs - macros::sc_flags (line 24) ... FAILED [INFO] [stdout] test src/macros/mod.rs - macros::sc_if_some_clone (line 214) ... FAILED [INFO] [stdout] test src/macros/mod.rs - macros::sc_opt_kv (line 87) ... FAILED [INFO] [stdout] test src/macros/mod.rs - macros::sc_if_some_prefix (line 230) ... FAILED [INFO] [stdout] test src/macros/mod.rs - macros::sc_if_some_prefix (line 237) ... FAILED [INFO] [stdout] test src/macros/mod.rs - macros::sc_opt_kv (line 79) ... FAILED [INFO] [stdout] test src/macros/mod.rs - macros::sc_if_some_into (line 191) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/macros/mod.rs - macros::builder_new_default (line 302) stdout ---- [INFO] [stdout] error[E0411]: cannot find type `Self` in this scope [INFO] [stdout] --> src/macros/mod.rs:303:17 [INFO] [stdout] | [INFO] [stdout] 303 | pub fn new() -> Self { [INFO] [stdout] | --- ^^^^ `Self` is only available in impls, traits, and type definitions [INFO] [stdout] | | [INFO] [stdout] | `Self` not allowed in a function [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `Self` in this scope [INFO] [stdout] --> src/macros/mod.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | Self::default() [INFO] [stdout] | ^^^^ `Self` is only available in impls, traits, and type definitions [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0411, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0411`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/macros/mod.rs - macros::builder_push (line 476) stdout ---- [INFO] [stdout] error: cannot find macro `builder_push` in this scope [INFO] [stdout] --> src/macros/mod.rs:477:1 [INFO] [stdout] | [INFO] [stdout] 477 | builder_push!(push_pid => pids: u32); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 476 + use simple_impl::builder_push; [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/macros/mod.rs - macros::builder_vec_into (line 408) stdout ---- [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/macros/mod.rs:409:13 [INFO] [stdout] | [INFO] [stdout] 409 | pub fn pids(mut self, list: impl Into>) -> Self { [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[E0411]: cannot find type `Self` in this scope [INFO] [stdout] --> src/macros/mod.rs:409:53 [INFO] [stdout] | [INFO] [stdout] 409 | pub fn pids(mut self, list: impl Into>) -> Self { [INFO] [stdout] | ---- `Self` not allowed in a function ^^^^ `Self` is only available in impls, traits, and type definitions [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0411`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/macros/mod.rs - macros::builder_set (line 383) stdout ---- [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/macros/mod.rs:384:12 [INFO] [stdout] | [INFO] [stdout] 384 | pub fn cwd(mut self, cwd: PathBuf) -> Self { [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 `PathBuf` in this scope [INFO] [stdout] --> src/macros/mod.rs:384:27 [INFO] [stdout] | [INFO] [stdout] 384 | pub fn cwd(mut self, cwd: PathBuf) -> Self { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 383 + use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0411]: cannot find type `Self` in this scope [INFO] [stdout] --> src/macros/mod.rs:384:39 [INFO] [stdout] | [INFO] [stdout] 384 | pub fn cwd(mut self, cwd: PathBuf) -> Self { [INFO] [stdout] | --- ^^^^ `Self` is only available in impls, traits, and type definitions [INFO] [stdout] | | [INFO] [stdout] | `Self` not allowed in a function [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0411, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0411`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/macros/mod.rs - macros::builder_opt (line 333) stdout ---- [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/macros/mod.rs:334:12 [INFO] [stdout] | [INFO] [stdout] 334 | pub fn pid(mut self, pid: u32) -> Self { [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[E0411]: cannot find type `Self` in this scope [INFO] [stdout] --> src/macros/mod.rs:334:35 [INFO] [stdout] | [INFO] [stdout] 334 | pub fn pid(mut self, pid: u32) -> Self { [INFO] [stdout] | --- ^^^^ `Self` is only available in impls, traits, and type definitions [INFO] [stdout] | | [INFO] [stdout] | `Self` not allowed in a function [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0411`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/macros/mod.rs - macros::builder_opt_into (line 366) stdout ---- [INFO] [stdout] error: cannot find macro `builder_opt_into` in this scope [INFO] [stdout] --> src/macros/mod.rs:367:1 [INFO] [stdout] | [INFO] [stdout] 367 | builder_opt_into!(signal => signal: String); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 366 + use simple_impl::builder_opt_into; [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/macros/mod.rs - macros::builder_push (line 468) stdout ---- [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/macros/mod.rs:469:17 [INFO] [stdout] | [INFO] [stdout] 469 | pub fn push_pid(mut self, pid: u32) -> Self { [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[E0411]: cannot find type `Self` in this scope [INFO] [stdout] --> src/macros/mod.rs:469:40 [INFO] [stdout] | [INFO] [stdout] 469 | pub fn push_pid(mut self, pid: u32) -> Self { [INFO] [stdout] | -------- ^^^^ `Self` is only available in impls, traits, and type definitions [INFO] [stdout] | | [INFO] [stdout] | `Self` not allowed in a function [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0411`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/macros/mod.rs - macros::builder_new_default (line 309) stdout ---- [INFO] [stdout] error: cannot find macro `builder_new_default` in this scope [INFO] [stdout] --> src/macros/mod.rs:311:5 [INFO] [stdout] | [INFO] [stdout] 311 | builder_new_default!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 309 + use simple_impl::builder_new_default; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `MyBuilder` in this scope [INFO] [stdout] --> src/macros/mod.rs:310:6 [INFO] [stdout] | [INFO] [stdout] 310 | impl MyBuilder { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 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/macros/mod.rs - macros::builder_flag (line 493) stdout ---- [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/macros/mod.rs:494:16 [INFO] [stdout] | [INFO] [stdout] 494 | pub fn verbose(mut self) -> Self { [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[E0411]: cannot find type `Self` in this scope [INFO] [stdout] --> src/macros/mod.rs:494:29 [INFO] [stdout] | [INFO] [stdout] 494 | pub fn verbose(mut self) -> Self { [INFO] [stdout] | ------- ^^^^ `Self` is only available in impls, traits, and type definitions [INFO] [stdout] | | [INFO] [stdout] | `Self` not allowed in a function [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0411`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/macros/mod.rs - macros::builder_opt_into (line 358) stdout ---- [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/macros/mod.rs:359:15 [INFO] [stdout] | [INFO] [stdout] 359 | pub fn signal(mut self, sig: impl Into) -> Self { [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[E0411]: cannot find type `Self` in this scope [INFO] [stdout] --> src/macros/mod.rs:359:52 [INFO] [stdout] | [INFO] [stdout] 359 | pub fn signal(mut self, sig: impl Into) -> Self { [INFO] [stdout] | ------ `Self` not allowed in a function ^^^^ `Self` is only available in impls, traits, and type definitions [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0411`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/macros/mod.rs - macros::builder_vec_iter (line 435) stdout ---- [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/macros/mod.rs:436:16 [INFO] [stdout] | [INFO] [stdout] 436 | pub fn pids(mut self, iter: I) -> Self [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[E0411]: cannot find type `Self` in this scope [INFO] [stdout] --> src/macros/mod.rs:436:38 [INFO] [stdout] | [INFO] [stdout] 436 | pub fn pids(mut self, iter: I) -> Self [INFO] [stdout] | ---- ^^^^ `Self` is only available in impls, traits, and type definitions [INFO] [stdout] | | [INFO] [stdout] | `Self` not allowed in a function [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0411`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/macros/mod.rs - macros::builder_opt (line 341) stdout ---- [INFO] [stdout] error: cannot find macro `builder_opt` in this scope [INFO] [stdout] --> src/macros/mod.rs:342:1 [INFO] [stdout] | [INFO] [stdout] 342 | builder_opt!(pid => pid: u32); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 341 + use simple_impl::builder_opt; [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/macros/mod.rs - macros::sc_flags_into (line 56) stdout ---- [INFO] [stdout] error: cannot find macro `sc_flags_into` in this scope [INFO] [stdout] --> src/macros/mod.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | sc_flags_into!(parts, self, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 56 + use simple_impl::sc_flags_into; [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/macros/mod.rs - macros::sc_each_display (line 279) stdout ---- [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/macros/mod.rs:280:13 [INFO] [stdout] | [INFO] [stdout] 279 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_macros_mod_rs_279_0() { [INFO] [stdout] | ------------------------------------- this function can't have a `self` parameter [INFO] [stdout] 280 | for pid in &self.pids { [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `parts` in this scope [INFO] [stdout] --> src/macros/mod.rs:281:5 [INFO] [stdout] | [INFO] [stdout] 281 | parts.push(pid.to_string()); [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: E0424, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0424`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/macros/mod.rs - macros::sc_each (line 255) stdout ---- [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/macros/mod.rs:256:13 [INFO] [stdout] | [INFO] [stdout] 255 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_macros_mod_rs_255_0() { [INFO] [stdout] | ------------------------------------- this function can't have a `self` parameter [INFO] [stdout] 256 | for pid in &self.pids { [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `parts` in this scope [INFO] [stdout] --> src/macros/mod.rs:257:5 [INFO] [stdout] | [INFO] [stdout] 257 | parts.push(pid.to_string()); [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: E0424, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0424`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/macros/mod.rs - macros::builder_vec_iter (line 446) stdout ---- [INFO] [stdout] error: cannot find macro `builder_vec_iter` in this scope [INFO] [stdout] --> src/macros/mod.rs:447:1 [INFO] [stdout] | [INFO] [stdout] 447 | builder_vec_iter!(pids => pids: u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 446 + use simple_impl::builder_vec_iter; [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/macros/mod.rs - macros::builder_set (line 391) stdout ---- [INFO] [stdout] error: cannot find macro `builder_set` in this scope [INFO] [stdout] --> src/macros/mod.rs:392:1 [INFO] [stdout] | [INFO] [stdout] 392 | builder_set!(cwd => cwd: std::path::PathBuf); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 391 + use simple_impl::builder_set; [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/macros/mod.rs - macros::builder_flag (line 501) stdout ---- [INFO] [stdout] error: cannot find macro `builder_flag` in this scope [INFO] [stdout] --> src/macros/mod.rs:502:1 [INFO] [stdout] | [INFO] [stdout] 502 | builder_flag!(verbose => verbose); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 501 + use simple_impl::builder_flag; [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/macros/mod.rs - macros::sc_flags_into (line 50) stdout ---- [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/macros/mod.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_macros_mod_rs_50_0() { [INFO] [stdout] | ------------------------------------ this function can't have a `self` parameter [INFO] [stdout] 51 | if self.verbose { parts.push("--verbose".into()); } [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `parts` in this scope [INFO] [stdout] --> src/macros/mod.rs:51:19 [INFO] [stdout] | [INFO] [stdout] 51 | if self.verbose { parts.push("--verbose".into()); } [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/macros/mod.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_macros_mod_rs_50_0() { [INFO] [stdout] | ------------------------------------ this function can't have a `self` parameter [INFO] [stdout] 51 | if self.verbose { parts.push("--verbose".into()); } [INFO] [stdout] 52 | if self.force { parts.push("--force".into()); } [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `parts` in this scope [INFO] [stdout] --> src/macros/mod.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 52 | if self.force { parts.push("--force".into()); } [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: E0424, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0424`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/macros/mod.rs - macros::sc_each_display (line 286) stdout ---- [INFO] [stdout] error: cannot find macro `sc_each_display` in this scope [INFO] [stdout] --> src/macros/mod.rs:287:1 [INFO] [stdout] | [INFO] [stdout] 287 | sc_each_display!(parts, &self.pids); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 286 + use simple_impl::sc_each_display; [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/macros/mod.rs - macros::sc_if_some_display (line 168) stdout ---- [INFO] [stdout] error: cannot find macro `sc_if_some_display` in this scope [INFO] [stdout] --> src/macros/mod.rs:169:1 [INFO] [stdout] | [INFO] [stdout] 169 | sc_if_some_display!(parts, self.pid); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 168 + use simple_impl::sc_if_some_display; [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/macros/mod.rs - macros::sc_if_some_flag (line 537) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `sort_key` in this scope [INFO] [stdout] --> src/macros/mod.rs:538:23 [INFO] [stdout] | [INFO] [stdout] 538 | if let Some(value) = &sort_key { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `parts` in this scope [INFO] [stdout] --> src/macros/mod.rs:539:5 [INFO] [stdout] | [INFO] [stdout] 539 | parts.push("--sort-key".to_string()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `parts` in this scope [INFO] [stdout] --> src/macros/mod.rs:540:5 [INFO] [stdout] | [INFO] [stdout] 540 | parts.push(value.clone()); [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 E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/macros/mod.rs - macros::sc_if_some_flag (line 527) stdout ---- [INFO] [stdout] error: cannot find macro `sc_if_some_flag` in this scope [INFO] [stdout] --> src/macros/mod.rs:531:1 [INFO] [stdout] | [INFO] [stdout] 531 | sc_if_some_flag!(parts, sort_key, "--sort-key"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 527 + use simple_impl::sc_if_some_flag; [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/macros/mod.rs - macros::sc_args (line 111) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `parts` in this scope [INFO] [stdout] --> src/macros/mod.rs:112:1 [INFO] [stdout] | [INFO] [stdout] 112 | parts.push(self.filename.clone()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/macros/mod.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 111 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_macros_mod_rs_111_0() { [INFO] [stdout] | ------------------------------------- this function can't have a `self` parameter [INFO] [stdout] 112 | parts.push(self.filename.clone()); [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `parts` in this scope [INFO] [stdout] --> src/macros/mod.rs:113:1 [INFO] [stdout] | [INFO] [stdout] 113 | parts.push(target.to_string()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `target` in this scope [INFO] [stdout] --> src/macros/mod.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | parts.push(target.to_string()); [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: E0424, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0424`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/macros/mod.rs - macros::builder_vec_into (line 416) stdout ---- [INFO] [stdout] error: cannot find macro `builder_vec_into` in this scope [INFO] [stdout] --> src/macros/mod.rs:417:1 [INFO] [stdout] | [INFO] [stdout] 417 | builder_vec_into!(pids => pids: u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 416 + use simple_impl::builder_vec_into; [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/macros/mod.rs - macros::sc_if_some (line 137) stdout ---- [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/macros/mod.rs:138:21 [INFO] [stdout] | [INFO] [stdout] 137 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_macros_mod_rs_137_0() { [INFO] [stdout] | ------------------------------------- this function can't have a `self` parameter [INFO] [stdout] 138 | if let Some(sig) = &self.signal { [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `parts` in this scope [INFO] [stdout] --> src/macros/mod.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | parts.push(format!("-{}", sig)); [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: E0424, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0424`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/macros/mod.rs - macros::sc_cmd (line 11) stdout ---- [INFO] [stdout] error: cannot find macro `sc_cmd` in this scope [INFO] [stdout] --> src/macros/mod.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | let mut parts = sc_cmd!("kill"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 11 + use simple_impl::sc_cmd; [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/macros/mod.rs - macros::sc_if_some_into (line 184) stdout ---- [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/macros/mod.rs:185:20 [INFO] [stdout] | [INFO] [stdout] 184 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_macros_mod_rs_184_0() { [INFO] [stdout] | ------------------------------------- this function can't have a `self` parameter [INFO] [stdout] 185 | if let Some(pid) = self.pid { [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `parts` in this scope [INFO] [stdout] --> src/macros/mod.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 186 | parts.push(pid.into()); [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: E0424, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0424`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/macros/mod.rs - macros::sc_if_some (line 144) stdout ---- [INFO] [stdout] error: cannot find macro `sc_if_some` in this scope [INFO] [stdout] --> src/macros/mod.rs:145:1 [INFO] [stdout] | [INFO] [stdout] 145 | sc_if_some!(parts, self.signal, |sig| format!("-{}", sig)); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 144 + use simple_impl::sc_if_some; [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/macros/mod.rs - macros::sc_args (line 117) stdout ---- [INFO] [stdout] error: cannot find macro `sc_args` in this scope [INFO] [stdout] --> src/macros/mod.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | sc_args!(parts, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 117 + use simple_impl::sc_args; [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/macros/mod.rs - macros::sc_flags (line 30) stdout ---- [INFO] [stdout] error: cannot find macro `sc_flags` in this scope [INFO] [stdout] --> src/macros/mod.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | sc_flags!(parts, self, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 30 + use simple_impl::sc_flags; [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/macros/mod.rs - macros::sc_each (line 262) stdout ---- [INFO] [stdout] error: cannot find macro `sc_each` in this scope [INFO] [stdout] --> src/macros/mod.rs:263:1 [INFO] [stdout] | [INFO] [stdout] 263 | sc_each!(parts, &self.pids, |pid| pid.to_string()); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 262 + use simple_impl::sc_each; [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/macros/mod.rs - macros::sc_if_some_display (line 161) stdout ---- [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/macros/mod.rs:162:20 [INFO] [stdout] | [INFO] [stdout] 161 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_macros_mod_rs_161_0() { [INFO] [stdout] | ------------------------------------- this function can't have a `self` parameter [INFO] [stdout] 162 | if let Some(pid) = self.pid { [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `parts` in this scope [INFO] [stdout] --> src/macros/mod.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | parts.push(pid.to_string()); [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: E0424, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0424`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/macros/mod.rs - macros::sc_if_some_clone (line 207) stdout ---- [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/macros/mod.rs:208:20 [INFO] [stdout] | [INFO] [stdout] 207 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_macros_mod_rs_207_0() { [INFO] [stdout] | ------------------------------------- this function can't have a `self` parameter [INFO] [stdout] 208 | if let Some(pid) = self.pid { [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `parts` in this scope [INFO] [stdout] --> src/macros/mod.rs:209:5 [INFO] [stdout] | [INFO] [stdout] 209 | parts.push(pid.clone()); [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: E0424, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0424`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/macros/mod.rs - macros::sc_flags (line 24) stdout ---- [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/macros/mod.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_macros_mod_rs_24_0() { [INFO] [stdout] | ------------------------------------ this function can't have a `self` parameter [INFO] [stdout] 25 | if self.verbose { parts.push("--verbose".to_string()); } [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `parts` in this scope [INFO] [stdout] --> src/macros/mod.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | if self.verbose { parts.push("--verbose".to_string()); } [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/macros/mod.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_macros_mod_rs_24_0() { [INFO] [stdout] | ------------------------------------ this function can't have a `self` parameter [INFO] [stdout] 25 | if self.verbose { parts.push("--verbose".to_string()); } [INFO] [stdout] 26 | if self.force { parts.push("--force".to_string()); } [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `parts` in this scope [INFO] [stdout] --> src/macros/mod.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | if self.force { parts.push("--force".to_string()); } [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: E0424, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0424`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/macros/mod.rs - macros::sc_if_some_clone (line 214) stdout ---- [INFO] [stdout] error: cannot find macro `sc_if_some_clone` in this scope [INFO] [stdout] --> src/macros/mod.rs:215:1 [INFO] [stdout] | [INFO] [stdout] 215 | sc_if_some_clone!(parts, self.pid); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 214 + use simple_impl::sc_if_some_clone; [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/macros/mod.rs - macros::sc_opt_kv (line 87) stdout ---- [INFO] [stdout] error: cannot find macro `sc_opt_kv` in this scope [INFO] [stdout] --> src/macros/mod.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | sc_opt_kv!(parts, self, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 87 + use simple_impl::sc_opt_kv; [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/macros/mod.rs - macros::sc_if_some_prefix (line 230) stdout ---- [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/macros/mod.rs:231:21 [INFO] [stdout] | [INFO] [stdout] 230 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_macros_mod_rs_230_0() { [INFO] [stdout] | ------------------------------------- this function can't have a `self` parameter [INFO] [stdout] 231 | if let Some(sig) = &self.signal { [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `parts` in this scope [INFO] [stdout] --> src/macros/mod.rs:232:5 [INFO] [stdout] | [INFO] [stdout] 232 | parts.push(format!("-{}", sig)); [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: E0424, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0424`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/macros/mod.rs - macros::sc_if_some_prefix (line 237) stdout ---- [INFO] [stdout] error: cannot find macro `sc_if_some_prefix` in this scope [INFO] [stdout] --> src/macros/mod.rs:238:1 [INFO] [stdout] | [INFO] [stdout] 238 | sc_if_some_prefix!(parts, self.signal, "-"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 237 + use simple_impl::sc_if_some_prefix; [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/macros/mod.rs - macros::sc_opt_kv (line 79) stdout ---- [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/macros/mod.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 79 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_macros_mod_rs_79_0() { [INFO] [stdout] | ------------------------------------ this function can't have a `self` parameter [INFO] [stdout] 80 | if let Some(out) = &self.output { [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `parts` in this scope [INFO] [stdout] --> src/macros/mod.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | parts.push("--output".to_string()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `parts` in this scope [INFO] [stdout] --> src/macros/mod.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | parts.push(out.to_string()); [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: E0424, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0424`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/macros/mod.rs - macros::sc_if_some_into (line 191) stdout ---- [INFO] [stdout] error: cannot find macro `sc_if_some_into` in this scope [INFO] [stdout] --> src/macros/mod.rs:192:1 [INFO] [stdout] | [INFO] [stdout] 192 | sc_if_some_into!(parts, self.pid); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 191 + use simple_impl::sc_if_some_into; [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/macros/mod.rs - macros::builder_flag (line 493) [INFO] [stdout] src/macros/mod.rs - macros::builder_flag (line 501) [INFO] [stdout] src/macros/mod.rs - macros::builder_new_default (line 302) [INFO] [stdout] src/macros/mod.rs - macros::builder_new_default (line 309) [INFO] [stdout] src/macros/mod.rs - macros::builder_opt (line 333) [INFO] [stdout] src/macros/mod.rs - macros::builder_opt (line 341) [INFO] [stdout] src/macros/mod.rs - macros::builder_opt_into (line 358) [INFO] [stdout] src/macros/mod.rs - macros::builder_opt_into (line 366) [INFO] [stdout] src/macros/mod.rs - macros::builder_push (line 468) [INFO] [stdout] src/macros/mod.rs - macros::builder_push (line 476) [INFO] [stdout] src/macros/mod.rs - macros::builder_set (line 383) [INFO] [stdout] src/macros/mod.rs - macros::builder_set (line 391) [INFO] [stdout] src/macros/mod.rs - macros::builder_vec_into (line 408) [INFO] [stdout] src/macros/mod.rs - macros::builder_vec_into (line 416) [INFO] [stdout] src/macros/mod.rs - macros::builder_vec_iter (line 435) [INFO] [stdout] src/macros/mod.rs - macros::builder_vec_iter (line 446) [INFO] [stdout] src/macros/mod.rs - macros::sc_args (line 111) [INFO] [stdout] src/macros/mod.rs - macros::sc_args (line 117) [INFO] [stdout] src/macros/mod.rs - macros::sc_cmd (line 11) [INFO] [stdout] src/macros/mod.rs - macros::sc_each (line 255) [INFO] [stdout] src/macros/mod.rs - macros::sc_each (line 262) [INFO] [stdout] src/macros/mod.rs - macros::sc_each_display (line 279) [INFO] [stdout] src/macros/mod.rs - macros::sc_each_display (line 286) [INFO] [stdout] src/macros/mod.rs - macros::sc_flags (line 24) [INFO] [stdout] src/macros/mod.rs - macros::sc_flags (line 30) [INFO] [stdout] src/macros/mod.rs - macros::sc_flags_into (line 50) [INFO] [stdout] src/macros/mod.rs - macros::sc_flags_into (line 56) [INFO] [stdout] src/macros/mod.rs - macros::sc_if_some (line 137) [INFO] [stdout] src/macros/mod.rs - macros::sc_if_some (line 144) [INFO] [stdout] src/macros/mod.rs - macros::sc_if_some_clone (line 207) [INFO] [stdout] src/macros/mod.rs - macros::sc_if_some_clone (line 214) [INFO] [stdout] src/macros/mod.rs - macros::sc_if_some_display (line 161) [INFO] [stdout] src/macros/mod.rs - macros::sc_if_some_display (line 168) [INFO] [stdout] src/macros/mod.rs - macros::sc_if_some_flag (line 527) [INFO] [stdout] src/macros/mod.rs - macros::sc_if_some_flag (line 537) [INFO] [stdout] src/macros/mod.rs - macros::sc_if_some_into (line 184) [INFO] [stdout] src/macros/mod.rs - macros::sc_if_some_into (line 191) [INFO] [stdout] src/macros/mod.rs - macros::sc_if_some_prefix (line 230) [INFO] [stdout] src/macros/mod.rs - macros::sc_if_some_prefix (line 237) [INFO] [stdout] src/macros/mod.rs - macros::sc_opt_kv (line 79) [INFO] [stdout] src/macros/mod.rs - macros::sc_opt_kv (line 87) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 41 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.85s [INFO] [stdout] [INFO] [stdout] all doctests ran in 1.10s; merged doctests compilation took 0.24s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "fb3474456e64de8411846f2dfee2fd894041e28b1218eb02c722ec21e73ff7ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb3474456e64de8411846f2dfee2fd894041e28b1218eb02c722ec21e73ff7ae", kill_on_drop: false }` [INFO] [stdout] fb3474456e64de8411846f2dfee2fd894041e28b1218eb02c722ec21e73ff7ae