[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 22c4b2d9f0ba6add0eaeb0ff89ea6392adcb665b [INFO] testing carribus/rust_commander against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcarribus%2Frust_commander" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/carribus/rust_commander on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", 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-4/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" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "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] f30f5feb360b1f98b751148d0fc99d803edfcd5b41267799c9055a6045dc176c [INFO] running `Command { std: "docker" "start" "-a" "f30f5feb360b1f98b751148d0fc99d803edfcd5b41267799c9055a6045dc176c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f30f5feb360b1f98b751148d0fc99d803edfcd5b41267799c9055a6045dc176c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f30f5feb360b1f98b751148d0fc99d803edfcd5b41267799c9055a6045dc176c", kill_on_drop: false }` [INFO] [stdout] f30f5feb360b1f98b751148d0fc99d803edfcd5b41267799c9055a6045dc176c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3dd45a5bdb51798613ffe91d86d9d11cefb48fc55ae9ce717fa84ecd53b45bb1 [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" "3dd45a5bdb51798613ffe91d86d9d11cefb48fc55ae9ce717fa84ecd53b45bb1", 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.80s [INFO] running `Command { std: "docker" "inspect" "3dd45a5bdb51798613ffe91d86d9d11cefb48fc55ae9ce717fa84ecd53b45bb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3dd45a5bdb51798613ffe91d86d9d11cefb48fc55ae9ce717fa84ecd53b45bb1", kill_on_drop: false }` [INFO] [stdout] 3dd45a5bdb51798613ffe91d86d9d11cefb48fc55ae9ce717fa84ecd53b45bb1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 636f738296947ab52a0d990dd4c105bf33d816250e527feb55bc1742ad3cc817 [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" "636f738296947ab52a0d990dd4c105bf33d816250e527feb55bc1742ad3cc817", 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.98s [INFO] running `Command { std: "docker" "inspect" "636f738296947ab52a0d990dd4c105bf33d816250e527feb55bc1742ad3cc817", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "636f738296947ab52a0d990dd4c105bf33d816250e527feb55bc1742ad3cc817", kill_on_drop: false }` [INFO] [stdout] 636f738296947ab52a0d990dd4c105bf33d816250e527feb55bc1742ad3cc817 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 922423fafc1d3ce6b88d4c236cff38317d904f2d1422cb226dab73421ca87daa [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" "922423fafc1d3ce6b88d4c236cff38317d904f2d1422cb226dab73421ca87daa", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: cannot borrow `self.args` as mutable because it is also borrowed as immutable [INFO] [stdout] running 6 tests [INFO] [stderr] --> src/lib.rs:284:25 [INFO] [stdout] test tests::test_help ... ignored [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.05s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/commander-7085a9b3f92c42c8 [INFO] [stdout] test tests::test_add_2_options ... ok [INFO] [stdout] test tests::test_add_1_option ... ok [INFO] [stdout] test tests::test_get_float_arg ... ok [INFO] [stdout] test tests::test_get_number_arg ... ok [INFO] [stdout] test tests::test_get_string_arg ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/commander-e7a869c278740b88 [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 [INFO] [stdout] [INFO] [stderr] Doc-tests commander [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 or module `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 or module `CmdOptionValueType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `CmdOptionValueType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `CmdOptionValueType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `CmdOptionValueType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `CmdOptionValueType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "922423fafc1d3ce6b88d4c236cff38317d904f2d1422cb226dab73421ca87daa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "922423fafc1d3ce6b88d4c236cff38317d904f2d1422cb226dab73421ca87daa", kill_on_drop: false }` [INFO] [stdout] 922423fafc1d3ce6b88d4c236cff38317d904f2d1422cb226dab73421ca87daa