[INFO] updating cached repository https://github.com/MartinN13/chatwork_client [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] bb008e0d8afe2f7dccd7c2431a32903ce699f5be [INFO] testing MartinN13/chatwork_client against try#41997647ba6a77908f6ef64401414feb00bccf16 for pr-71274 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMartinN13%2Fchatwork_client" "/workspace/builds/worker-0/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MartinN13/chatwork_client on toolchain 41997647ba6a77908f6ef64401414feb00bccf16 [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "read-manifest" "--manifest-path" "Cargo.toml"` [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-0/source/Cargo.toml [INFO] crate git repo https://github.com/MartinN13/chatwork_client already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"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" "/opt/rustwide/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "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] bf6c75869b9895ef19bafabd33ae18e4412981187a3b7a5a23963709c425305a [INFO] running `"docker" "start" "-a" "bf6c75869b9895ef19bafabd33ae18e4412981187a3b7a5a23963709c425305a"` [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 bytes v0.5.4 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling pin-project-lite v0.1.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling smallvec v1.1.0 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling futures-io v0.3.1 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling futures-task v0.3.1 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling http v0.2.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling futures-util v0.3.1 [INFO] [stderr] Compiling indexmap v1.3.1 [INFO] [stderr] Compiling mime_guess v2.0.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 idna v0.2.0 [INFO] [stderr] Compiling openssl-sys v0.9.53 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling openssl v0.10.26 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling tokio v0.2.11 [INFO] [stderr] Compiling http-body v0.3.1 [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_urlencoded v0.6.1 [INFO] [stderr] Compiling serde_json v1.0.45 [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 07s [INFO] running `"docker" "inspect" "bf6c75869b9895ef19bafabd33ae18e4412981187a3b7a5a23963709c425305a"` [INFO] running `"docker" "rm" "-f" "bf6c75869b9895ef19bafabd33ae18e4412981187a3b7a5a23963709c425305a"` [INFO] [stdout] bf6c75869b9895ef19bafabd33ae18e4412981187a3b7a5a23963709c425305a [INFO] running `"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" "/opt/rustwide/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "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] 7baa13420ec33f82b1e3300a0951c03f18ef30bee051fc14fa568502f81f90f6 [INFO] running `"docker" "start" "-a" "7baa13420ec33f82b1e3300a0951c03f18ef30bee051fc14fa568502f81f90f6"` [INFO] [stderr] Compiling chatwork_client v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.59s [INFO] running `"docker" "inspect" "7baa13420ec33f82b1e3300a0951c03f18ef30bee051fc14fa568502f81f90f6"` [INFO] running `"docker" "rm" "-f" "7baa13420ec33f82b1e3300a0951c03f18ef30bee051fc14fa568502f81f90f6"` [INFO] [stdout] 7baa13420ec33f82b1e3300a0951c03f18ef30bee051fc14fa568502f81f90f6 [INFO] running `"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" "/opt/rustwide/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "test" "--frozen"` [INFO] [stdout] 0623ef8528ff7a338eda45e37cbe2b59cfa933a3b2b43a64bdf052a2051633e9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "0623ef8528ff7a338eda45e37cbe2b59cfa933a3b2b43a64bdf052a2051633e9"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.62s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/chatwork_client-8e69cd6fe615f3ea [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] [stderr] Doc-tests chatwork_client [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - (line 49) ... FAILED [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 21) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] | ^^^^^^^^ use of undeclared type or module `Chatwork` [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 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] | ^^^^^^^^ use of undeclared type or module `Chatwork` [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] | ^^^^^^^^ use of undeclared type or module `Chatwork` [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] | ^^^^^^^^ use of undeclared type or module `Chatwork` [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 `"docker" "inspect" "0623ef8528ff7a338eda45e37cbe2b59cfa933a3b2b43a64bdf052a2051633e9"` [INFO] running `"docker" "rm" "-f" "0623ef8528ff7a338eda45e37cbe2b59cfa933a3b2b43a64bdf052a2051633e9"` [INFO] [stdout] 0623ef8528ff7a338eda45e37cbe2b59cfa933a3b2b43a64bdf052a2051633e9