[INFO] cloning repository https://github.com/MartinN13/chatwork_client [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MartinN13/chatwork_client" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMartinN13%2Fchatwork_client", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMartinN13%2Fchatwork_client'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bb008e0d8afe2f7dccd7c2431a32903ce699f5be [INFO] testing MartinN13/chatwork_client against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMartinN13%2Fchatwork_client" "/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/MartinN13/chatwork_client 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/MartinN13/chatwork_client [INFO] finished tweaking git repo https://github.com/MartinN13/chatwork_client [INFO] tweaked toml for git repo https://github.com/MartinN13/chatwork_client written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/MartinN13/chatwork_client 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] 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" "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] 0e402d6b2c1bf19001ccf9a26f0fe5f0cfdd8229db506726f1e84322fa5bc824 [INFO] running `Command { std: "docker" "start" "-a" "0e402d6b2c1bf19001ccf9a26f0fe5f0cfdd8229db506726f1e84322fa5bc824", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e402d6b2c1bf19001ccf9a26f0fe5f0cfdd8229db506726f1e84322fa5bc824", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e402d6b2c1bf19001ccf9a26f0fe5f0cfdd8229db506726f1e84322fa5bc824", kill_on_drop: false }` [INFO] [stdout] 0e402d6b2c1bf19001ccf9a26f0fe5f0cfdd8229db506726f1e84322fa5bc824 [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" "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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4b2b9b143b39da673890e106eaf5a007452d1efa6101d14fdac962d5e2e80a40 [INFO] running `Command { std: "docker" "start" "-a" "4b2b9b143b39da673890e106eaf5a007452d1efa6101d14fdac962d5e2e80a40", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling futures-core v0.3.1 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling pin-project-lite v0.1.4 [INFO] [stderr] Compiling openssl v0.10.26 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling futures-task v0.3.1 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling futures-io v0.3.1 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling smallvec v1.1.0 [INFO] [stderr] Compiling futures-sink v0.3.1 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling dtoa v0.4.4 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling indexmap v1.3.1 [INFO] [stderr] Compiling futures-channel v0.3.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling http v0.2.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling futures-util v0.3.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling mime_guess v2.0.1 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling openssl-sys v0.9.53 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling tokio v0.2.11 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling h2 v0.2.1 [INFO] [stderr] Compiling tokio-tls v0.3.0 [INFO] [stderr] Compiling serde_json v1.0.45 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling pin-project-internal v0.4.8 [INFO] [stderr] Compiling pin-project v0.4.8 [INFO] [stderr] Compiling hyper v0.13.1 [INFO] [stderr] Compiling hyper-tls v0.4.1 [INFO] [stderr] Compiling reqwest v0.10.1 [INFO] [stderr] Compiling chatwork_client v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 13s [INFO] running `Command { std: "docker" "inspect" "4b2b9b143b39da673890e106eaf5a007452d1efa6101d14fdac962d5e2e80a40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b2b9b143b39da673890e106eaf5a007452d1efa6101d14fdac962d5e2e80a40", kill_on_drop: false }` [INFO] [stdout] 4b2b9b143b39da673890e106eaf5a007452d1efa6101d14fdac962d5e2e80a40 [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" "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] f51e7af301fae8dced3641cbb4acc228363928a9fd0f1bcbd00f3af6789c7966 [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" "f51e7af301fae8dced3641cbb4acc228363928a9fd0f1bcbd00f3af6789c7966", kill_on_drop: false }` [INFO] [stderr] Compiling chatwork_client v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.85s [INFO] running `Command { std: "docker" "inspect" "f51e7af301fae8dced3641cbb4acc228363928a9fd0f1bcbd00f3af6789c7966", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f51e7af301fae8dced3641cbb4acc228363928a9fd0f1bcbd00f3af6789c7966", kill_on_drop: false }` [INFO] [stdout] f51e7af301fae8dced3641cbb4acc228363928a9fd0f1bcbd00f3af6789c7966 [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" "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] 85b95287aba79acb94cc79808904c30098d47d1cc744d45a194939f7136712b5 [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" "85b95287aba79acb94cc79808904c30098d47d1cc744d45a194939f7136712b5", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stdout] running 0 tests [INFO] [stderr] Running /opt/rustwide/target/debug/deps/chatwork_client-c091fab7a609aad3 [INFO] [stdout] [INFO] [stderr] Doc-tests chatwork_client [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - (line 40) ... FAILED [INFO] [stdout] test src/lib.rs - (line 12) ... FAILED [INFO] [stdout] test src/lib.rs - (line 49) ... FAILED [INFO] [stdout] test src/lib.rs - (line 21) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 40) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `env` [INFO] [stdout] --> src/lib.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 3 | let token = env::var("CHATWORK_TOKEN").expect("CHATWORK_TOKENを設定してください。"); [INFO] [stdout] | ^^^ use of undeclared type or module `env` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Chatwork` [INFO] [stdout] --> src/lib.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 4 | let chatwork = Chatwork::new(token); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use chatwork_client::Chatwork; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 12) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `env` [INFO] [stdout] --> src/lib.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 3 | let token = env::var("CHATWORK_TOKEN").expect("Please set the CHATWORK_TOKEN enironment variable."); [INFO] [stdout] | ^^^ use of undeclared type or module `env` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Chatwork` [INFO] [stdout] --> src/lib.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 4 | let chatwork = Chatwork::new(token); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use chatwork_client::Chatwork; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 49) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `env` [INFO] [stdout] --> src/lib.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 3 | let token = env::var("CHATWORK_TOKEN").expect("CHATWORK_TOKENを設定してください。"); [INFO] [stdout] | ^^^ use of undeclared type or module `env` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Chatwork` [INFO] [stdout] --> src/lib.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 4 | let chatwork = Chatwork::new(token); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use chatwork_client::Chatwork; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 21) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `env` [INFO] [stdout] --> src/lib.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 3 | let token = env::var("CHATWORK_TOKEN").expect("Please set the CHATWORK_TOKEN enironment variable."); [INFO] [stdout] | ^^^ use of undeclared type or module `env` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Chatwork` [INFO] [stdout] --> src/lib.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 4 | let chatwork = Chatwork::new(token); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use chatwork_client::Chatwork; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 12) [INFO] [stdout] src/lib.rs - (line 21) [INFO] [stdout] src/lib.rs - (line 40) [INFO] [stdout] src/lib.rs - (line 49) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "85b95287aba79acb94cc79808904c30098d47d1cc744d45a194939f7136712b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85b95287aba79acb94cc79808904c30098d47d1cc744d45a194939f7136712b5", kill_on_drop: false }` [INFO] [stdout] 85b95287aba79acb94cc79808904c30098d47d1cc744d45a194939f7136712b5