[INFO] cloning repository https://github.com/erikjohnston/rust-synapse-compress-state [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/erikjohnston/rust-synapse-compress-state" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferikjohnston%2Frust-synapse-compress-state", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferikjohnston%2Frust-synapse-compress-state'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d32f49303b60305640791e698dc869208e6eb6a0 [INFO] testing erikjohnston/rust-synapse-compress-state against beta-2021-09-08 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferikjohnston%2Frust-synapse-compress-state" "/workspace/builds/worker-46/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-46/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/erikjohnston/rust-synapse-compress-state on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/erikjohnston/rust-synapse-compress-state [INFO] finished tweaking git repo https://github.com/erikjohnston/rust-synapse-compress-state [INFO] tweaked toml for git repo https://github.com/erikjohnston/rust-synapse-compress-state written to /workspace/builds/worker-46/source/Cargo.toml [INFO] crate git repo https://github.com/erikjohnston/rust-synapse-compress-state already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/matrix-org/rust-matrix-state-map` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-openssl v0.6.2 [INFO] [stderr] Downloaded postgres-types v0.2.1 [INFO] [stderr] Downloaded postgres v0.19.1 [INFO] [stderr] Downloaded postgres-protocol v0.6.1 [INFO] [stderr] Downloaded tokio-postgres v0.7.2 [INFO] [stderr] Downloaded jemallocator v0.3.2 [INFO] [stderr] Downloaded postgres-openssl v0.5.0 [INFO] [stderr] Downloaded jemalloc-sys v0.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-46/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-46/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 182b99b0992e9bd3c8239589e477f469285ab2ca6c20352745e1567b35007795 [INFO] running `Command { std: "docker" "start" "-a" "182b99b0992e9bd3c8239589e477f469285ab2ca6c20352745e1567b35007795", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "182b99b0992e9bd3c8239589e477f469285ab2ca6c20352745e1567b35007795", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "182b99b0992e9bd3c8239589e477f469285ab2ca6c20352745e1567b35007795", kill_on_drop: false }` [INFO] [stdout] 182b99b0992e9bd3c8239589e477f469285ab2ca6c20352745e1567b35007795 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-46/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-46/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 782306caa488efba6ebfc530831decd5e44a696966986a64e660adb6c736339a [INFO] running `Command { std: "docker" "start" "-a" "782306caa488efba6ebfc530831decd5e44a696966986a64e660adb6c736339a", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-sink v0.3.15 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling pyo3-build-config v0.14.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling cpufeatures v0.1.5 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling siphasher v0.3.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Compiling fs_extra v1.2.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling unindent v0.1.7 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling tokio-openssl v0.6.2 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling state-map v0.1.0 (https://github.com/matrix-org/rust-matrix-state-map#211343e8) [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling tokio v1.8.1 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Compiling jemalloc-sys v0.3.2 [INFO] [stderr] Compiling pyo3 v0.14.1 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling console v0.14.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling paste v0.1.18 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling indicatif v0.16.2 [INFO] [stderr] Compiling postgres-protocol v0.6.1 [INFO] [stderr] Compiling postgres-types v0.2.1 [INFO] [stderr] Compiling string_cache v0.8.1 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling pyo3-macros-backend v0.14.1 [INFO] [stderr] Compiling indoc-impl v0.3.6 [INFO] [stderr] Compiling pyo3-macros v0.14.1 [INFO] [stderr] Compiling indoc v0.3.6 [INFO] [stderr] Compiling futures-executor v0.3.15 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Compiling tokio-postgres v0.7.2 [INFO] [stderr] Compiling postgres-openssl v0.5.0 [INFO] [stderr] Compiling postgres v0.19.1 [INFO] [stderr] Compiling jemallocator v0.3.2 [INFO] [stderr] Compiling synapse_compress_state v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 43.38s [INFO] running `Command { std: "docker" "inspect" "782306caa488efba6ebfc530831decd5e44a696966986a64e660adb6c736339a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "782306caa488efba6ebfc530831decd5e44a696966986a64e660adb6c736339a", kill_on_drop: false }` [INFO] [stdout] 782306caa488efba6ebfc530831decd5e44a696966986a64e660adb6c736339a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-46/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-46/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8073d33dad8a24a7b70e2d7e9f310244c0917c890eddc5de4cc25de82d1f6aee [INFO] running `Command { std: "docker" "start" "-a" "8073d33dad8a24a7b70e2d7e9f310244c0917c890eddc5de4cc25de82d1f6aee", kill_on_drop: false }` [INFO] [stderr] Compiling synapse_compress_state v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.47s [INFO] running `Command { std: "docker" "inspect" "8073d33dad8a24a7b70e2d7e9f310244c0917c890eddc5de4cc25de82d1f6aee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8073d33dad8a24a7b70e2d7e9f310244c0917c890eddc5de4cc25de82d1f6aee", kill_on_drop: false }` [INFO] [stdout] 8073d33dad8a24a7b70e2d7e9f310244c0917c890eddc5de4cc25de82d1f6aee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-46/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-46/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0f92cbb50992054da3a108531b7c65fb0a5250f8145fe14aaaa3834d396543e5 [INFO] running `Command { std: "docker" "start" "-a" "0f92cbb50992054da3a108531b7c65fb0a5250f8145fe14aaaa3834d396543e5", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/synapse_compress_state-f21e91334c2cf2b8) [INFO] [stdout] [INFO] [stdout] running 36 tests [INFO] [stdout] test compressor::compressor_tests::compress_creates_correct_compressor ... ok [INFO] [stdout] test compressor::compressor_tests::create_new_tree_does_nothing_if_already_compressed ... ok [INFO] [stdout] test compressor::level_tests::has_space_returns_true_if_empty ... ok [INFO] [stdout] test compressor::level_tests::get_current_returns_current ... ok [INFO] [stdout] test compressor::compressor_tests::create_new_tree_respects_levels ... ok [INFO] [stdout] test compressor::compressor_tests::create_new_tree_respects_all_not_in_range ... ok [INFO] [stdout] test compressor::level_tests::has_space_returns_false_if_full ... ok [INFO] [stdout] test compressor::level_tests::update_adds_to_non_full_level ... ok [INFO] [stdout] test compressor::level_tests::has_space_returns_true_if_part_full ... ok [INFO] [stdout] test compressor::compressor_tests::get_delta_returns_snapshot_if_no_prev_possible ... ok [INFO] [stdout] test compressor::compressor_tests::get_delta_returns_delta_if_original_predecessor ... ok [INFO] [stdout] test compressor::compressor_tests::get_delta_returns_snapshot_if_no_prev_given ... ok [INFO] [stdout] test level_sizes_tests::from_str_produces_correct_sizes ... ok [INFO] [stdout] test compressor::compressor_tests::get_delta_returns_delta_if_original_multi_hop_predecessor ... ok [INFO] [stdout] test compressor::stats_tests::stats_correct_when_no_resets ... ok [INFO] [stdout] test level_sizes_tests::from_str_produces_err_if_not_list_of_numbers ... ok [INFO] [stdout] test compressor::level_tests::update_resets_level_correctly ... ok [INFO] [stdout] test compressor::level_tests::new_produces_empty_level ... ok [INFO] [stdout] test compressor::compressor_tests::create_new_tree_deals_with_impossible_preds ... ok [INFO] [stdout] test compressor::compressor_tests::create_new_tree_respects_some_not_in_range ... ok [INFO] [stdout] test compressor::stats_tests::stats_correct_if_no_changes ... ok [INFO] [stdout] test compressor::stats_tests::stats_correct_when_some_resets ... ok [INFO] [stdout] test database::test_pg_escape ... ok [INFO] [stdout] test lib_tests::collapse_state_maps_works_for_non_snapshot ... ok [INFO] [stdout] test pyo3_tests::new_config_correct_when_things_empty ... ok [INFO] [stdout] test lib_tests::collapse_state_maps_works_for_snapshot ... ok [INFO] [stdout] test pyo3_tests::new_config_correct_when_things_not_empty ... ok [INFO] [stdout] test lib_tests::check_that_maps_match_returns_if_just_old_map_is_empty ... ok [INFO] [stdout] test lib_tests::check_that_maps_match_returns_if_both_empty ... ok [INFO] [stdout] test lib_tests::check_that_maps_match_returns_if_no_changes ... ok [INFO] [stdout] test lib_tests::check_that_maps_match_returns_if_same_states_but_different_structure ... ok [INFO] [stdout] test compressor::compressor_tests::create_new_tree_panics_if_run_twice - should panic ... ok [INFO] [stdout] test compressor::level_tests::update_panics_if_adding_and_too_full - should panic ... ok [INFO] [stdout] test lib_tests::collapse_state_maps_panics_if_pred_not_in_map - should panic ... ok [INFO] [stdout] test lib_tests::check_that_maps_match_panics_if_just_new_map_is_empty - should panic ... ok [INFO] [stdout] test lib_tests::check_that_maps_match_panics_if_same_preds_but_different_deltas - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 36 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.15s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/synapse_compress_state-08e0b5067a3d3ff8) [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 synapse_compress_state [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/compressor.rs - compressor (line 26) ... ignored [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0f92cbb50992054da3a108531b7c65fb0a5250f8145fe14aaaa3834d396543e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f92cbb50992054da3a108531b7c65fb0a5250f8145fe14aaaa3834d396543e5", kill_on_drop: false }` [INFO] [stdout] 0f92cbb50992054da3a108531b7c65fb0a5250f8145fe14aaaa3834d396543e5