[INFO] fetching crate daml-codegen 0.2.2... [INFO] testing daml-codegen-0.2.2 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate daml-codegen 0.2.2 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate daml-codegen 0.2.2 [INFO] finished tweaking crates.io crate daml-codegen 0.2.2 [INFO] tweaked toml for crates.io crate daml-codegen 0.2.2 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate daml-codegen 0.2.2 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate daml-codegen 0.2.2 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9c05cebc5a9a3aeb9f56568f27d9c99cb97ef6bfe22daa9f42dcff766b2c7af7 [INFO] running `Command { std: "docker" "start" "-a" "9c05cebc5a9a3aeb9f56568f27d9c99cb97ef6bfe22daa9f42dcff766b2c7af7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c05cebc5a9a3aeb9f56568f27d9c99cb97ef6bfe22daa9f42dcff766b2c7af7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c05cebc5a9a3aeb9f56568f27d9c99cb97ef6bfe22daa9f42dcff766b2c7af7", kill_on_drop: false }` [INFO] [stdout] 9c05cebc5a9a3aeb9f56568f27d9c99cb97ef6bfe22daa9f42dcff766b2c7af7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a10ba124b7ac246471cf1a8c6391b281085436e0197228c1917424a7c6872caa [INFO] running `Command { std: "docker" "start" "-a" "a10ba124b7ac246471cf1a8c6391b281085436e0197228c1917424a7c6872caa", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling fixedbitset v0.4.1 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling which v4.2.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling prost-build v0.9.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling petgraph v0.6.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling clap v3.1.6 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling prost-derive v0.9.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling bounded-static-derive v0.2.1 [INFO] [stderr] Compiling bounded-static v0.2.1 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling zip v0.5.13 [INFO] [stderr] Compiling prost v0.9.0 [INFO] [stderr] Compiling prost-types v0.9.0 [INFO] [stderr] Compiling daml-lf v0.2.2 [INFO] [stderr] Compiling daml-codegen v0.2.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 56.49s [INFO] running `Command { std: "docker" "inspect" "a10ba124b7ac246471cf1a8c6391b281085436e0197228c1917424a7c6872caa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a10ba124b7ac246471cf1a8c6391b281085436e0197228c1917424a7c6872caa", kill_on_drop: false }` [INFO] [stdout] a10ba124b7ac246471cf1a8c6391b281085436e0197228c1917424a7c6872caa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 61728d1c0a67486cf39c8ced3215a65e1ffbbb25d1cd9527ad471b46c814ae4f [INFO] running `Command { std: "docker" "start" "-a" "61728d1c0a67486cf39c8ced3215a65e1ffbbb25d1cd9527ad471b46c814ae4f", kill_on_drop: false }` [INFO] [stderr] Compiling daml-codegen v0.2.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.91s [INFO] running `Command { std: "docker" "inspect" "61728d1c0a67486cf39c8ced3215a65e1ffbbb25d1cd9527ad471b46c814ae4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61728d1c0a67486cf39c8ced3215a65e1ffbbb25d1cd9527ad471b46c814ae4f", kill_on_drop: false }` [INFO] [stdout] 61728d1c0a67486cf39c8ced3215a65e1ffbbb25d1cd9527ad471b46c814ae4f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4b831e2bb6a78b66129b8ac65784c830446e554e4f5e45b2ddc8faa4ed1ee8a1 [INFO] running `Command { std: "docker" "start" "-a" "4b831e2bb6a78b66129b8ac65784c830446e554e4f5e45b2ddc8faa4ed1ee8a1", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/daml_codegen-8739f68cfd01e6fc) [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/main.rs (/opt/rustwide/target/debug/deps/daml_codegen-2bf1125cb13cd578) [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] Doc-tests daml_codegen [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/generator/code_generator.rs - generator::code_generator::daml_codegen (line 22) - compile ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4b831e2bb6a78b66129b8ac65784c830446e554e4f5e45b2ddc8faa4ed1ee8a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b831e2bb6a78b66129b8ac65784c830446e554e4f5e45b2ddc8faa4ed1ee8a1", kill_on_drop: false }` [INFO] [stdout] 4b831e2bb6a78b66129b8ac65784c830446e554e4f5e45b2ddc8faa4ed1ee8a1