others already said that l'Hopital requires existence of the limit of the ratio of the derivatives;
However in addition, with a solid understanding of limit definition is still possible to prove solution applying De l'Hopital, but not to that function, think about this:
$$\lim_{x \to +\infty} \frac{x}{x+1} \leq \lim_{x \to +\infty} \frac{x}{x-\sin(x)} \leq \lim_{x \to +\infty} \frac{x}{x-1}$$
condensed considering also $-\infty$ with
$$\lim_{x \to \infty} \frac{x}{x+sig(x)} \leq \lim_{x \to \infty} \frac{x}{x+\sin(x)} \leq \lim_{x \to \infty} \frac{x}{x-sig(x)}$$
where
$$sig(x)=\left\{
\begin{matrix}
0 & x=0\\
\frac{|x|}x & x\ne 0
\end{matrix}
\right.$$
prove the above while apply l'Hopital to
$$\lim_{x \to \infty} \frac{x}{x\pm 1}$$
the squeezing inequities are true after a certain G, formally $\exists G / \forall x\in\Re,|x|>G : \frac{x}{x+sig(x)} \leq \frac{x}{x+\sin(x)} \leq \frac{x}{x-sig(x)}$
applying the limit definition to $x \over x+sin(x)$ the starting point M selecting all x>M has to be greater or equal than G (simply require $M\geq G$), in this case M=G is great enough to say that the limit is the same 1.
More formally (I actually didn't find an online pointable suitable formal definition of $\lim_{x\to\infty}$, so I'm making it up)
$$\lim_{x \to \infty} f(x) = r\in \{\Re, -\infty, +\infty, NaN\} / \\
\exists r \in \Re : \forall \epsilon \in \Re, \epsilon>0: \exists M \in \Re : \forall x \in \Re, |x| > M : |f(x)-r|<\epsilon \\
\lor r=\infty, omissis \\
\lor r=+\infty, omissis \\
\lor r=-\infty, omissis \\
\lor r=NaN, omissis. $$
(r as abbreviation of response, NaN (not a number) is when the limit doesn't exists and $\lor$ is in this case a shortcut or).
think of names
$f(x)=\frac{x}{x+\sin(x)}$
$g(x)=\frac{x}{x \pm 1}$, and when the definition of limit is used with g(x) the lower bound M is called G
from the evident property
$\exists G' \in \Re^+ | \forall x \in \Re, |x|>G' : x-1 \leq x+\sin(x) \leq x+1$
$\Rightarrow \exists G \in \Re^+ | \forall x \in \Re, |x|>G : \frac{x}{x+sig(x)} \leq \frac{x}{x+\sin(x)} \leq \frac{x}{x-sig(x)}$
$$\lim_{x \to \infty} \frac{x}{x\pm 1} \underleftarrow{=(?H)= \lim_{x \to +\infty} \frac{\frac{d}{dx} x}{\frac{d}{dx}(x \pm 1)} = \lim_{x \to +\infty} \frac{1}{1 \pm 0}=1}$$
the existence of this limits (they are two, due to $\pm$) ensures that
$\forall \epsilon \in \Re, \epsilon>0: \exists G \in \Re : \forall x \in \Re, |x| > G : |g(x)-r|<\epsilon$
Choosing $M \geq G$ ($M$ is the lower bound in the definition of limit for $f(x)$)
$$ \Rightarrow
\lim_{x \to \infty} f(x)=1$$