[INFO] cloning repository https://github.com/carribus/rust_commander [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/carribus/rust_commander" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcarribus%2Frust_commander", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcarribus%2Frust_commander'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 22c4b2d9f0ba6add0eaeb0ff89ea6392adcb665b [INFO] testing carribus/rust_commander against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcarribus%2Frust_commander" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/carribus/rust_commander on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/carribus/rust_commander [INFO] finished tweaking git repo https://github.com/carribus/rust_commander [INFO] tweaked toml for git repo https://github.com/carribus/rust_commander written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/carribus/rust_commander already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ee53c9ebdc56a1e3ad632b9868868fae5f52d1b0d86510686f45e170bd82beec [INFO] running `Command { std: "docker" "start" "-a" "ee53c9ebdc56a1e3ad632b9868868fae5f52d1b0d86510686f45e170bd82beec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ee53c9ebdc56a1e3ad632b9868868fae5f52d1b0d86510686f45e170bd82beec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee53c9ebdc56a1e3ad632b9868868fae5f52d1b0d86510686f45e170bd82beec", kill_on_drop: false }` [INFO] [stdout] ee53c9ebdc56a1e3ad632b9868868fae5f52d1b0d86510686f45e170bd82beec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 115855ec44c4fa60098e601ed94d7dbffd94243fb4842a6e112fe10f425cb36b [INFO] running `Command { std: "docker" "start" "-a" "115855ec44c4fa60098e601ed94d7dbffd94243fb4842a6e112fe10f425cb36b", kill_on_drop: false }` [INFO] [stderr] Compiling commander v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: cannot borrow `self.args` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/lib.rs:284:25 [INFO] [stdout] | [INFO] [stdout] 264 | let o = self.get_supported_option(value, longform); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 284 | self.args.insert(option.shortform.to_string(), CmdArgument { [INFO] [stdout] | ^^^^^^^^^ ---------------- immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.71s [INFO] running `Command { std: "docker" "inspect" "115855ec44c4fa60098e601ed94d7dbffd94243fb4842a6e112fe10f425cb36b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "115855ec44c4fa60098e601ed94d7dbffd94243fb4842a6e112fe10f425cb36b", kill_on_drop: false }` [INFO] [stdout] 115855ec44c4fa60098e601ed94d7dbffd94243fb4842a6e112fe10f425cb36b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 73d0456caa81bcdba6a9e5ce7c12790d4aeef62e1fc24edcd71b75ce05382df4 [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" "73d0456caa81bcdba6a9e5ce7c12790d4aeef62e1fc24edcd71b75ce05382df4", kill_on_drop: false }` [INFO] [stdout] warning: cannot borrow `self.args` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/lib.rs:284:25 [INFO] [stdout] | [INFO] [stdout] 264 | let o = self.get_supported_option(value, longform); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 284 | self.args.insert(option.shortform.to_string(), CmdArgument { [INFO] [stdout] | ^^^^^^^^^ ---------------- immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling commander v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `self.args` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/lib.rs:284:25 [INFO] [stdout] | [INFO] [stdout] 264 | let o = self.get_supported_option(value, longform); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 284 | self.args.insert(option.shortform.to_string(), CmdArgument { [INFO] [stdout] | ^^^^^^^^^ ---------------- immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.29s [INFO] running `Command { std: "docker" "inspect" "73d0456caa81bcdba6a9e5ce7c12790d4aeef62e1fc24edcd71b75ce05382df4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73d0456caa81bcdba6a9e5ce7c12790d4aeef62e1fc24edcd71b75ce05382df4", kill_on_drop: false }` [INFO] [stdout] 73d0456caa81bcdba6a9e5ce7c12790d4aeef62e1fc24edcd71b75ce05382df4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 346db5cb769546fe6d8f44a48b51d945fc981071d85238fb70f5be9901520a70 [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" "346db5cb769546fe6d8f44a48b51d945fc981071d85238fb70f5be9901520a70", kill_on_drop: false }` [INFO] [stderr] warning: cannot borrow `self.args` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/lib.rs:284:25 [INFO] [stderr] | [INFO] [stderr] 264 | let o = self.get_supported_option(value, longform); [INFO] [stderr] | ---- immutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 284 | self.args.insert(option.shortform.to_string(), CmdArgument { [INFO] [stderr] | ^^^^^^^^^ ---------------- immutable borrow later used here [INFO] [stderr] | | [INFO] [stderr] | mutable borrow occurs here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stderr] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stderr] = note: for more information, see issue #59159 [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] warning: cannot borrow `self.args` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/lib.rs:284:25 [INFO] [stderr] | [INFO] [stderr] 264 | let o = self.get_supported_option(value, longform); [INFO] [stderr] | ---- immutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 284 | self.args.insert(option.shortform.to_string(), CmdArgument { [INFO] [stderr] | ^^^^^^^^^ ---------------- immutable borrow later used here [INFO] [stderr] | | [INFO] [stderr] | mutable borrow occurs here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stderr] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stderr] = note: for more information, see issue #59159 [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/commander-05100ba923252fd9) [INFO] [stdout] running 6 tests [INFO] [stdout] test tests::test_add_2_options ... ok [INFO] [stdout] test tests::test_help ... ignored [INFO] [stdout] test tests::test_get_number_arg ... ok [INFO] [stdout] test tests::test_get_string_arg ... ok [INFO] [stdout] test tests::test_add_1_option ... ok [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/commander-3f19c1eb216121b1) [INFO] [stdout] test tests::test_get_float_arg ... ok [INFO] [stderr] Doc-tests commander [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [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] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - (line 9) ... FAILED [INFO] [stdout] test src/lib.rs - Commander::init (line 99) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 9) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CmdOptionValueType` [INFO] [stdout] --> src/lib.rs:13:76 [INFO] [stdout] | [INFO] [stdout] 5 | cmd.add_option("v", "version", "Show the version of this application", CmdOptionValueType::NoValue) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `CmdOptionValueType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CmdOptionValueType` [INFO] [stdout] --> src/lib.rs:14:52 [INFO] [stdout] | [INFO] [stdout] 6 | .add_option("h", "help", "Show this help", CmdOptionValueType::NoValue) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `CmdOptionValueType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CmdOptionValueType` [INFO] [stdout] --> src/lib.rs:15:60 [INFO] [stdout] | [INFO] [stdout] 7 | .add_option("if", "input", "File to use as input", CmdOptionValueType::String) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `CmdOptionValueType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CmdOptionValueType` [INFO] [stdout] --> src/lib.rs:16:70 [INFO] [stdout] | [INFO] [stdout] 8 | .add_option("c", "count", "Amount of times to do something", CmdOptionValueType::Number) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `CmdOptionValueType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CmdOptionValueType` [INFO] [stdout] --> src/lib.rs:17:77 [INFO] [stdout] | [INFO] [stdout] 9 | .add_option("b", "balance", "Amount of money in your bank account", CmdOptionValueType::Float) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `CmdOptionValueType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Commander` [INFO] [stdout] --> src/lib.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 3 | let mut cmd = Commander::new(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use commander::Commander; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 9) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.79s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "346db5cb769546fe6d8f44a48b51d945fc981071d85238fb70f5be9901520a70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "346db5cb769546fe6d8f44a48b51d945fc981071d85238fb70f5be9901520a70", kill_on_drop: false }` [INFO] [stdout] 346db5cb769546fe6d8f44a48b51d945fc981071d85238fb70f5be9901520a70