[INFO] cloning repository https://github.com/Emurgo/cddl-codegen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Emurgo/cddl-codegen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEmurgo%2Fcddl-codegen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEmurgo%2Fcddl-codegen'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] af5b0c302b2e51561ecc0e68a84c851b491c6d5f [INFO] testing Emurgo/cddl-codegen against master#5d5ff84130da0d74c6ece368dbe821d8f83fa526 for pr-79296 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEmurgo%2Fcddl-codegen" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Emurgo/cddl-codegen on toolchain 5d5ff84130da0d74c6ece368dbe821d8f83fa526 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Emurgo/cddl-codegen [INFO] finished tweaking git repo https://github.com/Emurgo/cddl-codegen [INFO] tweaked toml for git repo https://github.com/Emurgo/cddl-codegen written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/Emurgo/cddl-codegen already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 00d361951c2b46e986a7bdaf66fe153d90350caff44c9c782d71684f29ee874c [INFO] running `Command { std: "docker" "start" "-a" "00d361951c2b46e986a7bdaf66fe153d90350caff44c9c782d71684f29ee874c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "00d361951c2b46e986a7bdaf66fe153d90350caff44c9c782d71684f29ee874c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00d361951c2b46e986a7bdaf66fe153d90350caff44c9c782d71684f29ee874c", kill_on_drop: false }` [INFO] [stdout] 00d361951c2b46e986a7bdaf66fe153d90350caff44c9c782d71684f29ee874c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f7486349c35a74c0f2ad23f473ec99c9dc347ff85d41011c659f67ffb808453d [INFO] running `Command { std: "docker" "start" "-a" "f7486349c35a74c0f2ad23f473ec99c9dc347ff85d41011c659f67ffb808453d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling half v1.4.1 [INFO] [stderr] Compiling regex-syntax v0.6.14 [INFO] [stderr] Compiling base16 v0.2.1 [INFO] [stderr] Compiling annotate-snippets v0.7.0 [INFO] [stderr] Compiling cbor_event v2.1.3 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling lexical-core v0.6.7 [INFO] [stderr] Compiling lexical v4.2.0 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling codegen v0.1.1 [INFO] [stderr] Compiling crossterm_utils v0.2.4 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling crossterm_cursor v0.2.6 [INFO] [stderr] Compiling crossterm_screen v0.2.5 [INFO] [stderr] Compiling crossterm_style v0.3.3 [INFO] [stderr] Compiling crossterm_input v0.3.9 [INFO] [stderr] Compiling crossterm_terminal v0.2.6 [INFO] [stderr] Compiling crossterm v0.9.6 [INFO] [stderr] Compiling chrono v0.4.10 [INFO] [stderr] Compiling regex v1.3.4 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling serde_cbor v0.10.2 [INFO] [stderr] Compiling serde_json v1.0.48 [INFO] [stderr] Compiling cddl v0.5.2 [INFO] [stderr] Compiling cddl_test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:2191:10 [INFO] [stdout] | [INFO] [stdout] 2191 | let (mut ser_func, mut ser_impl, mut ser_embedded_impl) = [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cbor_len_info` [INFO] [stdout] --> src/main.rs:629:8 [INFO] [stdout] | [INFO] [stdout] 629 | fn cbor_len_info(&self, global: &GlobalScope) -> RustStructCBORLen { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 42s [INFO] running `Command { std: "docker" "inspect" "f7486349c35a74c0f2ad23f473ec99c9dc347ff85d41011c659f67ffb808453d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7486349c35a74c0f2ad23f473ec99c9dc347ff85d41011c659f67ffb808453d", kill_on_drop: false }` [INFO] [stdout] f7486349c35a74c0f2ad23f473ec99c9dc347ff85d41011c659f67ffb808453d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 60af0a69f03f09bb0cbd3df1a3a1d581a210189896d2c85755ed7161d83c08cc [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" "60af0a69f03f09bb0cbd3df1a3a1d581a210189896d2c85755ed7161d83c08cc", kill_on_drop: false }` [INFO] [stderr] Compiling cddl_test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:2191:10 [INFO] [stdout] | [INFO] [stdout] 2191 | let (mut ser_func, mut ser_impl, mut ser_embedded_impl) = [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cbor_len_info` [INFO] [stdout] --> src/main.rs:629:8 [INFO] [stdout] | [INFO] [stdout] 629 | fn cbor_len_info(&self, global: &GlobalScope) -> RustStructCBORLen { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.19s [INFO] running `Command { std: "docker" "inspect" "60af0a69f03f09bb0cbd3df1a3a1d581a210189896d2c85755ed7161d83c08cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60af0a69f03f09bb0cbd3df1a3a1d581a210189896d2c85755ed7161d83c08cc", kill_on_drop: false }` [INFO] [stdout] 60af0a69f03f09bb0cbd3df1a3a1d581a210189896d2c85755ed7161d83c08cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 574046a9cfaf674698e1f97da4bc8e2742c5599d582da238314524fbeef6de3d [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" "574046a9cfaf674698e1f97da4bc8e2742c5599d582da238314524fbeef6de3d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:2191:10 [INFO] [stderr] | [INFO] [stderr] 2191 | let (mut ser_func, mut ser_impl, mut ser_embedded_impl) = [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `cbor_len_info` [INFO] [stderr] --> src/main.rs:629:8 [INFO] [stderr] | [INFO] [stderr] 629 | fn cbor_len_info(&self, global: &GlobalScope) -> RustStructCBORLen { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/cddl_test-1180eb544124f603 [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "574046a9cfaf674698e1f97da4bc8e2742c5599d582da238314524fbeef6de3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "574046a9cfaf674698e1f97da4bc8e2742c5599d582da238314524fbeef6de3d", kill_on_drop: false }` [INFO] [stdout] 574046a9cfaf674698e1f97da4bc8e2742c5599d582da238314524fbeef6de3d