[INFO] fetching crate libknox 0.4.0... [INFO] checking libknox-0.4.0 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] extracting crate libknox 0.4.0 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate libknox 0.4.0 on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate libknox 0.4.0 [INFO] finished tweaking crates.io crate libknox 0.4.0 [INFO] tweaked toml for crates.io crate libknox 0.4.0 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate crates.io crate libknox 0.4.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded protoc-rust v2.14.0 [INFO] [stderr] Downloaded protoc v2.14.0 [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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7d11bb79d67d4231921f8f34468494352fa4ac29a8100aa62f193c3c8b36fbaa [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" "7d11bb79d67d4231921f8f34468494352fa4ac29a8100aa62f193c3c8b36fbaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d11bb79d67d4231921f8f34468494352fa4ac29a8100aa62f193c3c8b36fbaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d11bb79d67d4231921f8f34468494352fa4ac29a8100aa62f193c3c8b36fbaa", kill_on_drop: false }` [INFO] [stdout] 7d11bb79d67d4231921f8f34468494352fa4ac29a8100aa62f193c3c8b36fbaa [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=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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 17fe16601a403be8630387c1fd4e2d04232b19f038016d46fb5eac563f1527c6 [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" "17fe16601a403be8630387c1fd4e2d04232b19f038016d46fb5eac563f1527c6", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libgpg-error-sys v0.5.1 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking smallvec v1.4.0 [INFO] [stderr] Checking byte-tools v0.1.3 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling gpgme-sys v0.9.1 [INFO] [stderr] Compiling gpg-error v0.5.1 [INFO] [stderr] Compiling protobuf v2.14.0 [INFO] [stderr] Checking custom_derive v0.1.7 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking rustc-hex v1.0.0 [INFO] [stderr] Checking once_cell v1.3.1 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Checking bitflags v1.2.1 [INFO] [stderr] Checking conv v0.3.3 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Checking generic-array v0.7.3 [INFO] [stderr] Checking digest v0.5.2 [INFO] [stderr] Checking digest-buffer v0.3.1 [INFO] [stderr] Checking crypto-mac v0.3.0 [INFO] [stderr] Checking unicode-normalization v0.1.12 [INFO] [stderr] Checking hmac v0.1.1 [INFO] [stderr] Checking sha2 v0.5.3 [INFO] [stderr] Checking sha-1 v0.3.4 [INFO] [stderr] Checking oath v0.10.2 [INFO] [stderr] Checking cstr-argument v0.1.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling cc v1.0.52 [INFO] [stderr] Checking gpgme v0.9.2 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling openssl-sys v0.9.55 [INFO] [stderr] Compiling libssh2-sys v0.2.17 [INFO] [stderr] Compiling libgit2-sys v0.12.5+1.0.0 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking git2 v0.13.5 [INFO] [stderr] Checking libknox v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `knox_testing` [INFO] [stdout] --> src/gpg.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | use knox_testing::spec; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `knox_testing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `knox_testing` [INFO] [stdout] --> src/util/git.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | use knox_testing::spec; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `knox_testing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `chrono` [INFO] [stdout] --> src/util/totp.rs:54:7 [INFO] [stdout] | [INFO] [stdout] 54 | use chrono::prelude::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `chrono` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `knox_testing` [INFO] [stdout] --> src/util/path.rs:44:7 [INFO] [stdout] | [INFO] [stdout] 44 | use knox_testing::spec; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `knox_testing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `knox_testing` [INFO] [stdout] --> src/vault/context.rs:326:9 [INFO] [stdout] | [INFO] [stdout] 326 | use knox_testing::spec; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `knox_testing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `knox_testing` [INFO] [stdout] --> src/vault/entry.rs:81:7 [INFO] [stdout] | [INFO] [stdout] 81 | use knox_testing::spec; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `knox_testing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `knox_testing` [INFO] [stdout] --> src/vault/pack.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | use knox_testing::spec; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `knox_testing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `knox_testing` [INFO] [stdout] --> src/spec.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use knox_testing::spec; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `knox_testing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `setup` in `spec` [INFO] [stdout] --> src/util/git.rs:130:25 [INFO] [stdout] | [INFO] [stdout] 130 | let tmp = spec::setup(); [INFO] [stdout] | ^^^^^ not found in `spec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `setup` in `spec` [INFO] [stdout] --> src/util/git.rs:163:25 [INFO] [stdout] | [INFO] [stdout] 163 | let tmp = spec::setup(); [INFO] [stdout] | ^^^^^ not found in `spec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `setup` in `spec` [INFO] [stdout] --> src/util/git.rs:194:25 [INFO] [stdout] | [INFO] [stdout] 194 | let tmp = spec::setup(); [INFO] [stdout] | ^^^^^ not found in `spec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Utc` in this scope [INFO] [stdout] --> src/util/totp.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | Some(Utc.ymd(2014, 11, 28).and_hms(0, 0, 0).timestamp() as u64), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `setup` in `spec` [INFO] [stdout] --> src/vault/context.rs:332:25 [INFO] [stdout] | [INFO] [stdout] 332 | let tmp = spec::setup(); [INFO] [stdout] | ^^^^^ not found in `spec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_test_identities` in `spec` [INFO] [stdout] --> src/vault/context.rs:334:49 [INFO] [stdout] | [INFO] [stdout] 334 | VaultContext::create(tmp.path(), &spec::get_test_identities()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `spec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_test_identities` in `spec` [INFO] [stdout] --> src/vault/context.rs:341:26 [INFO] [stdout] | [INFO] [stdout] 341 | assert_eq!(spec::get_test_identities(), context.vault.get_identities()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `spec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `setup` in `spec` [INFO] [stdout] --> src/vault/context.rs:346:25 [INFO] [stdout] | [INFO] [stdout] 346 | let tmp = spec::setup(); [INFO] [stdout] | ^^^^^ not found in `spec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `setup` in `spec` [INFO] [stdout] --> src/vault/context.rs:357:25 [INFO] [stdout] | [INFO] [stdout] 357 | let tmp = spec::setup(); [INFO] [stdout] | ^^^^^ not found in `spec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `setup` in `spec` [INFO] [stdout] --> src/vault/context.rs:378:25 [INFO] [stdout] | [INFO] [stdout] 378 | let tmp = spec::setup(); [INFO] [stdout] | ^^^^^ not found in `spec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `setup` in `spec` [INFO] [stdout] --> src/vault/context.rs:407:25 [INFO] [stdout] | [INFO] [stdout] 407 | let tmp = spec::setup(); [INFO] [stdout] | ^^^^^ not found in `spec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `setup` in `spec` [INFO] [stdout] --> src/vault/context.rs:419:25 [INFO] [stdout] | [INFO] [stdout] 419 | let tmp = spec::setup(); [INFO] [stdout] | ^^^^^ not found in `spec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `setup` in `spec` [INFO] [stdout] --> src/vault/entry.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | let tmp = spec::setup(); [INFO] [stdout] | ^^^^^ not found in `spec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `setup` in `spec` [INFO] [stdout] --> src/vault/pack.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | let tmp = spec::setup(); [INFO] [stdout] | ^^^^^ not found in `spec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_test_identities` in `spec` [INFO] [stdout] --> src/spec.rs:13:52 [INFO] [stdout] | [INFO] [stdout] 13 | let context = VaultContext::create(&path, &spec::get_test_identities())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `spec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 23 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `libknox` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "17fe16601a403be8630387c1fd4e2d04232b19f038016d46fb5eac563f1527c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17fe16601a403be8630387c1fd4e2d04232b19f038016d46fb5eac563f1527c6", kill_on_drop: false }` [INFO] [stdout] 17fe16601a403be8630387c1fd4e2d04232b19f038016d46fb5eac563f1527c6