[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 1.45.2 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-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 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "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-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" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "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" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d4b9da707b2197b885428dfdecb982b30a3f1855d1491614a253b90ec62af414 [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" "d4b9da707b2197b885428dfdecb982b30a3f1855d1491614a253b90ec62af414", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4b9da707b2197b885428dfdecb982b30a3f1855d1491614a253b90ec62af414", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4b9da707b2197b885428dfdecb982b30a3f1855d1491614a253b90ec62af414", kill_on_drop: false }` [INFO] [stdout] d4b9da707b2197b885428dfdecb982b30a3f1855d1491614a253b90ec62af414 [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" "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" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3495661cc4b4e8f666ffd727328e37cd26fe0aa0ba933437b1310d74fe40d51e [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" "3495661cc4b4e8f666ffd727328e37cd26fe0aa0ba933437b1310d74fe40d51e", 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.72s [INFO] running `Command { std: "docker" "inspect" "3495661cc4b4e8f666ffd727328e37cd26fe0aa0ba933437b1310d74fe40d51e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3495661cc4b4e8f666ffd727328e37cd26fe0aa0ba933437b1310d74fe40d51e", kill_on_drop: false }` [INFO] [stdout] 3495661cc4b4e8f666ffd727328e37cd26fe0aa0ba933437b1310d74fe40d51e [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" "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" "+1.45.2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b6e825437208a062d8ce584f2680116a9a14be530cdb06a95714468ffa7a24fb [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" "b6e825437208a062d8ce584f2680116a9a14be530cdb06a95714468ffa7a24fb", 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] [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.86s [INFO] running `Command { std: "docker" "inspect" "b6e825437208a062d8ce584f2680116a9a14be530cdb06a95714468ffa7a24fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6e825437208a062d8ce584f2680116a9a14be530cdb06a95714468ffa7a24fb", kill_on_drop: false }` [INFO] [stdout] b6e825437208a062d8ce584f2680116a9a14be530cdb06a95714468ffa7a24fb [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" "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" "+1.45.2" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f3ca2449cbd5668beb18fdc040c9174a19a903e1be6e0fe62ac06be64cbff185 [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" "f3ca2449cbd5668beb18fdc040c9174a19a903e1be6e0fe62ac06be64cbff185", 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.02s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/commander-f0150ba6d0aad419 [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test tests::test_help ... ignored [INFO] [stdout] test tests::test_get_string_arg ... ok [INFO] [stdout] test tests::test_add_1_option ... ok [INFO] [stdout] test tests::test_get_number_arg ... ok [INFO] [stdout] test tests::test_get_float_arg ... ok [INFO] [stdout] test tests::test_add_2_options ... 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-5d0c93bb42d03786 [INFO] [stdout] [INFO] [stderr] Doc-tests commander [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] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - (line 9) ... FAILED [INFO] [stderr] error: test failed, to rerun pass '--doc' [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 `Commander` [INFO] [stdout] --> src/lib.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 3 | let mut cmd = Commander::new(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `Commander` [INFO] [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: 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] running `Command { std: "docker" "inspect" "f3ca2449cbd5668beb18fdc040c9174a19a903e1be6e0fe62ac06be64cbff185", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3ca2449cbd5668beb18fdc040c9174a19a903e1be6e0fe62ac06be64cbff185", kill_on_drop: false }` [INFO] [stdout] f3ca2449cbd5668beb18fdc040c9174a19a903e1be6e0fe62ac06be64cbff185