[INFO] updating cached repository https://github.com/SnakeSolid/rust-pgrestore-web [INFO] running `"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"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] c5ed837a34361e789923bf0153a31675709a4d6e [INFO] testing SnakeSolid/rust-pgrestore-web against master#28742a1146f10a4f09369baad027a464acb7a766 for pr-71274 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSnakeSolid%2Frust-pgrestore-web" "/workspace/builds/worker-8/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SnakeSolid/rust-pgrestore-web on toolchain 28742a1146f10a4f09369baad027a464acb7a766 [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/SnakeSolid/rust-pgrestore-web [INFO] finished tweaking git repo https://github.com/SnakeSolid/rust-pgrestore-web [INFO] tweaked toml for git repo https://github.com/SnakeSolid/rust-pgrestore-web written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/SnakeSolid/rust-pgrestore-web already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-8/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=forbid" "-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" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] cfcede37a6e64cb9c5a51bfa88ecd5579946fd8861f81dca862b73d9b8d6e475 [INFO] running `"docker" "start" "-a" "cfcede37a6e64cb9c5a51bfa88ecd5579946fd8861f81dca862b73d9b8d6e475"` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling futures v0.1.29 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling modifier v0.1.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling failure_derive v0.1.7 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling safemem v0.2.0 [INFO] [stderr] Compiling md5 v0.3.8 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling fallible-iterator v0.1.6 [INFO] [stderr] Compiling sequence_trie v0.3.6 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling hex v0.2.0 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling route-recognizer v0.1.13 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling try_from v0.3.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling error-chain v0.12.2 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling openssl-sys v0.9.55 [INFO] [stderr] Compiling block-buffer v0.3.3 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling yaml-rust v0.4.3 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling base64 v0.6.0 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling generic-array v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling plugin v0.2.6 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling digest v0.7.6 [INFO] [stderr] Compiling crypto-mac v0.5.2 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling sha2 v0.7.1 [INFO] [stderr] Compiling hmac v0.5.0 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling backtrace-sys v0.1.36 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling flate2 v1.0.14 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling backtrace v0.3.46 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling cookie v0.12.0 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling postgres-protocol v0.3.2 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Compiling postgres-shared v0.4.2 [INFO] [stderr] Compiling publicsuffix v1.5.4 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Compiling postgres v0.15.2 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling iron v0.6.1 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling mount v0.4.0 [INFO] [stderr] Compiling iron-cors v0.8.0 [INFO] [stderr] Compiling router v0.6.0 [INFO] [stderr] Compiling structopt v0.2.18 [INFO] [stderr] Compiling staticfile v0.5.0 [INFO] [stderr] Compiling failure v0.1.7 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.51 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling serde_yaml v0.8.11 [INFO] [stderr] Compiling cookie_store v0.7.0 [INFO] [stderr] Compiling reqwest v0.9.24 [INFO] [stderr] Compiling pgrestore-web v0.1.5 (/opt/rustwide/workdir) [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/http/mod.rs:46:56 [INFO] [stderr] | [INFO] [stderr] 46 | let mut builder = Client::builder().gzip(true);; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/worker/restore/command.rs:19:19 [INFO] [stderr] | [INFO] [stderr] 19 | settings: &'a WorkerSettings, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn WorkerSettings` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/worker/restore/command.rs:23:44 [INFO] [stderr] | [INFO] [stderr] 23 | pub fn new(jobid: usize, settings: &'a WorkerSettings) -> WorkerCommand<'a> { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn WorkerSettings` [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 53s [INFO] running `"docker" "inspect" "cfcede37a6e64cb9c5a51bfa88ecd5579946fd8861f81dca862b73d9b8d6e475"` [INFO] running `"docker" "rm" "-f" "cfcede37a6e64cb9c5a51bfa88ecd5579946fd8861f81dca862b73d9b8d6e475"` [INFO] [stdout] cfcede37a6e64cb9c5a51bfa88ecd5579946fd8861f81dca862b73d9b8d6e475 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=forbid" "-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" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 83842badc4f60acb17188a265b9b8fc1c211a7303a35ca4e410d02d10c4060f0 [INFO] running `"docker" "start" "-a" "83842badc4f60acb17188a265b9b8fc1c211a7303a35ca4e410d02d10c4060f0"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling pgrestore-web v0.1.5 (/opt/rustwide/workdir) [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/http/mod.rs:46:56 [INFO] [stderr] | [INFO] [stderr] 46 | let mut builder = Client::builder().gzip(true);; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/worker/restore/command.rs:19:19 [INFO] [stderr] | [INFO] [stderr] 19 | settings: &'a WorkerSettings, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn WorkerSettings` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/worker/restore/command.rs:23:44 [INFO] [stderr] | [INFO] [stderr] 23 | pub fn new(jobid: usize, settings: &'a WorkerSettings) -> WorkerCommand<'a> { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn WorkerSettings` [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 8.35s [INFO] running `"docker" "inspect" "83842badc4f60acb17188a265b9b8fc1c211a7303a35ca4e410d02d10c4060f0"` [INFO] running `"docker" "rm" "-f" "83842badc4f60acb17188a265b9b8fc1c211a7303a35ca4e410d02d10c4060f0"` [INFO] [stdout] 83842badc4f60acb17188a265b9b8fc1c211a7303a35ca4e410d02d10c4060f0 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=forbid" "-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" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6208254217a9ac9800f5a6c574b1dfff44741bf85d70135fb2930e15a984962c [INFO] running `"docker" "start" "-a" "6208254217a9ac9800f5a6c574b1dfff44741bf85d70135fb2930e15a984962c"` [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/http/mod.rs:46:56 [INFO] [stderr] | [INFO] [stderr] 46 | let mut builder = Client::builder().gzip(true);; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/worker/restore/command.rs:19:19 [INFO] [stderr] | [INFO] [stderr] 19 | settings: &'a WorkerSettings, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn WorkerSettings` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/worker/restore/command.rs:23:44 [INFO] [stderr] | [INFO] [stderr] 23 | pub fn new(jobid: usize, settings: &'a WorkerSettings) -> WorkerCommand<'a> { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn WorkerSettings` [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.79s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/pgrestore_web-3c8d53d2e3746a18 [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test pathmanager::tests::query_shold_return_empty ... ok [INFO] [stdout] test pathmanager::tests::query_shold_add_path_only_once ... ok [INFO] [stdout] test pathmanager::tests::query_shold_return_only_matched ... ok [INFO] [stdout] test pathmanager::tests::clear_shold_retain_path ... ok [INFO] [stdout] test pathmanager::tests::query_shold_return_matched ... ok [INFO] [stdout] test pathmanager::tests::query_shold_return_n_results ... ok [INFO] [stdout] test worker::restore::entity::tests::should_parse_empty_string_to_empty ... ok [INFO] [stdout] test pathmanager::tests::query_shold_return_relevant_paths ... ok [INFO] [stdout] test worker::restore::entity::tests::should_remove_duplicate_schema_names ... ok [INFO] [stdout] test worker::restore::entity::tests::should_remove_duplicated_tables ... ok [INFO] [stdout] test worker::restore::entity::tests::should_parse_schema_name_to_schema ... ok [INFO] [stdout] test worker::restore::entity::tests::should_remove_duplicate_table_schemas ... ok [INFO] [stdout] test worker::restore::entity::tests::should_parse_string_vector_to_entities ... ok [INFO] [stdout] test worker::restore::entity::tests::should_parse_schema_dot_table_to_table ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `"docker" "inspect" "6208254217a9ac9800f5a6c574b1dfff44741bf85d70135fb2930e15a984962c"` [INFO] running `"docker" "rm" "-f" "6208254217a9ac9800f5a6c574b1dfff44741bf85d70135fb2930e15a984962c"` [INFO] [stdout] 6208254217a9ac9800f5a6c574b1dfff44741bf85d70135fb2930e15a984962c