[INFO] cloning repository https://github.com/RafaelBM91/rust-crud [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RafaelBM91/rust-crud" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRafaelBM91%2Frust-crud", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRafaelBM91%2Frust-crud'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 373716fc3fcd5c5e206099aa46bd3f0f1f2ca69b [INFO] testing RafaelBM91/rust-crud against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRafaelBM91%2Frust-crud" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RafaelBM91/rust-crud on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/RafaelBM91/rust-crud [INFO] finished tweaking git repo https://github.com/RafaelBM91/rust-crud [INFO] tweaked toml for git repo https://github.com/RafaelBM91/rust-crud written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/RafaelBM91/rust-crud already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "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] d1f7bb7b9456c5234f797e699527f769ef6333a10c8cf92950e650419d50766d [INFO] running `Command { std: "docker" "start" "-a" "d1f7bb7b9456c5234f797e699527f769ef6333a10c8cf92950e650419d50766d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1f7bb7b9456c5234f797e699527f769ef6333a10c8cf92950e650419d50766d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1f7bb7b9456c5234f797e699527f769ef6333a10c8cf92950e650419d50766d", kill_on_drop: false }` [INFO] [stdout] d1f7bb7b9456c5234f797e699527f769ef6333a10c8cf92950e650419d50766d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9009a694f72c8f87d1a2b050b83d0ab1ec06bde6e6d4de79c728ec68264266bd [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" "9009a694f72c8f87d1a2b050b83d0ab1ec06bde6e6d4de79c728ec68264266bd", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.54 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling smallvec v0.6.9 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling cfg-if v0.1.7 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling safemem v0.3.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling serde v1.0.91 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling httparse v1.3.3 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling ryu v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling modifier v0.1.0 [INFO] [stderr] Compiling syn v0.15.34 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling byte-tools v0.2.0 [INFO] [stderr] Compiling arrayref v0.3.5 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling regex v1.1.6 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling constant_time_eq v0.1.3 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling md5 v0.3.8 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling try_from v0.2.2 [INFO] [stderr] Compiling bufstream v0.1.4 [INFO] [stderr] Compiling sequence_trie v0.3.6 [INFO] [stderr] Compiling data-encoding v2.1.2 [INFO] [stderr] Compiling separator v0.3.1 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling unicode-normalization v0.1.8 [INFO] [stderr] Compiling regex-syntax v0.6.6 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling block-buffer v0.3.3 [INFO] [stderr] Compiling semver v0.8.0 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling plugin v0.2.6 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling aho-corasick v0.7.3 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling num_cpus v1.10.0 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling hostname v0.1.5 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling generic-array v0.9.0 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling digest v0.7.6 [INFO] [stderr] Compiling crypto-mac v0.6.2 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling sha2 v0.7.1 [INFO] [stderr] Compiling sha-1 v0.7.0 [INFO] [stderr] Compiling md-5 v0.7.0 [INFO] [stderr] Compiling hmac v0.6.3 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling pbkdf2 v0.2.3 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling mime_guess v1.8.7 [INFO] [stderr] Compiling scan_fmt v0.1.3 [INFO] [stderr] Compiling serde_derive v1.0.91 [INFO] [stderr] Compiling iron v0.6.0 [INFO] [stderr] Compiling indexmap v1.0.2 [INFO] [stderr] Compiling persistent v0.4.0 [INFO] [stderr] Compiling logger v0.4.0 [INFO] [stderr] Compiling mount v0.4.0 [INFO] [stderr] Compiling serde_json v1.0.39 [INFO] [stderr] Compiling bodyparser v0.8.0 [INFO] [stderr] Compiling bson v0.13.0 [INFO] [stderr] Compiling urlencoded v0.6.0 [INFO] [stderr] Compiling juniper_codegen v0.11.1 [INFO] [stderr] Compiling textnonce v0.6.5 [INFO] [stderr] Compiling mongodb v0.3.12 [INFO] [stderr] Compiling juniper v0.11.1 [INFO] [stderr] Compiling juniper_iron v0.3.0 [INFO] [stderr] Compiling rust-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/mongo.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | (value.as_null() == None) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/server.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | fn context_factory(req: &mut Request) -> IronResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert_doc_operation` [INFO] [stdout] --> src/mongo.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn insert_doc_operation (mut document: OrderedDocument) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 38s [INFO] running `Command { std: "docker" "inspect" "9009a694f72c8f87d1a2b050b83d0ab1ec06bde6e6d4de79c728ec68264266bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9009a694f72c8f87d1a2b050b83d0ab1ec06bde6e6d4de79c728ec68264266bd", kill_on_drop: false }` [INFO] [stdout] 9009a694f72c8f87d1a2b050b83d0ab1ec06bde6e6d4de79c728ec68264266bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9aab6098f2978a5b3f75846130ed7851290858ad2f2dd80ac5ffb0fae1a42269 [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" "9aab6098f2978a5b3f75846130ed7851290858ad2f2dd80ac5ffb0fae1a42269", kill_on_drop: false }` [INFO] [stderr] Compiling rust-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/mongo.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | (value.as_null() == None) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/server.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | fn context_factory(req: &mut Request) -> IronResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert_doc_operation` [INFO] [stdout] --> src/mongo.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn insert_doc_operation (mut document: OrderedDocument) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.74s [INFO] running `Command { std: "docker" "inspect" "9aab6098f2978a5b3f75846130ed7851290858ad2f2dd80ac5ffb0fae1a42269", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9aab6098f2978a5b3f75846130ed7851290858ad2f2dd80ac5ffb0fae1a42269", kill_on_drop: false }` [INFO] [stdout] 9aab6098f2978a5b3f75846130ed7851290858ad2f2dd80ac5ffb0fae1a42269 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cb277410c59d314758a571a95067f268c558bb1d302d22eefdc98f54ec927b41 [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" "cb277410c59d314758a571a95067f268c558bb1d302d22eefdc98f54ec927b41", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/mongo.rs:30:13 [INFO] [stderr] | [INFO] [stderr] 30 | (value.as_null() == None) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req` [INFO] [stderr] --> src/server.rs:16:20 [INFO] [stderr] | [INFO] [stderr] 16 | fn context_factory(req: &mut Request) -> IronResult<()> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `insert_doc_operation` [INFO] [stderr] --> src/mongo.rs:62:12 [INFO] [stderr] | [INFO] [stderr] 62 | pub fn insert_doc_operation (mut document: OrderedDocument) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/rust_test-6701805e77b90a43 [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 [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "cb277410c59d314758a571a95067f268c558bb1d302d22eefdc98f54ec927b41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb277410c59d314758a571a95067f268c558bb1d302d22eefdc98f54ec927b41", kill_on_drop: false }` [INFO] [stdout] cb277410c59d314758a571a95067f268c558bb1d302d22eefdc98f54ec927b41