[INFO] updating cached repository https://github.com/raftario/licensor [INFO] running `"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"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] eeb7bd0fb3b53d394b3d765e58a991274997d7ff [INFO] testing raftario/licensor against master#28742a1146f10a4f09369baad027a464acb7a766 for pr-71274 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraftario%2Flicensor" "/workspace/builds/worker-7/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/raftario/licensor on toolchain 28742a1146f10a4f09369baad027a464acb7a766 [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/raftario/licensor [INFO] removed workspace from git repo https://github.com/raftario/licensor [INFO] finished tweaking git repo https://github.com/raftario/licensor [INFO] tweaked toml for git repo https://github.com/raftario/licensor written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/raftario/licensor already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-7/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=forbid" "-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" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8146b93ff0f7371b01b5651857f54bdcce535419706f88a0de0d791a70f283e4 [INFO] running `"docker" "start" "-a" "8146b93ff0f7371b01b5651857f54bdcce535419706f88a0de0d791a70f283e4"` [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.2 [INFO] [stderr] Compiling proc-macro-error v1.0.2 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling miniz_oxide v0.3.6 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling flate2 v1.0.14 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling calmio_filters v0.1.0 [INFO] [stderr] Compiling calm_io v0.1.1 [INFO] [stderr] Compiling structopt-derive v0.4.7 [INFO] [stderr] Compiling structopt v0.3.14 [INFO] [stderr] Compiling licensor v2.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 06s [INFO] running `"docker" "inspect" "8146b93ff0f7371b01b5651857f54bdcce535419706f88a0de0d791a70f283e4"` [INFO] running `"docker" "rm" "-f" "8146b93ff0f7371b01b5651857f54bdcce535419706f88a0de0d791a70f283e4"` [INFO] [stdout] 8146b93ff0f7371b01b5651857f54bdcce535419706f88a0de0d791a70f283e4 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=forbid" "-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" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d6be4e94d4ec32c94908c0e778af6d62965e16d7610af54c36d06042557bfe0c [INFO] running `"docker" "start" "-a" "d6be4e94d4ec32c94908c0e778af6d62965e16d7610af54c36d06042557bfe0c"` [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling predicates-core v1.0.0 [INFO] [stderr] Compiling escargot v0.4.0 [INFO] [stderr] Compiling cargo-husky v1.5.0 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling treeline v0.1.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling float-cmp v0.6.0 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling predicates-tree v1.0.0 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Compiling predicates v1.0.4 [INFO] [stderr] Compiling serde_json v1.0.51 [INFO] [stderr] Compiling assert_cmd v0.11.1 [INFO] [stderr] Compiling licensor v2.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 50.31s [INFO] running `"docker" "inspect" "d6be4e94d4ec32c94908c0e778af6d62965e16d7610af54c36d06042557bfe0c"` [INFO] running `"docker" "rm" "-f" "d6be4e94d4ec32c94908c0e778af6d62965e16d7610af54c36d06042557bfe0c"` [INFO] [stdout] d6be4e94d4ec32c94908c0e778af6d62965e16d7610af54c36d06042557bfe0c [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=forbid" "-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" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a96e7e42687b752f0d9b45c8a78817e3094336a665889e3e1ad959620b51c0a8 [INFO] running `"docker" "start" "-a" "a96e7e42687b752f0d9b45c8a78817e3094336a665889e3e1ad959620b51c0a8"` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.32s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/licensor-5fa0dff70d949c56 [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test tests::clean_newlines::works ... ok [INFO] [stdout] test tests::is_similar::yes_contains ... ok [INFO] [stdout] test tests::parse_spdx_expr::simple_expr ... ok [INFO] [stdout] test tests::get_similar_keys::works ... ok [INFO] [stdout] test tests::gz_decode_bytes::works ... ok [INFO] [stdout] test tests::is_similar::yes_contained ... ok [INFO] [stdout] test tests::parse_spdx_expr::complex_expr ... ok [INFO] [stdout] test tests::is_similar::no ... ok [INFO] [stdout] test tests::parse_license::works ... ok [INFO] [stdout] test tests::parse_exception::works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/integration-88d36f0b7e5fa931 [INFO] [stdout] running 11 tests [INFO] [stdout] test invalid ... ok [INFO] [stdout] test license_and_name ... ok [INFO] [stdout] test expr_invalid ... ok [INFO] [stdout] test license ... ok [INFO] [stdout] test license_invalid ... ok [INFO] [stdout] test license_with_exception_invalid ... ok [INFO] [stdout] test license_with_exception ... ok [INFO] [stdout] test list_exceptions ... ok [INFO] [stdout] test license_skip_optional ... ok [INFO] [stdout] test license_keep_placeholder ... ok [INFO] [stdout] test list_licenses ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `"docker" "inspect" "a96e7e42687b752f0d9b45c8a78817e3094336a665889e3e1ad959620b51c0a8"` [INFO] running `"docker" "rm" "-f" "a96e7e42687b752f0d9b45c8a78817e3094336a665889e3e1ad959620b51c0a8"` [INFO] [stdout] a96e7e42687b752f0d9b45c8a78817e3094336a665889e3e1ad959620b51c0a8