[INFO] cloning repository https://github.com/syrupofplum/rustcommon [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/syrupofplum/rustcommon" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsyrupofplum%2Frustcommon", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsyrupofplum%2Frustcommon'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2131b312c38f2eb185b00a2806f81bcdac5f7f85 [INFO] checking syrupofplum/rustcommon against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsyrupofplum%2Frustcommon" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/syrupofplum/rustcommon on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/syrupofplum/rustcommon [INFO] finished tweaking git repo https://github.com/syrupofplum/rustcommon [INFO] tweaked toml for git repo https://github.com/syrupofplum/rustcommon written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/syrupofplum/rustcommon already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ahash v0.5.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c7545d3baaab173691f64578fdb1919c02565ffe9d998e8e21a2deacb13e1f3d [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" "c7545d3baaab173691f64578fdb1919c02565ffe9d998e8e21a2deacb13e1f3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c7545d3baaab173691f64578fdb1919c02565ffe9d998e8e21a2deacb13e1f3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7545d3baaab173691f64578fdb1919c02565ffe9d998e8e21a2deacb13e1f3d", kill_on_drop: false }` [INFO] [stdout] c7545d3baaab173691f64578fdb1919c02565ffe9d998e8e21a2deacb13e1f3d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4838f41b948d7d884dbb2a0390539f80f75a312ee25ddb8ce1b8cb94da920d3b [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" "4838f41b948d7d884dbb2a0390539f80f75a312ee25ddb8ce1b8cb94da920d3b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking futures-io v0.3.8 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling serde_json v1.0.60 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking pin-project-lite v0.1.11 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking net2 v0.2.36 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking signal-hook-registry v1.2.2 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Checking tokio v0.2.23 [INFO] [stderr] Checking pin-project v1.0.2 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking futures-executor v0.3.8 [INFO] [stderr] Checking futures v0.3.8 [INFO] [stderr] Checking rustcommon v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `rustcommon::httpaccessor` [INFO] [stdout] --> tests/test_http.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rustcommon::httpaccessor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ no `httpaccessor` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/test_http.rs:7:93 [INFO] [stdout] | [INFO] [stdout] 7 | let resp_wrapper_result = httpaccessor::HttpAccessor::async_get("http://www.baidu.com", 10).await; [INFO] [stdout] | ^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/test_http.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | let resp_wrapper_result = httpaccessor::HttpAccessor::async_get("http://www.baidu.com", 10).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/test_http.rs:21:136 [INFO] [stdout] | [INFO] [stdout] 21 | ...p://www.baidu.com", "http://www.taobao.com"], 10).await; [INFO] [stdout] | ^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/test_http.rs:21:36 [INFO] [stdout] | [INFO] [stdout] 21 | ...st_result = httpaccessor::HttpAccessor::async_multi_get(&vec!["http://www.baidu.com", "http://www.taobao.com"], 10).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0698. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustcommon` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `rustcommon::redisaccessor_async` [INFO] [stdout] --> tests/test_redis.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rustcommon::redisaccessor_async; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `redisaccessor_async` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log::kv` [INFO] [stdout] --> tests/test_redis.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | use log::kv::Source; [INFO] [stdout] | ^^ could not find `kv` in `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rustcommon::mysqlaccessor_async` [INFO] [stdout] --> tests/test_mysql.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rustcommon::mysqlaccessor_async; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `mysqlaccessor_async` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sqlx` [INFO] [stdout] --> tests/test_mysql.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use sqlx::Row; [INFO] [stdout] | ^^^^ use of undeclared crate or module `sqlx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/test_redis.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | let dataset = vec![("test1".to_string(), "jjj".to_string(), 300), ("test2".to_string(), "kkk".to_string(), 300)]; [INFO] [stdout] | ^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/test_redis.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 33 | let rst = redisaccessor.multi_setex(dataset).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/test_redis.rs:33:41 [INFO] [stdout] | [INFO] [stdout] 33 | let rst = redisaccessor.multi_setex(dataset).await; [INFO] [stdout] | ^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/test_redis.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 33 | let rst = redisaccessor.multi_setex(dataset).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/test_redis.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let dataset = vec![("test1_nx".to_string(), "jjj2".to_string(), 300), ("test2_nx".to_string(), "kkk2".to_string(), 360)]; [INFO] [stdout] | ^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/test_redis.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | let rst = redisaccessor.multi_setnx_expire(dataset).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/test_redis.rs:45:48 [INFO] [stdout] | [INFO] [stdout] 45 | let rst = redisaccessor.multi_setnx_expire(dataset).await; [INFO] [stdout] | ^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/test_redis.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | let rst = redisaccessor.multi_setnx_expire(dataset).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0698. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "4838f41b948d7d884dbb2a0390539f80f75a312ee25ddb8ce1b8cb94da920d3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4838f41b948d7d884dbb2a0390539f80f75a312ee25ddb8ce1b8cb94da920d3b", kill_on_drop: false }` [INFO] [stdout] 4838f41b948d7d884dbb2a0390539f80f75a312ee25ddb8ce1b8cb94da920d3b