[INFO] cloning repository https://github.com/euclio/apply-license [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/euclio/apply-license" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feuclio%2Fapply-license", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feuclio%2Fapply-license'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f427c5810ca28c466a5fe78d57ae631169d7c8d3 [INFO] testing euclio/apply-license against beta-2022-07-16 for beta-1.63-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feuclio%2Fapply-license" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/euclio/apply-license on toolchain beta-2022-07-16 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-16" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/euclio/apply-license [INFO] finished tweaking git repo https://github.com/euclio/apply-license [INFO] tweaked toml for git repo https://github.com/euclio/apply-license written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/euclio/apply-license already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-16" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "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" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8a371b6db65ef06de93489c4c310f5282468c1f4e6601af3e9942a0049831884 [INFO] running `Command { std: "docker" "start" "-a" "8a371b6db65ef06de93489c4c310f5282468c1f4e6601af3e9942a0049831884", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a371b6db65ef06de93489c4c310f5282468c1f4e6601af3e9942a0049831884", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a371b6db65ef06de93489c4c310f5282468c1f4e6601af3e9942a0049831884", kill_on_drop: false }` [INFO] [stdout] 8a371b6db65ef06de93489c4c310f5282468c1f4e6601af3e9942a0049831884 [INFO] running `Command { std: "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" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e53da64cc2a864d0260573c9b16eba5935e0a2337af4c6fcf7952fbdf2a963f7 [INFO] running `Command { std: "docker" "start" "-a" "e53da64cc2a864d0260573c9b16eba5935e0a2337af4c6fcf7952fbdf2a963f7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Compiling libc v0.2.42 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling semver v1.0.6 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling camino v1.0.7 [INFO] [stderr] Compiling cfg-if v0.1.4 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling regex v1.0.1 [INFO] [stderr] Compiling anyhow v1.0.55 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling log v0.4.3 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling regex-syntax v0.6.1 [INFO] [stderr] Compiling atty v0.2.10 [INFO] [stderr] Compiling time v0.1.40 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling combine v4.6.3 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling aho-corasick v0.6.5 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling chrono v0.4.4 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling clap_derive v3.1.4 [INFO] [stderr] Compiling clap v3.1.5 [INFO] [stderr] Compiling kstring v1.0.6 [INFO] [stderr] Compiling cargo-platform v0.1.2 [INFO] [stderr] Compiling toml_edit v0.13.4 [INFO] [stderr] Compiling cargo_metadata v0.14.2 [INFO] [stderr] Compiling handlebars v4.2.1 [INFO] [stderr] Compiling apply-license v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 38.00s [INFO] running `Command { std: "docker" "inspect" "e53da64cc2a864d0260573c9b16eba5935e0a2337af4c6fcf7952fbdf2a963f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e53da64cc2a864d0260573c9b16eba5935e0a2337af4c6fcf7952fbdf2a963f7", kill_on_drop: false }` [INFO] [stdout] e53da64cc2a864d0260573c9b16eba5935e0a2337af4c6fcf7952fbdf2a963f7 [INFO] running `Command { std: "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" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4daa694915121e208233fd316c9b15c6d4d2588ab717e627dca28204aeda5ec1 [INFO] running `Command { std: "docker" "start" "-a" "4daa694915121e208233fd316c9b15c6d4d2588ab717e627dca28204aeda5ec1", kill_on_drop: false }` [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling predicates-core v1.0.3 [INFO] [stderr] Compiling termtree v0.2.4 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling predicates-tree v1.0.5 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling predicates v2.1.1 [INFO] [stderr] Compiling assert_cmd v2.0.4 [INFO] [stderr] Compiling apply-license v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.66s [INFO] running `Command { std: "docker" "inspect" "4daa694915121e208233fd316c9b15c6d4d2588ab717e627dca28204aeda5ec1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4daa694915121e208233fd316c9b15c6d4d2588ab717e627dca28204aeda5ec1", kill_on_drop: false }` [INFO] [stdout] 4daa694915121e208233fd316c9b15c6d4d2588ab717e627dca28204aeda5ec1 [INFO] running `Command { std: "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" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] aae6debba283f3da527a7c6ceea6964ea2d360ad40cbcc41b71c8a906337a21a [INFO] running `Command { std: "docker" "start" "-a" "aae6debba283f3da527a7c6ceea6964ea2d360ad40cbcc41b71c8a906337a21a", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.28s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/apply_license-9f9b84c1443cb2d6) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test tests::valid_spdx_ids ... ok [INFO] [stdout] test tests::parse_licenses ... ok [INFO] [stdout] test tests::simple ... ok [INFO] [stdout] test tests::cargo_manifest_licenses ... ok [INFO] [stdout] test tests::compound ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/apply-license.rs (/opt/rustwide/target/debug/deps/apply_license-8904158af49b0343) [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] [stdout] [INFO] [stderr] Running unittests src/bin/cargo-apply-license.rs (/opt/rustwide/target/debug/deps/cargo_apply_license-69524cf0f671a59c) [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] [stdout] [INFO] [stderr] Running tests/integration/main.rs (/opt/rustwide/target/debug/deps/integration-8e9ed5328f011274) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test apply_license::single_license_with_author ... ok [INFO] [stdout] test apply_license::multiple_license_with_author ... ok [INFO] [stdout] test cargo_apply_license::cargo_project_with_author ... ok [INFO] [stdout] test cargo_apply_license::cargo_project_explicit_license ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.68s [INFO] [stdout] [INFO] [stderr] Doc-tests apply-license [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] [stdout] [INFO] running `Command { std: "docker" "inspect" "aae6debba283f3da527a7c6ceea6964ea2d360ad40cbcc41b71c8a906337a21a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aae6debba283f3da527a7c6ceea6964ea2d360ad40cbcc41b71c8a906337a21a", kill_on_drop: false }` [INFO] [stdout] aae6debba283f3da527a7c6ceea6964ea2d360ad40cbcc41b71c8a906337a21a