[INFO] cloning repository https://github.com/euank/nixos-ami-upload
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/euank/nixos-ami-upload" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feuank%2Fnixos-ami-upload", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feuank%2Fnixos-ami-upload'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0ff57b506598983ea5d9f40a5da9fd019a71b49c
[INFO] testing euank/nixos-ami-upload against 1.100.0-beta.1+cargoflags=--release for beta-release-1.100-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feuank%2Fnixos-ami-upload" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/euank/nixos-ami-upload
[INFO] finished tweaking git repo https://github.com/euank/nixos-ami-upload
[INFO] tweaked toml for git repo https://github.com/euank/nixos-ami-upload written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/euank/nixos-ami-upload on toolchain 1.100.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/euank/nixos-ami-upload already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 325f1101f42317aa11f0dce06e51c843843155e72ccf1e5064857aeae7b29817
[INFO] running `Command { std: "docker" "start" "325f1101f42317aa11f0dce06e51c843843155e72ccf1e5064857aeae7b29817", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "325f1101f42317aa11f0dce06e51c843843155e72ccf1e5064857aeae7b29817", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "325f1101f42317aa11f0dce06e51c843843155e72ccf1e5064857aeae7b29817" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "325f1101f42317aa11f0dce06e51c843843155e72ccf1e5064857aeae7b29817", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "325f1101f42317aa11f0dce06e51c843843155e72ccf1e5064857aeae7b29817" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.98
[INFO] [stderr]    Compiling proc-macro2 v1.0.28
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.74
[INFO] [stderr]    Compiling memchr v2.4.0
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling pin-project-lite v0.2.7
[INFO] [stderr]    Compiling futures-core v0.3.16
[INFO] [stderr]    Compiling typenum v1.13.0
[INFO] [stderr]    Compiling pkg-config v0.3.19
[INFO] [stderr]    Compiling proc-macro-nested v0.1.7
[INFO] [stderr]    Compiling futures-task v0.3.16
[INFO] [stderr]    Compiling futures-macro v0.3.16
[INFO] [stderr]    Compiling cc v1.0.69
[INFO] [stderr]    Compiling futures-channel v0.3.16
[INFO] [stderr]    Compiling standback v0.2.17
[INFO] [stderr]    Compiling futures-util v0.3.16
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling itoa v0.4.7
[INFO] [stderr]    Compiling futures-sink v0.3.16
[INFO] [stderr]    Compiling serde_derive v1.0.126
[INFO] [stderr]    Compiling once_cell v1.8.0
[INFO] [stderr]    Compiling bytes v1.0.1
[INFO] [stderr]    Compiling tokio v1.9.0
[INFO] [stderr]    Compiling slab v0.4.3
[INFO] [stderr]    Compiling futures-io v0.3.16
[INFO] [stderr]    Compiling serde v1.0.126
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling httparse v1.4.1
[INFO] [stderr]    Compiling tracing-core v0.1.18
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling openssl v0.10.35
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling const_fn v0.4.8
[INFO] [stderr]    Compiling httpdate v1.0.1
[INFO] [stderr]    Compiling async-trait v0.1.51
[INFO] [stderr]    Compiling native-tls v0.2.7
[INFO] [stderr]    Compiling serde_json v1.0.66
[INFO] [stderr]    Compiling time v0.2.27
[INFO] [stderr]    Compiling openssl-probe v0.1.4
[INFO] [stderr]    Compiling shlex v0.1.1
[INFO] [stderr]    Compiling signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling mio v0.7.13
[INFO] [stderr]    Compiling socket2 v0.4.1
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling dirs-sys-next v0.1.2
[INFO] [stderr]    Compiling http v0.2.4
[INFO] [stderr]    Compiling getrandom v0.2.3
[INFO] [stderr]    Compiling crc32fast v1.2.1
[INFO] [stderr]    Compiling dirs-next v2.0.0
[INFO] [stderr]    Compiling openssl-sys v0.9.65
[INFO] [stderr]    Compiling tracing v0.1.26
[INFO] [stderr]    Compiling matches v0.1.8
[INFO] [stderr]    Compiling cpufeatures v0.1.5
[INFO] [stderr]    Compiling zeroize v1.4.1
[INFO] [stderr]    Compiling tinyvec v1.3.1
[INFO] [stderr]    Compiling rusoto_core v0.46.0
[INFO] [stderr]    Compiling md5 v0.7.0
[INFO] [stderr]    Compiling unicode-segmentation v1.8.0
[INFO] [stderr]    Compiling unicode-bidi v0.3.5
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling xml-rs v0.8.4
[INFO] [stderr]    Compiling form_urlencoded v1.0.1
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling doc-comment v0.3.3
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]    Compiling ppv-lite86 v0.2.10
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling build_const v0.2.2
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling terminal_size v0.1.17
[INFO] [stderr]    Compiling argh_shared v0.1.5
[INFO] [stderr]    Compiling dtoa v0.4.8
[INFO] [stderr]    Compiling crc v1.8.1
[INFO] [stderr]    Compiling unicode-width v0.1.8
[INFO] [stderr]    Compiling console v0.14.1
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling remove_dir_all v0.5.3
[INFO] [stderr]    Compiling number_prefix v0.4.0
[INFO] [stderr]    Compiling anyhow v1.0.42
[INFO] [stderr]    Compiling unicode-normalization v0.1.19
[INFO] [stderr]    Compiling clap v2.33.3
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling crypto-mac v0.10.1
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling hmac v0.10.1
[INFO] [stderr]    Compiling sha2 v0.9.5
[INFO] [stderr]    Compiling uuid v0.8.2
[INFO] [stderr]    Compiling termcolor v1.1.2
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling gpt v2.0.0
[INFO] [stderr]    Compiling rand v0.8.4
[INFO] [stderr]    Compiling regex v1.5.4
[INFO] [stderr]    Compiling http-body v0.4.2
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling tempfile v3.2.0
[INFO] [stderr]    Compiling url v2.2.2
[INFO] [stderr]    Compiling indicatif v0.16.2
[INFO] [stderr]    Compiling env_logger v0.8.4
[INFO] [stderr]    Compiling tokio-macros v1.3.0
[INFO] [stderr]    Compiling time-macros-impl v0.1.2
[INFO] [stderr]    Compiling snafu-derive v0.6.10
[INFO] [stderr]    Compiling argh_derive v0.1.5
[INFO] [stderr]    Compiling time-macros v0.1.1
[INFO] [stderr]    Compiling snafu v0.6.10
[INFO] [stderr]    Compiling structopt-derive v0.4.15
[INFO] [stderr]    Compiling argh v0.1.5
[INFO] [stderr]    Compiling structopt v0.3.22
[INFO] [stderr]    Compiling futures-executor v0.3.16
[INFO] [stderr]    Compiling futures v0.3.16
[INFO] [stderr]    Compiling tokio-native-tls v0.3.0
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling serde_urlencoded v0.6.1
[INFO] [stderr]    Compiling hyper v0.14.11
[INFO] [stderr]    Compiling rusoto_credential v0.46.0
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling rusoto_signature v0.46.0
[INFO] [stderr]    Compiling rusoto_ec2 v0.46.0
[INFO] [stderr]    Compiling rusoto_ebs v0.46.0
[INFO] [stderr]    Compiling rusoto_ssm v0.46.0
[INFO] [stderr]    Compiling coldsnap v0.3.1
[INFO] [stderr]    Compiling nixos-ami-upload v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 3m 19s
[INFO] running `Command { std: "docker" "inspect" "325f1101f42317aa11f0dce06e51c843843155e72ccf1e5064857aeae7b29817", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "325f1101f42317aa11f0dce06e51c843843155e72ccf1e5064857aeae7b29817" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling nixos-ami-upload v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 1.34s
[INFO] running `Command { std: "docker" "inspect" "325f1101f42317aa11f0dce06e51c843843155e72ccf1e5064857aeae7b29817", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "325f1101f42317aa11f0dce06e51c843843155e72ccf1e5064857aeae7b29817" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--release", kill_on_drop: false }`
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.17s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/release/build/nixos-ami-upload/736f024cea650146/out/nixos_ami_upload-736f024cea650146)
[INFO] [stdout] 
[INFO] [stdout] running 7 tests
[INFO] [stdout] test tests::copy_tokens_cover_material_request_context ... ok
[INFO] [stdout] test tests::generated_ami_name_truncates_on_a_character_boundary ... ok
[INFO] [stdout] test tests::generated_ami_name_contains_cache_identity_and_fits_aws_limit ... ok
[INFO] [stdout] test tests::generated_ami_names_differ_by_root_volume_size ... ok
[INFO] [stdout] test tests::extracts_nix_store_identity ... ok
[INFO] [stdout] test tests::rejects_paths_below_a_store_output ... ok
[INFO] [stdout] test tests::rejects_paths_outside_the_store ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "325f1101f42317aa11f0dce06e51c843843155e72ccf1e5064857aeae7b29817", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "325f1101f42317aa11f0dce06e51c843843155e72ccf1e5064857aeae7b29817", kill_on_drop: false }`
[INFO] [stdout] 325f1101f42317aa11f0dce06e51c843843155e72ccf1e5064857aeae7b29817
