[INFO] updating cached repository https://github.com/paritytech/cargo-contract [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] [stderr] From https://github.com/paritytech/cargo-contract [INFO] [stderr] * [new branch] aj-metadata-crate -> aj-metadata-crate [INFO] [stderr] d28a743..819a5bf master -> master [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 819a5bfa356ac8d065666d3542ca2edb54318522 [INFO] testing paritytech/cargo-contract against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fparitytech%2Fcargo-contract" "/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/paritytech/cargo-contract on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/paritytech/cargo-contract [INFO] finished tweaking git repo https://github.com/paritytech/cargo-contract [INFO] tweaked toml for git repo https://github.com/paritytech/cargo-contract written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/paritytech/cargo-contract already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5a1b91e4aa9d3ca02fb68a0c90dc992d32827130a139b6a79806ddb65797ffe9 [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" "5a1b91e4aa9d3ca02fb68a0c90dc992d32827130a139b6a79806ddb65797ffe9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a1b91e4aa9d3ca02fb68a0c90dc992d32827130a139b6a79806ddb65797ffe9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a1b91e4aa9d3ca02fb68a0c90dc992d32827130a139b6a79806ddb65797ffe9", kill_on_drop: false }` [INFO] [stdout] 5a1b91e4aa9d3ca02fb68a0c90dc992d32827130a139b6a79806ddb65797ffe9 [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 29d8cb0182ed2e9b7d2254229700e2e6614bf46745b98238847316ebdb42de2f [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" "29d8cb0182ed2e9b7d2254229700e2e6614bf46745b98238847316ebdb42de2f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling syn v1.0.36 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling anyhow v1.0.28 [INFO] [stderr] Compiling gimli v0.21.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling podio v0.1.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling object v0.19.0 [INFO] [stderr] Compiling subtle v2.2.2 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling cargo-xbuild v0.5.32 [INFO] [stderr] Compiling parity-wasm v0.41.0 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling zip v0.5.5 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.3 [INFO] [stderr] Compiling generic-array v0.14.2 [INFO] [stderr] Compiling proc-macro-error v1.0.3 [INFO] [stderr] Compiling error-chain v0.12.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling cargo-contract v0.7.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling blake2 v0.9.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling pwasm-utils v0.12.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling addr2line v0.12.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling backtrace v0.3.47 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling structopt-derive v0.4.7 [INFO] [stderr] Compiling structopt v0.3.14 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling semver v0.10.0 [INFO] [stderr] Compiling parity-scale-codec v1.3.4 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling cargo_metadata v0.9.1 [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 22s [INFO] running `Command { std: "docker" "inspect" "29d8cb0182ed2e9b7d2254229700e2e6614bf46745b98238847316ebdb42de2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29d8cb0182ed2e9b7d2254229700e2e6614bf46745b98238847316ebdb42de2f", kill_on_drop: false }` [INFO] [stdout] 29d8cb0182ed2e9b7d2254229700e2e6614bf46745b98238847316ebdb42de2f [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2d5736c57afadd32588a0287da2ab6ef2fc8d262982fe12f2dd8eeaaaa24fa7c [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" "2d5736c57afadd32588a0287da2ab6ef2fc8d262982fe12f2dd8eeaaaa24fa7c", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.52 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling assert_matches v1.3.0 [INFO] [stderr] Compiling pretty_assertions v0.6.1 [INFO] [stderr] Compiling cmake v0.1.42 [INFO] [stderr] Compiling wabt-sys v0.7.1 [INFO] [stderr] Compiling wabt v0.9.2 [INFO] [stderr] Compiling cargo-contract v0.7.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1m 11s [INFO] running `Command { std: "docker" "inspect" "2d5736c57afadd32588a0287da2ab6ef2fc8d262982fe12f2dd8eeaaaa24fa7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d5736c57afadd32588a0287da2ab6ef2fc8d262982fe12f2dd8eeaaaa24fa7c", kill_on_drop: false }` [INFO] [stdout] 2d5736c57afadd32588a0287da2ab6ef2fc8d262982fe12f2dd8eeaaaa24fa7c [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e6d19b418a972bc4f12e00cdacc1e5518e5deff3067ec5868423f53314acc891 [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" "e6d19b418a972bc4f12e00cdacc1e5518e5deff3067ec5868423f53314acc891", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.68s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/cargo_contract-c3eaf9b7d29a9caf [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test cmd::new::tests::rejects_hyphenated_name ... ok [INFO] [stdout] test workspace::profile::tests::merge_profile_inserts_preferred_defaults ... ok [INFO] [stdout] test workspace::profile::tests::merge_profile_preserves_user_defined_settings ... ok [INFO] [stdout] test cmd::new::tests::contract_cargo_project_already_exists ... ok [INFO] [stdout] test cmd::new::tests::dont_overwrite_existing_files_not_in_cargo_project ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e6d19b418a972bc4f12e00cdacc1e5518e5deff3067ec5868423f53314acc891", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6d19b418a972bc4f12e00cdacc1e5518e5deff3067ec5868423f53314acc891", kill_on_drop: false }` [INFO] [stdout] e6d19b418a972bc4f12e00cdacc1e5518e5deff3067ec5868423f53314acc891