[INFO] cloning repository https://github.com/ignacio-ts/randtoken [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ignacio-ts/randtoken" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fignacio-ts%2Frandtoken", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fignacio-ts%2Frandtoken'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 776482f35346434cd227fa9856125cff2e946c99 [INFO] testing ignacio-ts/randtoken against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fignacio-ts%2Frandtoken" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ignacio-ts/randtoken on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ignacio-ts/randtoken [INFO] finished tweaking git repo https://github.com/ignacio-ts/randtoken [INFO] tweaked toml for git repo https://github.com/ignacio-ts/randtoken written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/ignacio-ts/randtoken already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1ea929abb497f1379bd7ad27de62b8b64cb02afe64fbe3959a38820e7488f5e7 [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" "1ea929abb497f1379bd7ad27de62b8b64cb02afe64fbe3959a38820e7488f5e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1ea929abb497f1379bd7ad27de62b8b64cb02afe64fbe3959a38820e7488f5e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ea929abb497f1379bd7ad27de62b8b64cb02afe64fbe3959a38820e7488f5e7", kill_on_drop: false }` [INFO] [stdout] 1ea929abb497f1379bd7ad27de62b8b64cb02afe64fbe3959a38820e7488f5e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "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] 3e30f1ad0a9f4e69c59c3c7abcbb7902465da47722111fa1710e3aa921591fae [INFO] running `Command { std: "docker" "start" "-a" "3e30f1ad0a9f4e69c59c3c7abcbb7902465da47722111fa1710e3aa921591fae", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling randtoken v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.61s [INFO] running `Command { std: "docker" "inspect" "3e30f1ad0a9f4e69c59c3c7abcbb7902465da47722111fa1710e3aa921591fae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e30f1ad0a9f4e69c59c3c7abcbb7902465da47722111fa1710e3aa921591fae", kill_on_drop: false }` [INFO] [stdout] 3e30f1ad0a9f4e69c59c3c7abcbb7902465da47722111fa1710e3aa921591fae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--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] 6e07ee9b162548b1e47784f9873c38c1d2fe6728cfea7b344aed81e8e9f8fd61 [INFO] running `Command { std: "docker" "start" "-a" "6e07ee9b162548b1e47784f9873c38c1d2fe6728cfea7b344aed81e8e9f8fd61", kill_on_drop: false }` [INFO] [stderr] Compiling randtoken v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.75s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/randtoken-996a489633c08118) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/randtoken-871bab6b452b32f9) [INFO] running `Command { std: "docker" "inspect" "6e07ee9b162548b1e47784f9873c38c1d2fe6728cfea7b344aed81e8e9f8fd61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e07ee9b162548b1e47784f9873c38c1d2fe6728cfea7b344aed81e8e9f8fd61", kill_on_drop: false }` [INFO] [stdout] 6e07ee9b162548b1e47784f9873c38c1d2fe6728cfea7b344aed81e8e9f8fd61 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", 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] dce75b59879594a95aefea822ba58157c4226e24f99aeaa87bb8c894bed75ede [INFO] running `Command { std: "docker" "start" "-a" "dce75b59879594a95aefea822ba58157c4226e24f99aeaa87bb8c894bed75ede", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/randtoken-996a489633c08118) [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/randtoken-871bab6b452b32f9) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::is_correct_length ... ok [INFO] [stdout] test tests::is_correct_content ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [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] [stderr] Doc-tests randtoken [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/config.rs - config::Config (line 8) ... FAILED [INFO] [stdout] test src/lib.rs - run (line 12) ... FAILED [INFO] [stdout] test src/config.rs - config::Config::new (line 22) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/config.rs - config::Config (line 8) stdout ---- [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Config` in this scope [INFO] [stdout] --> src/config.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 3 | let my_config_1 = Config {length: 45}; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use randtoken::config::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Config` in this scope [INFO] [stdout] --> src/config.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 4 | let my_config_2 = Config {length: None}; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use randtoken::config::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - run (line 12) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `run` in this scope [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 3 | run(Config {length: 5}); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use randtoken::run; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Config` in this scope [INFO] [stdout] --> src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 3 | run(Config {length: 5}); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use randtoken::config::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/config.rs - config::Config::new (line 22) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env` [INFO] [stdout] --> src/config.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 3 | let config = Config::new(env::args()).unwrap_or_else(|err| { [INFO] [stdout] | ^^^ use of undeclared crate or module `env` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> src/config.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 3 | let config = Config::new(env::args()).unwrap_or_else(|err| { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use randtoken::config::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 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/config.rs - config::Config (line 8) [INFO] [stdout] src/config.rs - config::Config::new (line 22) [INFO] [stdout] src/lib.rs - run (line 12) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.31s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "dce75b59879594a95aefea822ba58157c4226e24f99aeaa87bb8c894bed75ede", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dce75b59879594a95aefea822ba58157c4226e24f99aeaa87bb8c894bed75ede", kill_on_drop: false }` [INFO] [stdout] dce75b59879594a95aefea822ba58157c4226e24f99aeaa87bb8c894bed75ede